From 0708b63ef26514efa60f5915a424b50d4719d456 Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Thu, 15 Nov 2018 17:23:52 +0300 Subject: [PATCH] add caption in FileItem struct --- v1/types.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/v1/types.go b/v1/types.go index 54a7edd..7b3da2b 100644 --- a/v1/types.go +++ b/v1/types.go @@ -299,9 +299,10 @@ type WebhookData struct { // FileItem struct type FileItem struct { - ID string `json:"id"` - Name string `json:"name"` - Size int `json:"size"` + ID string `json:"id"` + Name string `json:"name"` + Size int `json:"size"` + Caption string `json:"caption"` } // MessageDataUser user data from webhook