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.
    • themeName

      public String themeName
      Name of the new chat theme; pass an empty string 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. Supported only in private and secret chats.

      Returns Ok

    • SetChatTheme

      public SetChatTheme​(long chatId, String themeName)
      Changes the chat theme. Supported only in private and secret chats.

      Returns Ok

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

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