Libraryless. Click here for Pure Java version (5472L/37K/121K).
!7 p { S token = loadSecretTextFile("#1002653", "slack-token.txt").trim(); S channelID = slackChannelID(token, "androiddev"); S url = "https://slack.com/api/chat.postMessage"; Map postData = litmap( "token", token, "channel", channelID, "text", "hello", "username", "eleu_android"); printStructure(jsonDecodeMap(doPost(printStructure(postData), url))); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, nbgitpuheiab, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002658 | 
| Snippet name: | Android Slack Hello | 
| Eternal ID of this version: | #1002658/2 | 
| Text MD5: | 6aa24b0c8cce11904ce3d252e66ab928 | 
| Transpilation MD5: | e4643b1fc69088da6ec84d49e43373c3 | 
| Author: | stefan | 
| Category: | |
| Type: | JavaX source code | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2019-12-01 11:27:09 | 
| Source code size: | 393 bytes / 13 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 784 / 870 | 
| Version history: | 1 change(s) | 
| Referenced in: | [show references] |