Skip to content

Commit

Permalink
fix json tag for DeleteMessagesParams.MessageIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
negasus committed Feb 22, 2024
1 parent 3531ae2 commit cc3326f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion methods_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ type DeleteMessageParams struct {
// DeleteMessagesParams https://core.telegram.org/bots/api#deletemessages
type DeleteMessagesParams struct {
ChatID any `json:"chat_id"`
MessageIDs []int `json:"messages_id"`
MessageIDs []int `json:"message_ids"`
}

// SendStickerParams https://core.telegram.org/bots/api#sendsticker
Expand Down

0 comments on commit cc3326f

Please sign in to comment.