1
0
mirror of synced 2024-11-28 16:06:04 +03:00

add caption in FileItem struct

This commit is contained in:
DmitryZagorulko 2018-11-15 17:23:52 +03:00
parent def217cb2c
commit 0708b63ef2

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