From 188835fec6ee4060aa38c866a7578580f586fa41 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Tue, 11 Sep 2018 12:32:36 +0300 Subject: [PATCH] add responsible to dialog struct --- v1/types.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/v1/types.go b/v1/types.go index ed7c385..71a02e8 100644 --- a/v1/types.go +++ b/v1/types.go @@ -399,12 +399,13 @@ type ( } Dialog struct { - ID uint64 `json:"id"` - BeginMessageID *uint64 `json:"begin_message_id"` - EndingMessageID *uint64 `json:"ending_message_id"` - Chat *Chat `json:"chat"` - CreatedAt string `json:"created_at"` - ClosedAt *string `json:"closed_at"` + ID uint64 `json:"id"` + BeginMessageID *uint64 `json:"begin_message_id"` + EndingMessageID *uint64 `json:"ending_message_id"` + Chat *Chat `json:"chat"` + Responsible *Responsible `json:"responsible"` + CreatedAt string `json:"created_at"` + ClosedAt *string `json:"closed_at"` } )