Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1001936 // slackReact - add arbitrary reaction

JavaX fragment (include)

static void slackReact(S token, S channelID, S timestamp, S emoji) {
  S name = "simple_smile";
  S url = "https://slack.com/api/reactions.add";
  Map postData = litmap("token", token, "channel", channelID, "timestamp", timestamp, "name", emoji);
  print(doPostWithTimeout(postData, url, slackSetTimeout_get()));
}

Author comment

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: 540 / 1097
Referenced in: [show references]