TGGetUserChatStatus - Sreyas-Sreelal/tgconnector GitHub Wiki

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);