Class: TD::Types::Chats

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

Overview

Represents a list of chats.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idsArray<Integer>

List of chat identifiers.

Returns:

  • (Array<Integer>)

    the current value of chat_ids



6
7
8
# File 'lib/tdlib/types/chats.rb', line 6

def chat_ids
  @chat_ids
end

#total_countInteger

Approximate total count of chats found.

Returns:

  • (Integer)

    the current value of total_count



6
7
8
# File 'lib/tdlib/types/chats.rb', line 6

def total_count
  @total_count
end