mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-21 20:36: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 {
|
||||
ID uint64 `json:"id"`
|
||||
ExternalID uint64 `json:"external_id"`
|
||||
Avatar string `json:"avatar"`
|
||||
Type string `json:"type"`
|
||||
Name string `json:"name"`
|
||||
@ -722,7 +723,7 @@ type (
|
||||
}
|
||||
|
||||
WsEventUserOnlineUpdatedData struct {
|
||||
User *UsersResponseItem `json:"user"`
|
||||
User *UserRef `json:"user"`
|
||||
Online bool `json:"online"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user