1 | static void slackReact(S token, S channelID, S timestamp, S emoji) { |
2 | S name = "simple_smile"; |
3 | S url = "https://slack.com/api/reactions.add"; |
4 | Map postData = litmap("token", token, "channel", channelID, "timestamp", timestamp, "name", emoji); |
5 | print(doPostWithTimeout(postData, url, slackSetTimeout_get())); |
6 | } |
Began life as a copy of #1001935
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001936 |
Snippet name: | slackReact - add arbitrary reaction |
Eternal ID of this version: | #1001936/1 |
Text MD5: | c190f46f9a58e355ad2bdab0de432578 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-04-02 20:14:27 |
Source code size: | 319 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 658 / 1198 |
Referenced in: | [show references] |