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 if none.
-
#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?
Information about the message thread; may be null for forum topic threads.
-
#unread_message_count ⇒ Integer
Approximate number of unread messages in 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.
12 13 14 |
# File 'lib/tdlib/types/message_thread_info.rb', line 12 def chat_id @chat_id end |
#draft_message ⇒ TD::Types::DraftMessage?
A draft of a message in the message thread; may be null if none.
12 13 14 |
# File 'lib/tdlib/types/message_thread_info.rb', line 12 def @draft_message end |
#message_thread_id ⇒ Integer
Message thread identifier, unique within the chat.
12 13 14 |
# File 'lib/tdlib/types/message_thread_info.rb', line 12 def @message_thread_id end |
#messages ⇒ Array<TD::Types::Message>
The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message_id).
12 13 14 |
# File 'lib/tdlib/types/message_thread_info.rb', line 12 def @messages end |
#reply_info ⇒ TD::Types::MessageReplyInfo?
Information about the message thread; may be null for forum topic threads.
12 13 14 |
# File 'lib/tdlib/types/message_thread_info.rb', line 12 def reply_info @reply_info end |
#unread_message_count ⇒ Integer
Approximate number of unread messages in the message thread.
12 13 14 |
# File 'lib/tdlib/types/message_thread_info.rb', line 12 def @unread_message_count end |