add voice audio message struct
This commit is contained in:
parent
ce5515c52e
commit
a670e8561f
11
v1/types.go
11
v1/types.go
@ -106,6 +106,7 @@ type ChannelSettings struct {
|
||||
CustomerExternalID string `json:"customer_external_id,omitempty"`
|
||||
SendingPolicy SendingPolicy `json:"sending_policy,omitempty"`
|
||||
Suggestions ChannelSettingsSuggestions `json:"suggestions,omitempty"`
|
||||
Audio ChannelSettingsAudioBase `json:"audio"`
|
||||
}
|
||||
|
||||
// Product type.
|
||||
@ -148,6 +149,16 @@ type ChannelSettingsFilesBase struct {
|
||||
CommentMaxCharsCount int `json:"comment_max_chars_count,omitempty"`
|
||||
}
|
||||
|
||||
// ChannelSettingsAudioBase struct.
|
||||
type ChannelSettingsAudioBase struct {
|
||||
Creating string `json:"creating,omitempty"`
|
||||
Quoting string `json:"quoting,omitempty"`
|
||||
Deleting string `json:"deleting,omitempty"`
|
||||
Max uint64 `json:"max_items_count,omitempty"`
|
||||
CommentAttribute string `json:"comment_attribute,omitempty"`
|
||||
CommentMaxCharsCount int `json:"comment_max_chars_count,omitempty"`
|
||||
}
|
||||
|
||||
type SendingPolicy struct {
|
||||
NewCustomer string `json:"new_customer,omitempty"`
|
||||
AfterReplyTimeout string `json:"after_reply_timeout,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user