add voice audio message struct & update file struct
This commit is contained in:
commit
3cb09fb728
22
v1/types.go
22
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 ChannelSettingsAudio `json:"audio"`
|
||||
}
|
||||
|
||||
// Product type.
|
||||
@ -139,13 +140,20 @@ type ChannelSettingsText struct {
|
||||
|
||||
// ChannelSettingsFilesBase struct.
|
||||
type ChannelSettingsFilesBase struct {
|
||||
Creating string `json:"creating,omitempty"`
|
||||
Editing string `json:"editing,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"`
|
||||
Creating string `json:"creating,omitempty"`
|
||||
Editing string `json:"editing,omitempty"`
|
||||
Quoting string `json:"quoting,omitempty"`
|
||||
Deleting string `json:"deleting,omitempty"`
|
||||
Max uint64 `json:"max_items_count,omitempty"`
|
||||
NoteMaxCharsCount *uint16 `json:"note_max_chars_count,omitempty"`
|
||||
}
|
||||
|
||||
// ChannelSettingsAudio struct.
|
||||
type ChannelSettingsAudio struct {
|
||||
Creating string `json:"creating,omitempty"`
|
||||
Quoting string `json:"quoting,omitempty"`
|
||||
Deleting string `json:"deleting,omitempty"`
|
||||
MaxItemsCount uint64 `json:"max_items_count,omitempty"`
|
||||
}
|
||||
|
||||
type SendingPolicy struct {
|
||||
|
Loading…
Reference in New Issue
Block a user