Skip to content

Commit

Permalink
fix typo in json tag models.UsersShared for field UserIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
negasus committed Feb 21, 2024
1 parent ceeb95e commit bed78c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.1.1 (2024-02-21)

- fix typo in json tag `models.UsersShared` for field UserIDs

## v1.1.0 (2024-02-19)

- support API v7.1
Expand Down
2 changes: 1 addition & 1 deletion models/forum.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type UserShared struct {
// UsersShared https://core.telegram.org/bots/api#usersshared
type UsersShared struct {
RequestID int `json:"request_id"`
UserIDs []int64 `json:"users_id"`
UserIDs []int64 `json:"user_ids"`
}

// ChatShared https://core.telegram.org/bots/api#chatshared
Expand Down

0 comments on commit bed78c9

Please sign in to comment.