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:



8
9
10
# File 'lib/tdlib/types/found_messages.rb', line 8

def messages
  @messages
end

#next_offsetTD::Types::String

The offset for the next request. If empty, there are no more results.

Returns:

  • (TD::Types::String)

    the current value of next_offset



8
9
10
# File 'lib/tdlib/types/found_messages.rb', line 8

def next_offset
  @next_offset
end

#total_countInteger

Approximate total count of messages found; -1 if unknown.

Returns:

  • (Integer)

    the current value of total_count



8
9
10
# File 'lib/tdlib/types/found_messages.rb', line 8

def total_count
  @total_count
end