Package org.drinkless.tdlib
Class TdApi.StarTransactionTypePaidMessageReceive
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypePaidMessageReceive
- Enclosing class:
- TdApi
The transaction is a receiving of a paid message; for regular users and supergroup chats only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
The number of Telegram Stars received by the Telegram for each 1000 Telegram Stars paid for message sending.The amount of Telegram Stars that were received by Telegram; can be negative for refunds.static final int
Identifier uniquely determining type of the object.int
Number of received paid messages.Identifier of the sender of the message. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a receiving of a paid message; for regular users and supergroup chats only.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
senderId
Identifier of the sender of the message. -
messageCount
public int messageCountNumber of received paid messages. -
commissionPerMille
public int commissionPerMilleThe 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-