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

3
LINES

< > BotCompany Repo | #1017572 // telegram_amIAuthorized

JavaX fragment (include)

static bool telegram_amIAuthorized() {
  ret contains(mL_tlftj("Authorized Telegram User IDs"), str(get(telegram_msg(), "userID")));
}

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: #1017572
Snippet name: telegram_amIAuthorized
Eternal ID of this version: #1017572/5
Text MD5: 0e1a69e1bce36f3daced0a6461a822f5
Author: stefan
Category: javax / telegram
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-22 23:28:46
Source code size: 136 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 387 / 431
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1017720 - telegram_firstName
#1017917 - telegram_amIFullyAuthorized