From e2cbd5ee0b2123f62ed9cc9fd466db922871eaa8 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 22 Apr 2023 10:41:26 +0600 Subject: [PATCH] update deprecation in old updates variables --- .../kotlin/dev/inmo/tgbotapi/types/UpdateTypes.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UpdateTypes.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UpdateTypes.kt index 10b3c47cd6..11e84ff625 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UpdateTypes.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/UpdateTypes.kt @@ -14,11 +14,11 @@ const val UPDATE_POLL_ANSWER = "poll_answer" const val UPDATE_MY_CHAT_MEMBER = "my_chat_member" const val UPDATE_CHAT_MEMBER = "chat_member" const val UPDATE_CHAT_JOIN_REQUEST = "chat_join_request" -@Deprecated("Renamed", ReplaceWith("UPDATE_MY_CHAT_MEMBER")) +@Deprecated("Renamed", ReplaceWith("UPDATE_MY_CHAT_MEMBER", "dev.inmo.tgbotapi.types.UPDATE_MY_CHAT_MEMBER")) const val MY_CHAT_MEMBER = UPDATE_MY_CHAT_MEMBER -@Deprecated("Renamed", ReplaceWith("UPDATE_CHAT_MEMBER")) +@Deprecated("Renamed", ReplaceWith("UPDATE_CHAT_MEMBER", "dev.inmo.tgbotapi.types.UPDATE_CHAT_MEMBER")) const val CHAT_MEMBER = UPDATE_CHAT_MEMBER -@Deprecated("Renamed", ReplaceWith("UPDATE_CHAT_JOIN_REQUEST")) +@Deprecated("Renamed", ReplaceWith("UPDATE_CHAT_JOIN_REQUEST", "dev.inmo.tgbotapi.types.UPDATE_CHAT_JOIN_REQUEST")) const val CHAT_JOIN_REQUEST = UPDATE_CHAT_JOIN_REQUEST val ALL_UPDATES_LIST = listOf(