Skip to content

QuickReplyMessage

Type · TDLib 1.8.67 · d1085f9c

Describes a message that can be used for quick reply

QuickReplyMessage(
  id: int53,
  sending_state: MessageSendingState,
  can_be_edited: Bool,
  reply_to_message_id: int53,
  via_bot_user_id: int53,
  media_album_id: int64,
  content: MessageContent,
  reply_markup: ReplyMarkup
) → QuickReplyMessage

id

int53

Unique message identifier among all quick replies

sending_state

MessageSendingState

The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent

can_be_edited

Bool

True, if the message can be edited

reply_to_message_id

int53

The identifier of the quick reply message to which the message replies; 0 if none

via_bot_user_id

int53

If non-zero, the user identifier of the bot through which this message was sent

media_album_id

int64

Unique identifier of an album this message belongs to; 0 if none. Only audios, documents, photos and videos can be grouped together in albums

content

MessageContent

Content of the message

reply_markup

ReplyMarkup

Inline keyboard reply markup for the message; may be null if none