-
-
Notifications
You must be signed in to change notification settings - Fork 4
TGGetUserChatStatus
__SyS__ edited this page Jan 21, 2019
·
3 revisions
-
Description
Function to get member's status in the chat. Can be “creator”, “administrator”, “member”, “restricted”, “left” or “kicked”
-
Parameters
-
Returns
- One of the constant in TGUserStatus
-
Example
new TGBot:bot = TGConnect("your_bot_token_here"); new TGChatId:chatid[] = "562896556"; new TGUser:userid = 562896556; new TGUserStatus:status = TGGetUserChatStatus(g_bot,userid,chatid);