- Enclosing class:
- TdApi
public static final class TdApi.QuickReplyMessage
extends TdApi.Object
Describes a message that can be used for quick reply.
-
Field Summary
Fields
boolean
True, if the message can be edited.
static final int
Identifier uniquely determining type of the object.
long
Unique message identifier among all quick replies.
long
Unique identifier of an album this message belongs to.
Inline keyboard reply markup for the message; may be null if none.
long
Information about the identifier of the quick reply message to which the message replies.
The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.
long
If non-zero, the user identifier of the bot through which this message was sent.
-
Constructor Summary
Constructors
Describes a message that can be used for quick reply.
Describes a message that can be used for quick reply.
Describes a message that can be used for quick reply.
-
Method Summary
boolean
int
Returns an identifier uniquely determining type of the object.
int
void
Serialize the TDLib class
-
Field Details
-
id
public long id
Unique message identifier among all quick replies.
-
sendingState
The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.
-
canBeEdited
public boolean canBeEdited
True, if the message can be edited.
-
replyToMessageId
public long replyToMessageId
Information about the identifier of the quick reply message to which the message replies.
-
viaBotUserId
public long viaBotUserId
If non-zero, the user identifier of the bot through which this message was sent.
-
-
content
Content of the message.
-
replyMarkup
Inline keyboard reply markup for the message; may be null if none.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.
- See Also:
-
-
Constructor Details
-
QuickReplyMessage
public QuickReplyMessage()
Describes a message that can be used for quick reply.
-
QuickReplyMessage
Describes a message that can be used for quick reply.
- Parameters:
id
- Unique message identifier among all quick replies.
sendingState
- The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.
canBeEdited
- True, if the message can be edited.
replyToMessageId
- Information about the identifier of the quick reply message to which the message replies.
viaBotUserId
- If non-zero, the user identifier of the bot through which this message was sent.
mediaAlbumId
- Unique identifier of an album this message belongs to. Only audios, documents, photos and videos can be grouped together in albums.
content
- Content of the message.
replyMarkup
- Inline keyboard reply markup for the message; 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
-
serialize
Serialize the TDLib class
- Specified by:
serialize
in class TdApi.Object
- Parameters:
output
- output data stream
- Throws:
IOException
- the serialization failed
-
-