fix: omitempty item_url
This commit is contained in:
parent
b984d44124
commit
34e47adaff
@ -368,7 +368,7 @@ type StructuredMessagePayload struct {
|
|||||||
type StructuredMessageElement struct {
|
type StructuredMessageElement struct {
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
ImageURL string `json:"image_url"`
|
ImageURL string `json:"image_url"`
|
||||||
ItemURL string `json:"item_url"`
|
ItemURL string `json:"item_url,omitempty"`
|
||||||
Subtitle string `json:"subtitle"`
|
Subtitle string `json:"subtitle"`
|
||||||
DefaultAction *DefaultAction `json:"default_action,omitempty"`
|
DefaultAction *DefaultAction `json:"default_action,omitempty"`
|
||||||
Buttons []StructuredMessageButton `json:"buttons"`
|
Buttons []StructuredMessageButton `json:"buttons"`
|
||||||
|
Loading…
Reference in New Issue
Block a user