Class: TD::Types::MessageThreadInfo
- Defined in:
- lib/tdlib/types/message_thread_info.rb
Overview
Contains information about a message thread.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Identifier of the chat to which the message thread belongs.
-
#draft_message ⇒ TD::Types::DraftMessage?
A draft of a message in the message thread; may be null.
-
#message_thread_id ⇒ Integer
Message thread identifier, unique within the chat.
-
#messages ⇒ Array<TD::Types::Message>
The messages from which the thread starts.
-
#reply_info ⇒ TD::Types::MessageReplyInfo
Contains information about the message thread.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Identifier of the chat to which the message thread belongs.
10 11 12 |
# File 'lib/tdlib/types/message_thread_info.rb', line 10 def chat_id @chat_id end |
#draft_message ⇒ TD::Types::DraftMessage?
A draft of a message in the message thread; may be null.
10 11 12 |
# File 'lib/tdlib/types/message_thread_info.rb', line 10 def @draft_message end |
#message_thread_id ⇒ Integer
Message thread identifier, unique within the chat.
10 11 12 |
# File 'lib/tdlib/types/message_thread_info.rb', line 10 def @message_thread_id end |
#messages ⇒ Array<TD::Types::Message>
The messages from which the thread starts. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id).
10 11 12 |
# File 'lib/tdlib/types/message_thread_info.rb', line 10 def @messages end |
#reply_info ⇒ TD::Types::MessageReplyInfo
Contains information about the message thread.
10 11 12 |
# File 'lib/tdlib/types/message_thread_info.rb', line 10 def reply_info @reply_info end |