Skip to content

Commit

Permalink
Use any type for ChatID in SetGameScoreParams and GetGameHighScorePar…
Browse files Browse the repository at this point in the history
…ams (#88)
  • Loading branch information
drifteri authored Jun 11, 2024
1 parent 6aa9af5 commit de43730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions methods_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -924,14 +924,14 @@ type SetGameScoreParams struct {
Score int `json:"score"`
Force bool `json:"force,omitempty"`
DisableEditMessage bool `json:"disable_edit_message,omitempty"`
ChatID int `json:"chat_id,omitempty"`
ChatID any `json:"chat_id,omitempty"`
MessageID int `json:"message_id,omitempty"`
InlineMessageID int `json:"inline_message_id,omitempty"`
}

type GetGameHighScoresParams struct {
UserID int64 `json:"user_id"`
ChatID int `json:"chat_id,omitempty"`
ChatID any `json:"chat_id,omitempty"`
MessageID int `json:"message_id,omitempty"`
InlineMessageID int `json:"inline_message_id,omitempty"`
}

0 comments on commit de43730

Please sign in to comment.