Class TdApi.StarTransactionTypePaidMessageReceive

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

public static class TdApi.StarTransactionTypePaidMessageReceive extends TdApi.StarTransactionType
The transaction is a receiving of a paid message; for regular users and supergroup chats only.
  • Field Details

    • senderId

      public TdApi.MessageSender senderId
      Identifier of the sender of the message.
    • messageCount

      public int messageCount
      Number of received paid messages.
    • commissionPerMille

      public int commissionPerMille
      The number of Telegram Stars received by the Telegram for each 1000 Telegram Stars paid for message sending.
    • commissionStarAmount

      public TdApi.StarAmount commissionStarAmount
      The amount of Telegram Stars that were received by Telegram; can be negative for refunds.
    • CONSTRUCTOR

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

    • StarTransactionTypePaidMessageReceive

      public StarTransactionTypePaidMessageReceive()
      The transaction is a receiving of a paid message; for regular users and supergroup chats only.
    • StarTransactionTypePaidMessageReceive

      public StarTransactionTypePaidMessageReceive(TdApi.MessageSender senderId, int messageCount, int commissionPerMille, TdApi.StarAmount commissionStarAmount)
      The transaction is a receiving of a paid message; for regular users and supergroup chats only.
      Parameters:
      senderId - Identifier of the sender of the message.
      messageCount - Number of received paid messages.
      commissionPerMille - The number of Telegram Stars received by the Telegram for each 1000 Telegram Stars paid for message sending.
      commissionStarAmount - The amount of Telegram Stars that were received by Telegram; can be negative for refunds.
  • 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