migration onto 18.0.0

This commit is contained in:
InsanusMokrassar 2024-08-30 18:40:39 +06:00
parent 590f9ec6d8
commit a62a14a599
2 changed files with 6 additions and 6 deletions

View File

@ -106,7 +106,7 @@ suspend fun main(args: Array<String>) {
suspend fun BehaviourContext.getUserChatPermissions(chatId: ChatId, userId: UserId): ChatPermissions? {
val chatMember = getChatMember(chatId, userId)
return chatMember.restrictedChatMemberOrNull() ?: chatMember.whenMemberChatMember {
return chatMember.restrictedMemberChatMemberOrNull() ?: chatMember.whenMemberChatMember {
getChat(chatId).extendedGroupChatOrNull() ?.permissions
}
}

View File

@ -5,8 +5,8 @@ org.gradle.jvmargs=-Xmx3148m
kotlin.daemon.jvmargs=-Xmx3g -Xms500m
kotlin_version=2.0.10
telegram_bot_api_version=17.0.0
micro_utils_version=0.22.0
serialization_version=1.7.1
ktor_version=2.3.11
kotlin_version=2.0.20
telegram_bot_api_version=18.0.0
micro_utils_version=0.22.1
serialization_version=1.7.2
ktor_version=2.3.12