mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2024-12-22 16:47:16 +00:00
remove tryGetChatAdmins
This commit is contained in:
parent
cea8ba47db
commit
c85d92c7ba
@ -54,9 +54,6 @@ class DefaultAdminsCacheAPIRepoImpl(
|
|||||||
actor.trySend(GetChatAdminsRepoAction(chatId, it))
|
actor.trySend(GetChatAdminsRepoAction(chatId, it))
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun tryGetChatAdmins(chatId: ChatId): List<AdministratorChatMember>? {
|
|
||||||
TODO("Not yet implemented")
|
|
||||||
}
|
|
||||||
override suspend fun setChatAdmins(chatId: ChatId, chatMembers: List<AdministratorChatMember>) = suspendCoroutine<Unit> {
|
override suspend fun setChatAdmins(chatId: ChatId, chatMembers: List<AdministratorChatMember>) = suspendCoroutine<Unit> {
|
||||||
actor.trySend(SetChatAdminsRepoAction(chatId, chatMembers, it))
|
actor.trySend(SetChatAdminsRepoAction(chatId, chatMembers, it))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user