Mattermost Peer-to-Peer Forum

Custom commands with attachments

#1

Hi !
Is it possible to get attachment files posted in custom slash commands ?

#2

Hi @gloupmer,

Wondering if this section of our docs might help: https://developers.mattermost.com/integrate/slash-commands/#parameters?

#3

that’s about the command response but what I meant was about receiving the files posted

#4

With the outgoing webhooks there is a field ‘file_ids’ that corresponds to the attachments ids.
But this field is not in custom slash commands.

Is there something to activate to be able to have this field ?