Class: TD::Types::Messages

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

Overview

Contains a list of messages.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#messagesArray<TD::Types::Message>?

List of messages; messages may be null.

Returns:



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

def messages
  @messages
end

#total_countInteger

Approximate total count of messages found.

Returns:

  • (Integer)

    the current value of total_count



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

def total_count
  @total_count
end