mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-22 04:46:05 +03:00
feat: Added preview URL & width / height to attachments deserialized info
This commit is contained in:
parent
cf53df6f9f
commit
58791d23a2
@ -441,6 +441,9 @@ type (
|
|||||||
Mime string `json:"type"`
|
Mime string `json:"type"`
|
||||||
Caption string `json:"caption"`
|
Caption string `json:"caption"`
|
||||||
Size uint64 `json:"size"`
|
Size uint64 `json:"size"`
|
||||||
|
PreviewURL *string `json:"preview_url,omitempty"`
|
||||||
|
Height *uint64 `json:"height,omitempty"`
|
||||||
|
Width *uint64 `json:"width,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageProduct struct {
|
MessageProduct struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user