Class TdApi.SetChatTheme

Enclosing class:
TdApi

public static class TdApi.SetChatTheme
extends TdApi.Function
Changes the chat theme. Requires canChangeInfo administrator right in groups, supergroups and channels.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • themeName

      public String themeName
      Name of the new chat theme; may be empty to return the default theme.
    • CONSTRUCTOR

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

    • SetChatTheme

      public SetChatTheme()
      Changes the chat theme. Requires canChangeInfo administrator right in groups, supergroups and channels.

      Returns Ok

    • SetChatTheme

      public SetChatTheme​(long chatId, String themeName)
      Changes the chat theme. Requires canChangeInfo administrator right in groups, supergroups and channels.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      themeName - String Name of the new chat theme; may be empty to return the default theme.
    • SetChatTheme

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