Class: TD::Types::ForumTopicInfo
- Defined in:
- lib/tdlib/types/forum_topic_info.rb
Overview
Contains basic information about a forum topic.
Instance Attribute Summary collapse
-
#creation_date ⇒ Integer
Point in time (Unix timestamp) when the topic was created.
-
#creator_id ⇒ TD::Types::MessageSender
Identifier of the creator of the topic.
-
#icon ⇒ TD::Types::ForumTopicIcon
Icon of the topic.
-
#is_closed ⇒ Boolean
True, if the topic is closed.
-
#is_general ⇒ Boolean
True, if the topic is the General topic list.
-
#is_hidden ⇒ Boolean
True, if the topic is hidden above the topic list and closed; for General topic only.
-
#is_outgoing ⇒ Boolean
True, if the topic was created by the current user.
-
#message_thread_id ⇒ Integer
Message thread identifier of the topic.
-
#name ⇒ TD::Types::String
Name of the topic.
Method Summary
Methods inherited from Base
Instance Attribute Details
#creation_date ⇒ Integer
Point in time (Unix timestamp) when the topic was created.
13 14 15 |
# File 'lib/tdlib/types/forum_topic_info.rb', line 13 def creation_date @creation_date end |
#creator_id ⇒ TD::Types::MessageSender
Identifier of the creator of the topic.
13 14 15 |
# File 'lib/tdlib/types/forum_topic_info.rb', line 13 def creator_id @creator_id end |
#icon ⇒ TD::Types::ForumTopicIcon
Icon of the topic.
13 14 15 |
# File 'lib/tdlib/types/forum_topic_info.rb', line 13 def icon @icon end |
#is_closed ⇒ Boolean
True, if the topic is closed.
13 14 15 |
# File 'lib/tdlib/types/forum_topic_info.rb', line 13 def is_closed @is_closed end |
#is_general ⇒ Boolean
True, if the topic is the General topic list.
13 14 15 |
# File 'lib/tdlib/types/forum_topic_info.rb', line 13 def is_general @is_general end |
#is_hidden ⇒ Boolean
True, if the topic is hidden above the topic list and closed; for General topic only.
13 14 15 |
# File 'lib/tdlib/types/forum_topic_info.rb', line 13 def is_hidden @is_hidden end |
#is_outgoing ⇒ Boolean
True, if the topic was created by the current user.
13 14 15 |
# File 'lib/tdlib/types/forum_topic_info.rb', line 13 def is_outgoing @is_outgoing end |
#message_thread_id ⇒ Integer
Message thread identifier of the topic.
13 14 15 |
# File 'lib/tdlib/types/forum_topic_info.rb', line 13 def @message_thread_id end |
#name ⇒ TD::Types::String
Name of the topic.
13 14 15 |
# File 'lib/tdlib/types/forum_topic_info.rb', line 13 def name @name end |