Class: TD::Types::FoundChatMessages

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

Overview

Contains a list of messages found by a search in a given chat.

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_chat_messages.rb', line 8

def messages
  @messages
end

#next_from_message_idInteger

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

Returns:

  • (Integer)

    the current value of next_from_message_id



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

def next_from_message_id
  @next_from_message_id
end

#total_countInteger

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

Returns:

  • (Integer)

    the current value of total_count



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

def total_count
  @total_count
end