Add attachment application command type #4426
Unanswered
TheKing-OfTime
asked this question in
API Feature Requests & Ideas
Replies: 2 comments 3 replies
-
Dupe, #3315 |
Beta Was this translation helpful? Give feedback.
3 replies
-
Bumping this suggestion, it would be nice to have that current App button in image-based Attachments expanded as a full App Command type, instead of just some hand-picked questionable Apps having access to it. :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be great to be able to create context menu commands for attachments.
Developers have the ability to create context menu message commands to somehow process attachments, however, this approach has a few problems.
Firstly, if the message has more than one attachment, then the bot will not be able to determine which attachment a user meant.
Secondly, the bot can have message context menu commands both for processing attachments and for processing the text content of a message. This can lead to the problem of not explicit command names and confuse the user. The solution of this problem with the help of such commands names:
"Attachment <cmd_name>"
"Text <cmd_name>"
will take up a lot of chars and look bad.
Adding the new type of context menu commands will solve the problems described above
Beta Was this translation helpful? Give feedback.
All reactions