SearchPublicChat constructor

SearchPublicChat(
  1. {required String username,
  2. int? extra,
  3. int? clientId}
)

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 Chat

Implementation

SearchPublicChat