Skip to content

searchPublicChat

Function · TDLib 1.8.67 · d1085f9c

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

searchPublicChat(
  username: string
) → Chat

username

string

Username to be resolved