Class: TD::Types::ForumTopic
- Defined in:
- lib/tdlib/types/forum_topic.rb
Overview
Describes a forum topic.
Instance Attribute Summary collapse
-
#draft_message ⇒ TD::Types::DraftMessage?
A draft of a message in the topic; may be null if none.
-
#info ⇒ TD::Types::ForumTopicInfo
Basic information about the topic.
-
#is_pinned ⇒ Boolean
True, if the topic is pinned in the topic list.
-
#last_message ⇒ TD::Types::Message?
Last message in the topic; may be null if unknown.
-
#last_read_inbox_message_id ⇒ Integer
Identifier of the last read incoming message.
-
#last_read_outbox_message_id ⇒ Integer
Identifier of the last read outgoing message.
-
#notification_settings ⇒ TD::Types::ChatNotificationSettings
Notification settings for the topic.
-
#unread_count ⇒ Integer
Number of unread messages in the topic.
-
#unread_mention_count ⇒ Integer
Number of unread messages with a mention/reply in the topic.
-
#unread_reaction_count ⇒ Integer
Number of messages with unread reactions in 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.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def @draft_message end |
#info ⇒ TD::Types::ForumTopicInfo
Basic information about the topic.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def info @info end |
#is_pinned ⇒ Boolean
True, if the topic is pinned in the topic list.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def is_pinned @is_pinned end |
#last_message ⇒ TD::Types::Message?
Last message in the topic; may be null if unknown.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def @last_message end |
#last_read_inbox_message_id ⇒ Integer
Identifier of the last read incoming message.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def @last_read_inbox_message_id end |
#last_read_outbox_message_id ⇒ Integer
Identifier of the last read outgoing message.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def @last_read_outbox_message_id end |
#notification_settings ⇒ TD::Types::ChatNotificationSettings
Notification settings for the topic.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def notification_settings @notification_settings end |
#unread_count ⇒ Integer
Number of unread messages in the topic.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def unread_count @unread_count end |
#unread_mention_count ⇒ Integer
Number of unread messages with a mention/reply in the topic.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def unread_mention_count @unread_mention_count end |
#unread_reaction_count ⇒ Integer
Number of messages with unread reactions in the topic.
14 15 16 |
# File 'lib/tdlib/types/forum_topic.rb', line 14 def unread_reaction_count @unread_reaction_count end |