View Source ExTDLib.Method.SearchPublicChat (ExTDLib v0.0.4)
Searches a public chat by its username. Currently, only private chats, supergroups and channels can be public. Returns the chat if found; otherwise, an error is returned. Returns object_ptr<Chat>.
| Name | Type | Description |
|---|---|---|
| username | string | Username to be resolved. |
More details on telegram's documentation.