Module tdlight.api

Class TdApi.SetChatDescription

Enclosing class:
TdApi

public static final class TdApi.SetChatDescription extends TdApi.Function<TdApi.Ok>
Changes information about a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo administrator right. Returns Ok
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat.
    • description

      public String description
      New chat description; 0-255 characters.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • SetChatDescription

      public SetChatDescription()
      Changes information about a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo administrator right. Returns Ok
    • SetChatDescription

      public SetChatDescription(long chatId, String description)
      Changes information about a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo administrator right. Returns Ok
      Parameters:
      chatId - long Identifier of the chat.
      description - String New chat description; 0-255 characters.
    • SetChatDescription

      public SetChatDescription(DataInput input) throws IOException
      Changes information about a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo administrator right. Returns Ok
      Throws:
      IOException
  • Method Details