lib/tdlib/client_methods.rb
def search_chat_members(chat_id:, query:, limit:, filter:)
    broadcast('@type'   => 'searchChatMembers',
              'chat_id' => chat_id,
              'query'   => query,
              'limit'   => limit,
              'filter'  => filter)
  end
# Searches for a specified query in the first name, last name and username of the members of a specified chat.
# Requires administrator rights in channels.
#
# @param chat_id [Integer] Chat identifier.
# @param query [TD::Types::String] Query to search for.
# @param limit [Integer] The maximum number of users to be returned; up to 200.
# @param filter [TD::Types::ChatMembersFilter] The type of users to search for; pass null to search among all chat
#   members.
# @return [TD::Types::ChatMembers]
Searches for a specified query in the first name, last name and username of the members of a specified chat.
Requires administrator rights in channels.
Searches for a specified query in the first name last name and username of the members of a specified chat . Requires administrator rights in channels .
def search_chat_members(chat_id:, query:, limit:, filter:)
    broadcast('@type'   => 'searchChatMembers',
              'chat_id' => chat_id,
              'query'   => query,
              'limit'   => limit,
              'filter'  => filter)
  end
def search_chat_members ( chat_id : , query : , limit : , filter : ) broadcast ( '@type' => 'searchChatMembers' , 'chat_id' => chat_id , 'query' => query , 'limit' => limit , 'filter' => filter ) end
Searches for a specified query in the first name, last name and username of the members of a specified chat.
Searches for a specified query in the first name last name and username of the members of a specified chat .
None
TD::Types::ChatMembers
chat_id
None
query
Query to search for.
Query to search for .
limit
The maximum number of users to be returned; up to 200.
The maximum number of users to be returned ; up to 200 .
filter
The type of users to search for; pass null to search among all chat members.
The type of users to search for ; pass null to search among all chat members .