// get current dialog static L<Map> getDialog() { ret getDialog(getDialogID()); } // get a specific dialog by id static L<Map> getDialog(S dialogID) { L<Map> history = cast get(getMainBot(), "history"); ret filterByField(history, "dialogID", dialogID); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002562 |
Snippet name: | getDialog |
Eternal ID of this version: | #1002562/1 |
Text MD5: | c08345d7ed342df1505cab6af25bd887 |
Author: | stefan |
Category: | eleu |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-02-02 01:36:34 |
Source code size: | 270 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 624 / 592 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000202 - Answer for stefanreich (>> T conversion bot) #3000238 - Answer for stefanreich (>> t power bot) #3000382 - Answer for ferdie (>> t = 1, f = 0) |