Slack API: how to reply to slash command as user? -


the giphy slack app sends message gif channel. workflow follows:

  • user "john" uses slash command /giphy
  • john clicks on interactive message button "send"
  • a gif posted in channel user john

how do that? how respond interactive message requesting user (as opposed app)?

i know can post user using chat.postmessage api, requires knowing user token. there way retrieve when button pressed?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -