diff --git a/CHANGELOG.md b/CHANGELOG.md index 726d5ae..af7849c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/models/forum.go b/models/forum.go index aecd5fb..5457cfa 100644 --- a/models/forum.go +++ b/models/forum.go @@ -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