TDLib v0.0.2 TDLib.Method.SearchPublicChat View Source
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
Name | Type | Description |
---|---|---|
username | string | Username to be resolved. |
More details on telegram’s documentation.