Class TdApi.SetChatTheme

Enclosing class:
TdApi

public static class TdApi.SetChatTheme extends TdApi.Function<TdApi.Ok>
Changes the chat theme. Supported only in private and secret chats.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • theme

      public TdApi.InputChatTheme theme
      New chat theme; pass null to return the default theme.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SetChatTheme

      public SetChatTheme()
      Default constructor for a function, which changes the chat theme. Supported only in private and secret chats.

      Returns Ok

    • SetChatTheme

      public SetChatTheme(long chatId, TdApi.InputChatTheme theme)
      Creates a function, which changes the chat theme. Supported only in private and secret chats.

      Returns Ok

      Parameters:
      chatId - Chat identifier.
      theme - New chat theme; pass null to return the default theme.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR