Libraryless. Click here for Pure Java version (661L/5K/17K).
!752 m { p { S token = loadSecretTextFileMandatory("#1001925", "nlbots-slack-token").trim(); S channelID = "C0G5GPEMR"; S url = "https://slack.com/api/channels.history"; S postData = "token=" + urlencode(token) + "&channel=" + urlencode(channelID); S data = doPost(postData, url); print(data); } }
Began life as a copy of #1001867
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: | #1001934 | 
| Snippet name: | Test channels.history on Slack (reading chat contents of nlbots/#talkingbots) | 
| Eternal ID of this version: | #1001934/1 | 
| Text MD5: | a3fffb7a6fb483541b41876af4608220 | 
| Transpilation MD5: | 85cf7241bdb7b58ebb89b29cbff16188 | 
| Author: | stefan | 
| Category: | |
| Type: | JavaX source code | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2015-12-08 20:28:59 | 
| Source code size: | 335 bytes / 12 lines | 
| Pitched / IR pitched: | No / Yes | 
| Views / Downloads: | 1036 / 1098 | 
| Referenced in: | [show references] |