Fix: add json tag to fields ChatID and UserID in structs ChatShared and UserShared

bot-api-6.5
OvyFlash 2023-02-14 22:36:09 +02:00
parent 16635e50ea
commit 4156b2bccf
1 changed files with 2 additions and 2 deletions

View File

@ -1337,7 +1337,7 @@ type UserShared struct {
// RequestID is an indentifier of the request.
RequestID int `json:"request_id"`
// UserID in an identifier of the shared user.
UserID int64
UserID int64 `json:"user_id"`
}
// ChatShared contains information about the chat whose identifier
@ -1346,7 +1346,7 @@ type ChatShared struct {
// RequestID is an indentifier of the request.
RequestID int `json:"request_id"`
// ChatID is an identifier of the shared chat.
ChatID int64
ChatID int64 `json:"chat_id"`
}
// WriteAccessAllowed represents a service message about a user