Transpiled version (4357L) is out of date.
1 | static GazellePostCreated gazelle_createPost(GazelleBotCred cred, S text, S type, O... _) { |
2 | Map result = cast postJSONPage(cred.server + "bot/createPost", |
3 | paramsPlus(_, _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 GazellePostCreated(toLong(result.get("postID")), (S) result.get("status")); |
8 | } |
Began life as a copy of #1029990
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029999 |
Snippet name: | gazelle_createPost |
Eternal ID of this version: | #1029999/4 |
Text MD5: | db94b662f5b5b3097349957d3806112b |
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:48:03 |
Source code size: | 432 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 217 / 345 |
Version history: | 3 change(s) |
Referenced in: | [show references] |