Skip to content

Commit

Permalink
отправка сообщения с типами product, order
Browse files Browse the repository at this point in the history
  • Loading branch information
addfs committed Jul 23, 2024
1 parent 28e6945 commit 607dc2a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,14 @@ type Utm struct {

// Message struct.
type Message struct {
ExternalID string `json:"external_id"`
Type string `json:"type,omitempty"`
Text string `json:"text,omitempty"`
Note string `json:"note,omitempty"`
Items []Item `json:"items,omitempty"`
PageLink string `json:"page_link,omitempty"`
ExternalID string `json:"external_id"`
Type string `json:"type,omitempty"`
Text string `json:"text,omitempty"`
Note string `json:"note,omitempty"`
Items []Item `json:"items,omitempty"`
PageLink string `json:"page_link,omitempty"`
Product *MessageDataProduct `json:"product,omitempty"`
Order *Order `json:"order,omitempty"`
}

// SendMessage struct.
Expand Down

0 comments on commit 607dc2a

Please sign in to comment.