From d7f14020d8e7da7b08bb01fc2acc58b59b730cea Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 7 Dec 2024 10:48:06 +0600 Subject: [PATCH] rename field of user id in SavePreparedInlineMessage --- .../inmo/tgbotapi/requests/inline/SavePreparedInlineMessage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage.kt index 6546de6e3b..85f6d85437 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/inline/SavePreparedInlineMessage.kt @@ -12,7 +12,7 @@ import kotlinx.serialization.SerializationStrategy @Serializable data class SavePreparedInlineMessage( - @SerialName(idField) + @SerialName(userIdField) val userId: UserId, @Serializable(InlineQueryResultSerializer::class) @SerialName(resultField)