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.

NameTypeDescription
usernamestringUsername to be resolved.

More details on telegram’s documentation.