Add ShareContents property
This commit is contained in:
parent
7a216666a1
commit
52e988e293
17
response.go
17
response.go
@ -392,14 +392,15 @@ type DefaultAction struct {
|
|||||||
|
|
||||||
// StructuredMessageButton is a response containing buttons
|
// StructuredMessageButton is a response containing buttons
|
||||||
type StructuredMessageButton struct {
|
type StructuredMessageButton struct {
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
URL string `json:"url,omitempty"`
|
URL string `json:"url,omitempty"`
|
||||||
Title string `json:"title,omitempty"`
|
Title string `json:"title,omitempty"`
|
||||||
Payload string `json:"payload,omitempty"`
|
Payload string `json:"payload,omitempty"`
|
||||||
WebviewHeightRatio string `json:"webview_height_ratio,omitempty"`
|
WebviewHeightRatio string `json:"webview_height_ratio,omitempty"`
|
||||||
MessengerExtensions bool `json:"messenger_extensions,omitempty"`
|
MessengerExtensions bool `json:"messenger_extensions,omitempty"`
|
||||||
FallbackURL string `json:"fallback_url,omitempty"`
|
FallbackURL string `json:"fallback_url,omitempty"`
|
||||||
WebviewShareButton string `json:"webview_share_button,omitempty"`
|
WebviewShareButton string `json:"webview_share_button,omitempty"`
|
||||||
|
ShareContents *StructuredMessageData `json:"share_contents,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SendSenderAction is the information about sender action
|
// SendSenderAction is the information about sender action
|
||||||
|
Loading…
Reference in New Issue
Block a user