update struct for templates
This commit is contained in:
parent
4206ad2695
commit
b821553586
@ -314,8 +314,12 @@ type WebhookData struct {
|
|||||||
Product *MessageDataProduct `json:"product,omitempty"`
|
Product *MessageDataProduct `json:"product,omitempty"`
|
||||||
Order *MessageDataOrder `json:"order,omitempty"`
|
Order *MessageDataOrder `json:"order,omitempty"`
|
||||||
Items *[]FileItem `json:"items,omitempty"`
|
Items *[]FileItem `json:"items,omitempty"`
|
||||||
TemplateCode string `json:"template_code,omitempty"`
|
Template *TemplateInfo `json:"template,omitempty"`
|
||||||
TemplateArgs []string `json:"template_args,omitempty"`
|
}
|
||||||
|
|
||||||
|
type TemplateInfo struct {
|
||||||
|
Code string `json:"code,omitempty"`
|
||||||
|
Args []string `json:"args,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// FileItem struct
|
// FileItem struct
|
||||||
|
Loading…
Reference in New Issue
Block a user