Package org.drinkless.tdlib
Class TdApi.CanSendMessageToUserResultUserHasPaidMessages
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.CanSendMessageToUserResult
org.drinkless.tdlib.TdApi.CanSendMessageToUserResultUserHasPaidMessages
- Enclosing class:
- TdApi
public static class TdApi.CanSendMessageToUserResultUserHasPaidMessages
extends TdApi.CanSendMessageToUserResult
The user can be messaged, but the messages are paid.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Number of Telegram Stars that must be paid by the current user for each sent message to the user. -
Constructor Summary
ConstructorsConstructorDescriptionThe user can be messaged, but the messages are paid.CanSendMessageToUserResultUserHasPaidMessages
(long outgoingPaidMessageStarCount) The user can be messaged, but the messages are paid. -
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
-
outgoingPaidMessageStarCount
public long outgoingPaidMessageStarCountNumber of Telegram Stars that must be paid by the current user for each sent message to the user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CanSendMessageToUserResultUserHasPaidMessages
public CanSendMessageToUserResultUserHasPaidMessages()The user can be messaged, but the messages are paid. -
CanSendMessageToUserResultUserHasPaidMessages
public CanSendMessageToUserResultUserHasPaidMessages(long outgoingPaidMessageStarCount) The user can be messaged, but the messages are paid.- Parameters:
outgoingPaidMessageStarCount
- Number of Telegram Stars that must be paid by the current user for each sent message to the user.
-
-
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
-