lib/tdlib/client_methods.rb
# Searches for call messages.
# Returns the results in reverse chronological order (i.
# e., in order of decreasing message_id).
# For optimal performance, the number of returned messages is chosen by TDLib.
#
# @param from_message_id [Integer] Identifier of the message from which to search; use 0 to get results from the last
#   message.
# @param limit [Integer] The maximum number of messages to be returned; up to 100.
#   For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified
#   limit.
# @param only_missed [Boolean] If true, returns only messages with missed/declined calls.
# @return [TD::Types::Messages]
Searches for call messages.
Returns the results in reverse chronological order (i.
e., in order of decreasing message_id).
For optimal performance, the number of returned messages is chosen by TDLib.
Searches for call messages . Returns the results in reverse chronological order ( i . e . in order of decreasing message_id ) . For optimal performance the number of returned messages is chosen by TDLib .
def search_call_messages(from_message_id:, limit:, only_missed:)
    broadcast('@type'           => 'searchCallMessages',
              'from_message_id' => from_message_id,
              'limit'           => limit,
              'only_missed'     => only_missed)
  end
def search_call_messages ( from_message_id : , limit : , only_missed : ) broadcast ( '@type' => 'searchCallMessages' , 'from_message_id' => from_message_id , 'limit' => limit , 'only_missed' => only_missed ) end
Searches for call messages.
Searches for call messages .
None
TD::Types::Messages
from_message_id
Identifier of the message from which to search; use 0 to get results from the last message.
Identifier of the message from which to search ; use 0 to get results from the last message .
limit
The maximum number of messages to be returned; up to 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit.
The maximum number of messages to be returned ; up to 100 . For optimal performance the number of returned messages is chosen by TDLib and can be smaller than the specified limit .
only_missed
If true, returns only messages with missed/declined calls.
If true returns only messages with missed / declined calls .