1
0
mirror of synced 2024-11-25 14:36:03 +03:00

add height & width in FileItem struct

This commit is contained in:
Alexander Kulinich 2018-12-17 15:18:30 +03:00
parent 878ef2f01a
commit 5416fba428

View File

@ -302,6 +302,8 @@ type FileItem struct {
ID string `json:"id"` ID string `json:"id"`
Size int `json:"size"` Size int `json:"size"`
Caption string `json:"caption"` Caption string `json:"caption"`
Height *int `json:"height,omitempty"`
Width *int `json:"width,omitempty"`
} }
// MessageDataUser user data from webhook // MessageDataUser user data from webhook