remove tryGetChatAdmins

This commit is contained in:
InsanusMokrassar 2022-09-10 19:04:48 +06:00
parent cea8ba47db
commit c85d92c7ba

View File

@ -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))
} }