1
0
mirror of synced 2024-11-28 15:56:02 +03:00

Add sharable property to attachments

This commit is contained in:
Pranas Kiziela 2018-11-13 15:00:30 +02:00
parent 92cd8b953b
commit 5f41235104

View File

@ -358,6 +358,7 @@ type StructuredMessagePayload struct {
TopElementStyle TopElementStyle `json:"top_element_style,omitempty"` TopElementStyle TopElementStyle `json:"top_element_style,omitempty"`
Text string `json:"text,omitempty"` Text string `json:"text,omitempty"`
ImageAspectRatio ImageAspectRatio `json:"image_aspect_ratio,omitempty"` ImageAspectRatio ImageAspectRatio `json:"image_aspect_ratio,omitempty"`
Sharable bool `json:"sharable,omitempty"`
Elements *[]StructuredMessageElement `json:"elements,omitempty"` Elements *[]StructuredMessageElement `json:"elements,omitempty"`
Buttons *[]StructuredMessageButton `json:"buttons,omitempty"` Buttons *[]StructuredMessageButton `json:"buttons,omitempty"`
Url string `json:"url,omitempty"` Url string `json:"url,omitempty"`