Mattermost, Inc.

Getting attachments from slash command message

Hi,

I’m writing a plugin that defines a slash command, and I need to access the attachments of the slash command message. In the CommandArgs parameter of the ExecuteCommand hook, there are both RootId and ParentId properties, both of which are not the PostId or FileIds I need.

Is there a way to get to the command message’s attachments?

Would you be open to asking about this on our community server’s Developers channel? Someone from our community will probably know.

I just did, thank you. I had previously asked on ~Toolkit, with no avail but I’ll admit I’m a bit lost about which channel to use when asking for help relating to plugins (I usually go for Toolkit or Peer to Peer help).