description: 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](index.md)
Searches public chat by its username. Currently only private and channel chats can be public. Returns chat if found, otherwise some error is returned