1
0
mirror of synced 2024-11-22 04:56:06 +03:00

add product & order to channel settings

This commit is contained in:
Alex Lushpai 2018-09-13 20:32:26 +03:00
parent 02ac4efe62
commit f069f93b17

View File

@ -43,6 +43,20 @@ type ChannelSettings struct {
SpamAllowed bool `json:"spam_allowed"`
Status Status `json:"status"`
Text ChannelSettingsText `json:"text"`
Product Product `json:"product"`
Order Order `json:"order"`
}
type Product struct {
Creating string `json:"creating"`
Editing string `json:"editing"`
Deleting string `json:"deleting"`
}
type Order struct {
Creating string `json:"creating"`
Editing string `json:"editing"`
Deleting string `json:"deleting"`
}
// Status struct