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; relevant for regular users, supergroup and channel chats only.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.StarTransactionType
TdApi.StarTransactionType.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionintThe number of Telegram Stars received by the Telegram for each 1000 Telegram Stars paid for message sending.The Telegram Star amount that was received by Telegram; can be negative for refunds.static final intIdentifier uniquely determining type of the object.intNumber of received paid messages.Identifier of the sender of the message. -
Constructor Summary
ConstructorsConstructorDescriptionThe transaction is a receiving of a paid message; relevant for regular users, supergroup and channel chats only.StarTransactionTypePaidMessageReceive(TdApi.MessageSender senderId, int messageCount, int commissionPerMille, TdApi.StarAmount commissionStarAmount) The transaction is a receiving of a paid message; relevant for regular users, supergroup and channel chats only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns 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 Telegram Star amount that was 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; relevant for regular users, supergroup and channel chats only. -
StarTransactionTypePaidMessageReceive
public StarTransactionTypePaidMessageReceive(TdApi.MessageSender senderId, int messageCount, int commissionPerMille, TdApi.StarAmount commissionStarAmount) The transaction is a receiving of a paid message; relevant for regular users, supergroup and channel 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 Telegram Star amount that was received by Telegram; can be negative for refunds.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.StarTransactionType- Returns:
- this.CONSTRUCTOR
-