Adds missing properties for web_url button in StructuredMessageButton. (#29)
* Adds the Referral webhook and PostBacks's referral structure * Adds missing properties for web_url button in StructuredMessageButton. See https://developers.facebook.com/docs/messenger-platform/send-api-reference/url-button * Fixes the type of StructuredMessageButton.MessengerExtensions
This commit is contained in:
parent
74b5cbe4ac
commit
66c2f90a07
@ -382,6 +382,10 @@ type StructuredMessageButton struct {
|
||||
URL string `json:"url,omitempty"`
|
||||
Title string `json:"title,omitempty"`
|
||||
Payload string `json:"payload,omitempty"`
|
||||
WebviewHeightRatio string `json:"webview_height_ratio,omitempty"`
|
||||
MessengerExtensions bool `json:"messenger_extensions,omitempty"`
|
||||
FallbackURL string `json:"fallback_url,omitempty"`
|
||||
WebviewShareButton string `json:"webview_share_button,omitempty"`
|
||||
}
|
||||
|
||||
// SendSenderAction is the information about sender action
|
||||
|
Loading…
Reference in New Issue
Block a user