File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ type TransferChatOptions struct {
5656}
5757
5858type PostbackEcommerce struct {
59- ProductID string `json:"product_id,omitempty "`
60- OptionID string `json:"option_id,omitempty "`
59+ ProductID string `json:"product_id"`
60+ OptionID string `json:"option_id"`
6161 Quantity int `json:"quantity,omitempty"`
6262}
6363
Original file line number Diff line number Diff line change @@ -504,8 +504,8 @@ type Postback struct {
504504}
505505
506506type PostbackEcommerce struct {
507- ProductID string `json:"product_id,omitempty "`
508- OptionID string `json:"option_id,omitempty "`
507+ ProductID string `json:"product_id"`
508+ OptionID string `json:"option_id"`
509509 Quantity int `json:"quantity,omitempty"`
510510}
511511
You can’t perform that action at this time.
0 commit comments