Skip to content

TGGetUserChatStatus

__SyS__ edited this page Jan 21, 2019 · 3 revisions

TGGetUserChatStatus

  • Description

    Function to get member's status in the chat. Can be “creator”, “administrator”, “member”, “restricted”, “left” or “kicked”

  • Parameters

  • Returns

  • 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);
Clone this wiki locally