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

6
LINES

< > BotCompany Repo | #1001935 // slackSmile - add :simple_smile: reaction

JavaX fragment (include)

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

Author comment

Began life as a copy of #1001932

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: #1001935
Snippet name: slackSmile - add :simple_smile: reaction
Eternal ID of this version: #1001935/1
Text MD5: 696c047585950535a29685a682ff94ba
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-02 20:13:54
Source code size: 309 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 637 / 1213
Referenced in: [show references]