Package org.drinkless.tdlib
Class TdApi.DraftMessage
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.DraftMessage
-
- Enclosing class:
- TdApi
public static class TdApi.DraftMessage extends TdApi.Object
Contains information about a message draft.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intdatePoint in time (Unix timestamp) when the draft was created.TdApi.InputMessageContentinputMessageTextContent of the message draft; must be of the type inputMessageText.longreplyToMessageIdIdentifier of the message to reply to; 0 if none.
-
Constructor Summary
Constructors Constructor Description DraftMessage()Contains information about a message draft.DraftMessage(long replyToMessageId, int date, TdApi.InputMessageContent inputMessageText)Contains information about a message draft.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
replyToMessageId
public long replyToMessageId
Identifier of the message to reply to; 0 if none.
-
date
public int date
Point in time (Unix timestamp) when the draft was created.
-
inputMessageText
public TdApi.InputMessageContent inputMessageText
Content of the message draft; must be of the type inputMessageText.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DraftMessage
public DraftMessage()
Contains information about a message draft.
-
DraftMessage
public DraftMessage(long replyToMessageId, int date, TdApi.InputMessageContent inputMessageText)Contains information about a message draft.- Parameters:
replyToMessageId- Identifier of the message to reply to; 0 if none.date- Point in time (Unix timestamp) when the draft was created.inputMessageText- Content of the message draft; must be of the type inputMessageText.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-