-
Notifications
You must be signed in to change notification settings - Fork 11
search public chat
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.coroutines / searchPublicChat
suspend fun
TelegramFlow
.searchPublicChat(username:
String
?):
Chat
Suspend function, which 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.
username
- Username to be resolved.
Return Chat A chat. (Can be a private chat, basic group, supergroup, or secret chat.)