Class: TD::Types::ForumTopics

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

Overview

Describes a list of forum topics.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#next_offset_dateInteger

Offset date for the next getForumTopics request.

Returns:

  • (Integer)

    the current value of next_offset_date



9
10
11
# File 'lib/tdlib/types/forum_topics.rb', line 9

def next_offset_date
  @next_offset_date
end

#next_offset_message_idInteger

Offset message identifier for the next getForumTopics request.

Returns:

  • (Integer)

    the current value of next_offset_message_id



9
10
11
# File 'lib/tdlib/types/forum_topics.rb', line 9

def next_offset_message_id
  @next_offset_message_id
end

#next_offset_message_thread_idInteger

Offset message thread identifier for the next getForumTopics request.

Returns:

  • (Integer)

    the current value of next_offset_message_thread_id



9
10
11
# File 'lib/tdlib/types/forum_topics.rb', line 9

def next_offset_message_thread_id
  @next_offset_message_thread_id
end

#topicsArray<TD::Types::ForumTopic>

List of forum topics.

Returns:



9
10
11
# File 'lib/tdlib/types/forum_topics.rb', line 9

def topics
  @topics
end

#total_countInteger

Approximate total number of forum topics found.

Returns:

  • (Integer)

    the current value of total_count



9
10
11
# File 'lib/tdlib/types/forum_topics.rb', line 9

def total_count
  @total_count
end