From 6e31c785d94cbdcd86a3cb572aa72dab3846d723 Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Thu, 15 Nov 2018 14:11:11 +0300 Subject: [PATCH] improve FullFileResponse struct --- v1/types.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/v1/types.go b/v1/types.go index f9fdc70..54a7edd 100644 --- a/v1/types.go +++ b/v1/types.go @@ -108,13 +108,15 @@ type ChannelSettingsFilesBase struct { Editing string `json:"editing"` Quoting string `json:"quoting"` Deleting string `json:"deleting"` - Max uint64 `json:"max"` + Max uint64 `json:"max_items_count"` } // FullFileResponse uploaded file data type FullFileResponse struct { - UploadFileResponse - Link string `json:"link,omitempty"` + ID string `json:"id,omitempty"` + Type string `json:"type,omitempty"` + Size int `json:"size,omitempty"` + Url string `json:"url,omitempty"` } // UploadFileResponse uploaded file data