From b625439a0c033437e78db48f17e43b4ea0be65e5 Mon Sep 17 00:00:00 2001 From: Zaytsev Kirill Date: Fri, 24 Sep 2021 10:04:15 +0300 Subject: [PATCH] feat: Added pointer to information about a user which dialog was assigned to (#41) --- v1/types.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/v1/types.go b/v1/types.go index b3513b7..56cee00 100644 --- a/v1/types.go +++ b/v1/types.go @@ -413,9 +413,10 @@ type ( } SystemMessage struct { - Action string `json:"action"` - Dialog *SystemMessageDialog `json:"dialog,omitempty"` - User *UserRef `json:"user,omitempty"` + Action string `json:"action"` + Dialog *SystemMessageDialog `json:"dialog,omitempty"` + User *UserRef `json:"user,omitempty"` + Responsible *UserRef `json:"responsible,omitempty"` } SystemMessageDialog struct {