static LS basicFactsAboutTelegramMsg(TelegramMsg msg) { S triv = telegram_chatIDToTrivialName(msg.chatID); S ref = "Message " + triv + "_" + msg.date + "_" + msg.globalID; new LS out; if (msg.userID == 0) out.add(ref + " was sent by bot"); else out.add(ref + " was sent by user ID " + msg.userID); out.add(ref + " has text " + quote(msg.text)); if (msg.date != 0) out.add(ref + " has date " + msg.date); if (msg.originalDate != 0) out.add(ref + " has original date " + msg.originalDate); if (msg.chatID != 0) out.add(ref + " was sent in Telegram chat " + (-msg.chatID)); ret out; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017790 | 
| Snippet name: | basicFactsAboutTelegramMsg | 
| Eternal ID of this version: | #1017790/5 | 
| Text MD5: | 68d7d2d90d87b19d2dc3f871a325cf9c | 
| Author: | stefan | 
| Category: | javax / a.i. | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-08-11 14:55:36 | 
| Source code size: | 612 bytes / 12 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 550 / 590 | 
| Version history: | 4 change(s) | 
| Referenced in: | [show references] |