Package org.drinkless.tdlib
Class TdApi.MessageSuggestedPostApprovalFailed
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageSuggestedPostApprovalFailed
- Enclosing class:
- TdApi
Approval of suggested post has failed, because the user which proposed the post had no enough funds.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Price of the suggested post.long
Identifier of the message with the suggested post; can be 0 if the message was deleted. -
Constructor Summary
ConstructorsConstructorDescriptionApproval of suggested post has failed, because the user which proposed the post had no enough funds.MessageSuggestedPostApprovalFailed
(long suggestedPostMessageId, TdApi.SuggestedPostPrice price) Approval of suggested post has failed, because the user which proposed the post had no enough funds. -
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
-
suggestedPostMessageId
public long suggestedPostMessageIdIdentifier of the message with the suggested post; can be 0 if the message was deleted. -
price
Price of the suggested post. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageSuggestedPostApprovalFailed
public MessageSuggestedPostApprovalFailed()Approval of suggested post has failed, because the user which proposed the post had no enough funds. -
MessageSuggestedPostApprovalFailed
public MessageSuggestedPostApprovalFailed(long suggestedPostMessageId, TdApi.SuggestedPostPrice price) Approval of suggested post has failed, because the user which proposed the post had no enough funds.- Parameters:
suggestedPostMessageId
- Identifier of the message with the suggested post; can be 0 if the message was deleted.price
- Price of the suggested post.
-
-
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
-