1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 09:27:20 +01:00
MadelineProto/docs/TD_docs/methods/searchPublicChat.md

707 B

title description
searchPublicChat Searches public chat by its username. Currently only private and channel chats can be public. Returns chat if found, otherwise some error is returned

Method: searchPublicChat

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Searches public chat by its username. Currently only private and channel chats can be public. Returns chat if found, otherwise some error is returned

Parameters:

Name Type Required Description
username CLICK ME string Yes Username to be resolved

Return type: Chat