1
0
mirror of synced 2024-11-25 06:26:03 +03:00

Merge pull request #37 from DmitryZagorulko/master

add caption in FileItem struct
This commit is contained in:
Alex Lushpai 2018-11-15 17:29:18 +03:00 committed by GitHub
commit 1a80462c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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