1
0
mirror of synced 2024-11-25 06:26:03 +03:00

improve FullFileResponse struct

This commit is contained in:
DmitryZagorulko 2018-11-15 14:11:11 +03:00 committed by Alex Lushpai
parent 82d2f2fc46
commit e11dcc8312

View File

@ -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