Class: TD::Types::SavedMessagesTopic
- Defined in:
- lib/tdlib/types/saved_messages_topic.rb
Overview
Contains information about a Saved Messages topic.
Instance Attribute Summary collapse
-
#draft_message ⇒ TD::Types::DraftMessage?
A draft of a message in the topic; may be null if none.
-
#id ⇒ Integer
Unique topic identifier.
-
#is_pinned ⇒ Boolean
True, if the topic is pinned.
-
#last_message ⇒ TD::Types::Message?
Last message in the topic; may be null if none or unknown.
-
#order ⇒ Integer
A parameter used to determine order of the topic in the topic list.
-
#type ⇒ TD::Types::SavedMessagesTopicType
Type of the topic.
Method Summary
Methods inherited from Base
Instance Attribute Details
#draft_message ⇒ TD::Types::DraftMessage?
A draft of a message in the topic; may be null if none.
11 12 13 |
# File 'lib/tdlib/types/saved_messages_topic.rb', line 11 def @draft_message end |
#id ⇒ Integer
Unique topic identifier.
11 12 13 |
# File 'lib/tdlib/types/saved_messages_topic.rb', line 11 def id @id end |
#is_pinned ⇒ Boolean
True, if the topic is pinned.
11 12 13 |
# File 'lib/tdlib/types/saved_messages_topic.rb', line 11 def is_pinned @is_pinned end |
#last_message ⇒ TD::Types::Message?
Last message in the topic; may be null if none or unknown.
11 12 13 |
# File 'lib/tdlib/types/saved_messages_topic.rb', line 11 def @last_message end |
#order ⇒ Integer
A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order.
11 12 13 |
# File 'lib/tdlib/types/saved_messages_topic.rb', line 11 def order @order end |
#type ⇒ TD::Types::SavedMessagesTopicType
Type of the topic.
11 12 13 |
# File 'lib/tdlib/types/saved_messages_topic.rb', line 11 def type @type end |