-
-
Notifications
You must be signed in to change notification settings - Fork 4
TGGetUserNameFromId
__SyS__ edited this page Jan 21, 2019
·
1 revision
-
Description
Function to get username of a chat member from the specified userid and chatid.
-
Parameters
-
Returns
-
1
on success -
0
on failure
-
-
Example
new TGBot:bot = TGConnect("your_bot_token_here"); new TGChatId:chatid[] = "562896556"; new TGUser:userid = 562896556; new username[32]; TGGetUserNameFromId(g_bot,userid,chatid,username);