Package org.drinkless.tdlib
Class TdApi.MessageSuggestedPostApproved
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageSuggestedPostApproved
- Enclosing class:
- TdApi
A suggested post was approved.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Price of the suggested post; may be null if the post is non-paid.int
Point in time (Unix timestamp) when the post is expected to be published.long
Identifier of the message with the suggested post; can be 0 if the message was deleted. -
Constructor Summary
ConstructorsConstructorDescriptionA suggested post was approved.MessageSuggestedPostApproved
(long suggestedPostMessageId, TdApi.SuggestedPostPrice price, int sendDate) A suggested post was approved. -
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; may be null if the post is non-paid. -
sendDate
public int sendDatePoint in time (Unix timestamp) when the post is expected to be published. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageSuggestedPostApproved
public MessageSuggestedPostApproved()A suggested post was approved. -
MessageSuggestedPostApproved
public MessageSuggestedPostApproved(long suggestedPostMessageId, TdApi.SuggestedPostPrice price, int sendDate) A suggested post was approved.- Parameters:
suggestedPostMessageId
- Identifier of the message with the suggested post; can be 0 if the message was deleted.price
- Price of the suggested post; may be null if the post is non-paid.sendDate
- Point in time (Unix timestamp) when the post is expected to be published.
-
-
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
-