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

13
LINES

< > BotCompany Repo | #1001867 // Test channels.history on Slack (reading chat contents of #talkingbots)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (164L/2K/5K).

!752

m {
  static S token = "xoxp-11444506721-15584660016-15602755169-10849bef29";
  static S channelID = "C0FH9PY8J"; // #talkingbots
  
  p {
    S url = "https://slack.com/api/channels.history";
    S postData = "token=" + urlencode(token) + "&channel=" + urlencode(channelID);
    S data = doPost(postData, url);
    print(data);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001867
Snippet name: Test channels.history on Slack (reading chat contents of #talkingbots)
Eternal ID of this version: #1001867/1
Text MD5: 9ee5adbe35914ce2a1df71af712faf97
Transpilation MD5: b3c592b1584aadcce696d136c0d2720a
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-30 21:16:14
Source code size: 352 bytes / 13 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 627 / 685
Referenced in: #1001888 - Test channels.history on Slack 2 (reading chat contents of #talkingbots), with parsing
#1001934 - Test channels.history on Slack (reading chat contents of nlbots/#talkingbots)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)