MadelineProtoDocs/docs/TD_docs/methods/searchChatMembers.md

950 B

title description image
searchChatMembers Searches for the specified query in the first name, last name and username among members of the specified chat. Requires administrator rights in broadcast channels https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: searchChatMembers

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Searches for the specified query in the first name, last name and username among members of the specified chat. Requires administrator rights in broadcast channels

Parameters:

Name Type Description Required
chat_id int53 Chat identifier Yes
query string Query to search for Yes
limit int Maximum number of users to be returned Yes

Return type: ChatMembers