- Enclosing class:
- TdApi
Contains information about a message draft.
-
Field Summary
Fields
static final int
Identifier uniquely determining type of the object.
Content of the message draft.
int
Point in time (Unix timestamp) when the draft was created.
long
Identifier of the effect to apply to the message when it is sent; 0 if none.
Information about the message to be replied; inputMessageReplyToStory is unsupported; may be null if none.
Information about the suggested post; may be null if none.
-
Constructor Summary
Constructors
Contains information about a message draft.
Contains information about a message draft.
-
Method Summary
int
Returns an identifier uniquely determining type of the object.
-
Field Details
-
replyTo
Information about the message to be replied; inputMessageReplyToStory is unsupported; may be null if none.
-
date
public int date
Point in time (Unix timestamp) when the draft was created.
-
content
Content of the message draft.
-
effectId
public long effectId
Identifier of the effect to apply to the message when it is sent; 0 if none.
-
suggestedPostInfo
Information about the suggested post; may be null if none.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.
- See Also:
-
-
Constructor Details
-
DraftMessage
public DraftMessage()
Contains information about a message draft.
-
DraftMessage
Contains information about a message draft.
- Parameters:
replyTo - Information about the message to be replied; inputMessageReplyToStory is unsupported; may be null if none.
date - Point in time (Unix timestamp) when the draft was created.
content - Content of the message draft.
effectId - Identifier of the effect to apply to the message when it is sent; 0 if none.
suggestedPostInfo - Information about the suggested post; may be null if none.
-
Method Details
-
getConstructor
public int getConstructor()
Returns an identifier uniquely determining type of the object.
- Specified by:
getConstructor in class TdApi.Object
- Returns:
- this.CONSTRUCTOR