Class: TD::Types::ForumTopicInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/forum_topic_info.rb

Overview

Contains basic information about a forum topic.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#creation_dateInteger

Point in time (Unix timestamp) when the topic was created.

Returns:

  • (Integer)

    the current value of creation_date



13
14
15
# File 'lib/tdlib/types/forum_topic_info.rb', line 13

def creation_date
  @creation_date
end

#creator_idTD::Types::MessageSender

Identifier of the creator of the topic.

Returns:



13
14
15
# File 'lib/tdlib/types/forum_topic_info.rb', line 13

def creator_id
  @creator_id
end

#iconTD::Types::ForumTopicIcon

Icon of the topic.

Returns:



13
14
15
# File 'lib/tdlib/types/forum_topic_info.rb', line 13

def icon
  @icon
end

#is_closedBoolean

True, if the topic is closed.

Returns:

  • (Boolean)

    the current value of is_closed



13
14
15
# File 'lib/tdlib/types/forum_topic_info.rb', line 13

def is_closed
  @is_closed
end

#is_generalBoolean

True, if the topic is the General topic list.

Returns:

  • (Boolean)

    the current value of is_general



13
14
15
# File 'lib/tdlib/types/forum_topic_info.rb', line 13

def is_general
  @is_general
end

#is_hiddenBoolean

True, if the topic is hidden above the topic list and closed; for General topic only.

Returns:

  • (Boolean)

    the current value of is_hidden



13
14
15
# File 'lib/tdlib/types/forum_topic_info.rb', line 13

def is_hidden
  @is_hidden
end

#is_outgoingBoolean

True, if the topic was created by the current user.

Returns:

  • (Boolean)

    the current value of is_outgoing



13
14
15
# File 'lib/tdlib/types/forum_topic_info.rb', line 13

def is_outgoing
  @is_outgoing
end

#message_thread_idInteger

Message thread identifier of the topic.

Returns:

  • (Integer)

    the current value of message_thread_id



13
14
15
# File 'lib/tdlib/types/forum_topic_info.rb', line 13

def message_thread_id
  @message_thread_id
end

#nameTD::Types::String

Name of the topic.

Returns:

  • (TD::Types::String)

    the current value of name



13
14
15
# File 'lib/tdlib/types/forum_topic_info.rb', line 13

def name
  @name
end