1
0
mirror of synced 2024-11-22 13:06:05 +03:00

edit voice audio message struct

This commit is contained in:
Tyschitskaya Maria 2022-06-14 16:53:10 +03:00
parent a670e8561f
commit 3baf86c345

View File

@ -106,7 +106,7 @@ type ChannelSettings struct {
CustomerExternalID string `json:"customer_external_id,omitempty"` CustomerExternalID string `json:"customer_external_id,omitempty"`
SendingPolicy SendingPolicy `json:"sending_policy,omitempty"` SendingPolicy SendingPolicy `json:"sending_policy,omitempty"`
Suggestions ChannelSettingsSuggestions `json:"suggestions,omitempty"` Suggestions ChannelSettingsSuggestions `json:"suggestions,omitempty"`
Audio ChannelSettingsAudioBase `json:"audio"` Audio ChannelSettingsAudio `json:"audio"`
} }
// Product type. // Product type.
@ -145,18 +145,15 @@ type ChannelSettingsFilesBase struct {
Quoting string `json:"quoting,omitempty"` Quoting string `json:"quoting,omitempty"`
Deleting string `json:"deleting,omitempty"` Deleting string `json:"deleting,omitempty"`
Max uint64 `json:"max_items_count,omitempty"` Max uint64 `json:"max_items_count,omitempty"`
CommentAttribute string `json:"comment_attribute,omitempty"` NoteMaxCharsCount *uint16 `json:"note_max_chars_count,omitempty"`
CommentMaxCharsCount int `json:"comment_max_chars_count,omitempty"`
} }
// ChannelSettingsAudioBase struct. // ChannelSettingsAudio struct.
type ChannelSettingsAudioBase struct { type ChannelSettingsAudio struct {
Creating string `json:"creating,omitempty"` Creating string `json:"creating,omitempty"`
Quoting string `json:"quoting,omitempty"` Quoting string `json:"quoting,omitempty"`
Deleting string `json:"deleting,omitempty"` Deleting string `json:"deleting,omitempty"`
Max uint64 `json:"max_items_count,omitempty"` MaxItemsCount uint64 `json:"max_items_count,omitempty"`
CommentAttribute string `json:"comment_attribute,omitempty"`
CommentMaxCharsCount int `json:"comment_max_chars_count,omitempty"`
} }
type SendingPolicy struct { type SendingPolicy struct {