Fix: missing json tag in UserShared and ChatShared
parent
05cb53ea40
commit
3ba8237c47
4
types.go
4
types.go
|
@ -1337,7 +1337,7 @@ type UserShared struct {
|
||||||
// RequestID is an indentifier of the request.
|
// RequestID is an indentifier of the request.
|
||||||
RequestID int `json:"request_id"`
|
RequestID int `json:"request_id"`
|
||||||
// UserID in an identifier of the shared user.
|
// UserID in an identifier of the shared user.
|
||||||
UserID int64
|
UserID int64 `json:"user_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ChatShared contains information about the chat whose identifier
|
// ChatShared contains information about the chat whose identifier
|
||||||
|
@ -1346,7 +1346,7 @@ type ChatShared struct {
|
||||||
// RequestID is an indentifier of the request.
|
// RequestID is an indentifier of the request.
|
||||||
RequestID int `json:"request_id"`
|
RequestID int `json:"request_id"`
|
||||||
// ChatID is an identifier of the shared chat.
|
// ChatID is an identifier of the shared chat.
|
||||||
ChatID int64
|
ChatID int64 `json:"chat_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// WriteAccessAllowed represents a service message about a user
|
// WriteAccessAllowed represents a service message about a user
|
||||||
|
|
Loading…
Reference in New Issue