Added preview URL & width / height to attachments deserialized info

This commit is contained in:
Alex Lushpai 2022-02-25 14:17:16 +03:00 committed by GitHub
commit b9ec18dd7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,6 +441,9 @@ type (
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 {