Class TdApi.StarTransactionTypeGiveawayDeposit

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeGiveawayDeposit
Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeGiveawayDeposit extends TdApi.StarTransactionType
The transaction is a deposit of Telegram Stars from a giveaway; for regular users only.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of a supergroup or a channel chat that created the giveaway.
    static final int
    Identifier uniquely determining type of the object.
    long
    Identifier of the message with the giveaway; can be 0 or an identifier of a deleted message.
  • Constructor Summary

    Constructors
    Constructor
    Description
    The transaction is a deposit of Telegram Stars from a giveaway; for regular users only.
    StarTransactionTypeGiveawayDeposit(long chatId, long giveawayMessageId)
    The transaction is a deposit of Telegram Stars from a giveaway; for regular users only.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • chatId

      public long chatId
      Identifier of a supergroup or a channel chat that created the giveaway.
    • giveawayMessageId

      public long giveawayMessageId
      Identifier of the message with the giveaway; can be 0 or an identifier of a deleted message.
    • CONSTRUCTOR

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

    • StarTransactionTypeGiveawayDeposit

      public StarTransactionTypeGiveawayDeposit()
      The transaction is a deposit of Telegram Stars from a giveaway; for regular users only.
    • StarTransactionTypeGiveawayDeposit

      public StarTransactionTypeGiveawayDeposit(long chatId, long giveawayMessageId)
      The transaction is a deposit of Telegram Stars from a giveaway; for regular users only.
      Parameters:
      chatId - Identifier of a supergroup or a channel chat that created the giveaway.
      giveawayMessageId - Identifier of the message with the giveaway; can be 0 or an identifier of a deleted message.
  • 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