Skip to content

Commit

Permalink
Fix user_id parameter in SavePreparedInlineMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
anfanik committed Jan 22, 2025
1 parent 3569eea commit 1c97a58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class SavePreparedInlineMessage(
SavePreparedInlineMessageResponse::class
) {

val userId: Long by requestParameter(userId)
val userId: Long by requestParameter(userId, customParameterName = "user_id")
val result: InlineQueryResult<*> by requestParameter(result)

@set:JvmName("allowUserChats") var allowUserChats: Boolean? by optionalRequestParameter(customParameterName = "allow_user_chats")
Expand Down

0 comments on commit 1c97a58

Please sign in to comment.