1
0
mirror of synced 2024-11-22 04:56:06 +03:00

Merge pull request #42 from devalex86/file-item-height-width

add height & width in FileItem struct
This commit is contained in:
Alex Lushpai 2018-12-17 15:51:52 +03:00 committed by GitHub
commit 084d61bc90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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