From 5f412351045e5f18eb3af92ed239568afb7ce4cb Mon Sep 17 00:00:00 2001 From: Pranas Kiziela Date: Tue, 13 Nov 2018 15:00:30 +0200 Subject: [PATCH] Add sharable property to attachments --- response.go | 1 + 1 file changed, 1 insertion(+) diff --git a/response.go b/response.go index caba15c..ecd6f0f 100644 --- a/response.go +++ b/response.go @@ -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"`