Skip to content

TGGetChatDescription

__SyS__ edited this page Jan 21, 2019 · 1 revision

TGGetChatDescription

  • Description

    Function to get description of a chat

  • Parameters

    • TGBot:bot - bot instance id
    • TGChatId:chatid[] - id of chat
    • description[] - array to store description
    • size - size of title
  • Returns

    • On success - 1
    • On failure - 0
  • Example

     new TGBot:bot = TGConnect("your_bot_token_here");
     new TGChatId:chatid[] = "-1001445898764";
     new description[132];
     TGGetChatDescription(g_bot,chatid,description);
Clone this wiki locally