TGGetUserChatStatus - Sreyas-Sreelal/tgconnector GitHub Wiki
-
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);