svoid telegram_sendWithLogging(TelegramLongPollingBot bot, long chatID, S text, S globalID) ctex { Map map = litorderedmap( type := 'sending, date := localDateWithMilliseconds(), toChatID := chatID, +globalID, +text); new SendMessage sending; sending.setText(text); sending.setChatId(chatID); bot.sendMessage(sending); map.put(type := 'sent); map.put(date := localDateWithMilliseconds()); logStructure(telegramLogFile(), printStruct(map)); }
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: | #1017516 |
Snippet name: | telegram_sendWithLogging |
Eternal ID of this version: | #1017516/8 |
Text MD5: | 97a14ebe9b926aad6ea17ee650bab1e7 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-12 18:08:36 |
Source code size: | 497 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 318 / 370 |
Version history: | 7 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1017988 - telegram_sendVoiceMessageWithLogging |