!752 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"); //if (postAsUser) // postData.put("as_user", "true"); printStructure(postData); S data = doPost(postData, url); Map map = jsonDecodeMap(data); printStructure(map); }