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)