From 5416fba428231ca10e450feb72d7c033dd66c203 Mon Sep 17 00:00:00 2001 From: Alexander Kulinich Date: Mon, 17 Dec 2018 15:18:30 +0300 Subject: [PATCH] add height & width in FileItem struct --- v1/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v1/types.go b/v1/types.go index b283d44..f074ffb 100644 --- a/v1/types.go +++ b/v1/types.go @@ -302,6 +302,8 @@ type FileItem struct { ID string `json:"id"` Size int `json:"size"` Caption string `json:"caption"` + Height *int `json:"height,omitempty"` + Width *int `json:"width,omitempty"` } // MessageDataUser user data from webhook