Class: TD::Types::FoundMessages

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

Overview

Contains a list of messages found by a search.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#messagesArray<TD::Types::Message>

List of messages.

Returns:



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

def messages
  @messages
end

#next_from_search_idInteger

Value to pass as from_search_id to get more results.

Returns:

  • (Integer)

    the current value of next_from_search_id



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

def next_from_search_id
  @next_from_search_id
end