From 017341ea1af404b098790b869badc10504bcc42e Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Tue, 29 Jan 2019 13:36:00 +0300 Subject: [PATCH] add comment attribute to file channel settings --- v1/types.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/v1/types.go b/v1/types.go index 99c9f95..219fb52 100644 --- a/v1/types.go +++ b/v1/types.go @@ -105,11 +105,13 @@ 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"` + 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"` } // FullFileResponse uploaded file data