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.



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

def messages
  @messages
end

#total_countInteger

Approximate total number of messages found.



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

def total_count
  @total_count
end