mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-22 04:46:05 +03:00
add external id to user ref
This commit is contained in:
parent
a26bc83d80
commit
f2c8b2ce83
@ -512,6 +512,7 @@ type (
|
|||||||
|
|
||||||
UserRef struct {
|
UserRef struct {
|
||||||
ID uint64 `json:"id"`
|
ID uint64 `json:"id"`
|
||||||
|
ExternalID uint64 `json:"external_id"`
|
||||||
Avatar string `json:"avatar"`
|
Avatar string `json:"avatar"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
@ -722,7 +723,7 @@ type (
|
|||||||
}
|
}
|
||||||
|
|
||||||
WsEventUserOnlineUpdatedData struct {
|
WsEventUserOnlineUpdatedData struct {
|
||||||
User *UsersResponseItem `json:"user"`
|
User *UserRef `json:"user"`
|
||||||
Online bool `json:"online"`
|
Online bool `json:"online"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user