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

python - Getting ESC characters and non-printables from UDP socket / buffer -

string - Using python and postgres, variables within execute function? -