From bed78c996b08483050519e5dc5163fcde1cdd7fb Mon Sep 17 00:00:00 2001 From: Negasus Date: Wed, 21 Feb 2024 11:13:15 +0300 Subject: [PATCH] fix typo in json tag `models.UsersShared` for field UserIDs --- CHANGELOG.md | 4 ++++ models/forum.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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