Class TdApi.SetChatTitle

Enclosing class:
TdApi

public static class TdApi.SetChatTitle
extends TdApi.Function
Changes the chat title. Supported only for basic groups, supergroups and channels. Requires canChangeInfo administrator right.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • title

      public String title
      New title of the chat; 1-128 characters.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • SetChatTitle

      public SetChatTitle()
      Changes the chat title. Supported only for basic groups, supergroups and channels. Requires canChangeInfo administrator right.

      Returns Ok

    • SetChatTitle

      public SetChatTitle​(long chatId, String title)
      Changes the chat title. Supported only for basic groups, supergroups and channels. Requires canChangeInfo administrator right.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      title - String New title of the chat; 1-128 characters.
    • SetChatTitle

      public SetChatTitle​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details