Class: TD::Types::QuickReplyMessage
- Defined in:
- lib/tdlib/types/quick_reply_message.rb
Overview
Describes a message that can be used for quick reply.
Instance Attribute Summary collapse
-
#can_be_edited ⇒ Boolean
True, if the message can be edited.
-
#content ⇒ TD::Types::MessageContent
Content of the message.
-
#id ⇒ Integer
Unique message identifier among all quick replies.
-
#media_album_id ⇒ Integer
Unique identifier of an album this message belongs to; 0 if none.
-
#reply_markup ⇒ TD::Types::ReplyMarkup?
Inline keyboard reply markup for the message; may be null if none.
-
#reply_to_message_id ⇒ Integer
The identifier of the quick reply message to which the message replies; 0 if none.
-
#sending_state ⇒ TD::Types::MessageSendingState?
The sending state of the message; may be null if the message isn’t being sent and didn’t fail to be sent.
-
#via_bot_user_id ⇒ Integer
If non-zero, the user identifier of the bot through which this message was sent.
Method Summary
Methods inherited from Base
Instance Attribute Details
#can_be_edited ⇒ Boolean
True, if the message can be edited.
15 16 17 |
# File 'lib/tdlib/types/quick_reply_message.rb', line 15 def can_be_edited @can_be_edited end |
#content ⇒ TD::Types::MessageContent
Content of the message.
15 16 17 |
# File 'lib/tdlib/types/quick_reply_message.rb', line 15 def content @content end |
#id ⇒ Integer
Unique message identifier among all quick replies.
15 16 17 |
# File 'lib/tdlib/types/quick_reply_message.rb', line 15 def id @id end |
#media_album_id ⇒ Integer
Unique identifier of an album this message belongs to; 0 if none. Only audios, documents, photos and videos can be grouped together in albums.
15 16 17 |
# File 'lib/tdlib/types/quick_reply_message.rb', line 15 def media_album_id @media_album_id end |
#reply_markup ⇒ TD::Types::ReplyMarkup?
Inline keyboard reply markup for the message; may be null if none.
15 16 17 |
# File 'lib/tdlib/types/quick_reply_message.rb', line 15 def reply_markup @reply_markup end |
#reply_to_message_id ⇒ Integer
The identifier of the quick reply message to which the message replies; 0 if none.
15 16 17 |
# File 'lib/tdlib/types/quick_reply_message.rb', line 15 def end |
#sending_state ⇒ TD::Types::MessageSendingState?
The sending state of the message; may be null if the message isn’t being sent and didn’t fail to be sent.
15 16 17 |
# File 'lib/tdlib/types/quick_reply_message.rb', line 15 def sending_state @sending_state end |
#via_bot_user_id ⇒ Integer
If non-zero, the user identifier of the bot through which this message was sent.
15 16 17 |
# File 'lib/tdlib/types/quick_reply_message.rb', line 15 def via_bot_user_id @via_bot_user_id end |