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_ids ⇒ Array<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_count ⇒ Integer

Approximate total number 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