1
0
mirror of synced 2024-11-24 22:06:06 +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"`
Text string `json:"text,omitempty"`
ImageAspectRatio ImageAspectRatio `json:"image_aspect_ratio,omitempty"`
Sharable bool `json:"sharable,omitempty"`
Elements *[]StructuredMessageElement `json:"elements,omitempty"`
Buttons *[]StructuredMessageButton `json:"buttons,omitempty"`
Url string `json:"url,omitempty"`