Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1017519 // telegram_postToSendLog

JavaX fragment (include)

static S telegram_postToSendLog(S text) {
  ret telegram_postToSendLog(text, null);
}

static S telegram_postToSendLog(S text, Long chatID) {
  if (empty(text = trim(text))) null;
  S globalID = aGlobalID();
  logStructure(telegramBotToSendLog(),
    litorderedmap(action := 'send, +text, where := chatID, +globalID));
  ret globalID;
}

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: #1017519
Snippet name: telegram_postToSendLog
Eternal ID of this version: #1017519/6
Text MD5: 98f8a47a01ba6360025a6a54f27123b5
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 17:58:28
Source code size: 348 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 319 / 354
Version history: 5 change(s)
Referenced in: [show references]