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

11
LINES

< > BotCompany Repo | #1017990 // telegram_postVoiceMessageToSendLog

JavaX fragment (include)

1  
static S telegram_postVoiceMessageToSendLog(S text, S voice) {
2  
  ret telegram_postVoiceMessageToSendLog(text, voice, null);
3  
}
4  
5  
static S telegram_postVoiceMessageToSendLog(S text, S voice, Long chatID) {
6  
  if (empty(text = trim(text))) null;
7  
  S globalID = aGlobalID();
8  
  logStructure(telegramBotToSendLog(),
9  
    litorderedmap(action := 'send, +text, +voice, where := chatID, +globalID));
10  
  ret globalID;
11  
}

Author comment

Began life as a copy of #1017519

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017990
Snippet name: telegram_postVoiceMessageToSendLog
Eternal ID of this version: #1017990/1
Text MD5: dd893479f24ad252231101697fa90ab7
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-24 16:30:42
Source code size: 417 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 431 / 484
Referenced in: [show references]