Class TdApi.InputChatThemeGift

Enclosing class:
TdApi

public static class TdApi.InputChatThemeGift extends TdApi.InputChatTheme
A theme based on an upgraded gift.
  • Field Details

    • name

      public String name
      Name of the upgraded gift. A gift can be used only in one chat in a time. When the same gift is used in another chat, theme in the previous chat is reset to default.
    • CONSTRUCTOR

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

    • InputChatThemeGift

      public InputChatThemeGift()
      A theme based on an upgraded gift.
    • InputChatThemeGift

      public InputChatThemeGift(String name)
      A theme based on an upgraded gift.
      Parameters:
      name - Name of the upgraded gift. A gift can be used only in one chat in a time. When the same gift is used in another chat, theme in the previous chat is reset to default.
  • 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