mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-21 20:36:05 +03:00
Added preview URL & width / height to attachments deserialized info
This commit is contained in:
commit
b9ec18dd7d
11
v1/types.go
11
v1/types.go
@ -437,10 +437,13 @@ type (
|
||||
}
|
||||
|
||||
Attachment struct {
|
||||
ID uint64 `json:"id"`
|
||||
Mime string `json:"type"`
|
||||
Caption string `json:"caption"`
|
||||
Size uint64 `json:"size"`
|
||||
ID uint64 `json:"id"`
|
||||
Mime string `json:"type"`
|
||||
Caption string `json:"caption"`
|
||||
Size uint64 `json:"size"`
|
||||
PreviewURL *string `json:"preview_url,omitempty"`
|
||||
Height *uint64 `json:"height,omitempty"`
|
||||
Width *uint64 `json:"width,omitempty"`
|
||||
}
|
||||
|
||||
MessageProduct struct {
|
||||
|
Loading…
Reference in New Issue
Block a user