TGGetChatDescription - Sreyas-Sreelal/tgconnector GitHub Wiki

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