Merge pull request #37 from DmitryZagorulko/master
add caption in FileItem struct
This commit is contained in:
commit
1a80462c29
@ -299,9 +299,10 @@ type WebhookData struct {
|
|||||||
|
|
||||||
// FileItem struct
|
// FileItem struct
|
||||||
type FileItem struct {
|
type FileItem struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Size int `json:"size"`
|
Size int `json:"size"`
|
||||||
|
Caption string `json:"caption"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// MessageDataUser user data from webhook
|
// MessageDataUser user data from webhook
|
||||||
|
Loading…
Reference in New Issue
Block a user