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

5
LINES

< > BotCompany Repo | #1017793 // telegram_chatIDToTrivialName

JavaX fragment (include)

1  
static S telegram_chatIDToTrivialName(long chatID) {
2  
  if (chatID == telegram_mainChatID()) ret "tl1";
3  
  if (chatID == telegram_secondaryChatID()) ret "tl2";
4  
  ret "tl" + (-chatID);
5  
}

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: #1017793
Snippet name: telegram_chatIDToTrivialName
Eternal ID of this version: #1017793/1
Text MD5: 25da957b5fd9d8b74750785e9d49360c
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-11 14:53:04
Source code size: 187 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 11175 / 398
Referenced in: [show references]