Module tdlight.api

Class TdApi.BackgroundTypeChatTheme

Enclosing class:
TdApi

public static final class TdApi.BackgroundTypeChatTheme extends TdApi.BackgroundType
A background from a chat theme; can be used only as a chat background in channels.
  • Field Details

    • themeName

      public String themeName
      Name of the chat theme.
    • CONSTRUCTOR

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

    • BackgroundTypeChatTheme

      public BackgroundTypeChatTheme()
      A background from a chat theme; can be used only as a chat background in channels.
    • BackgroundTypeChatTheme

      public BackgroundTypeChatTheme(String themeName)
      A background from a chat theme; can be used only as a chat background in channels.
      Parameters:
      themeName - Name of the chat theme.
    • BackgroundTypeChatTheme

      public BackgroundTypeChatTheme(DataInput input) throws IOException
      A background from a chat theme; can be used only as a chat background in channels.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object