Libraryless. Click here for Pure Java version (4366L/29K).
1 | sS gazelle_editPost(GazelleBotCred cred, long postID, S text, S type, O... _) { |
2 | Map result = cast postJSONPage(cred.server + "bot/editPost", |
3 | paramsPlus(_, +postID, _user := cred._user, _botToken := cred._botToken, |
4 | +text, +type, botInfo := cred.botInfo)); |
5 | S error = cast result.get("error"); |
6 | if (nempty(error)) fail(error); |
7 | ret (S) result.get("status"); |
8 | } |
Began life as a copy of #1029999
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030331 |
Snippet name: | gazelle_editPost |
Eternal ID of this version: | #1030331/3 |
Text MD5: | 432bf196d383a190537fe755cda00cd1 |
Transpilation MD5: | 6644c29effc1bcd75aeacb033636b701 |
Author: | stefan |
Category: | javax / gazelle.rocks |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-12-15 21:47:44 |
Source code size: | 377 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 180 / 263 |
Version history: | 2 change(s) |
Referenced in: | [show references] |