Skip to content

TGGetChatMembersCount

__SyS__ edited this page Jan 21, 2019 · 3 revisions

TGGetChatMembersCount

  • Description

    Function to get the number of members in a chat

  • Parameters
  • Returns
    • On success - Number of members in the chat
    • On failure - -1
  • Example
     new TGBot:bot = TGConnect("your_bot_token_here");
     new TGChatId:chatid[] = "562896556";
     new count = TGGetChatMembersCount(g_bot,chatid);
Clone this wiki locally