1
0
mirror of synced 2024-11-21 20:46:05 +03:00

Merge pull request #35 from DmitryZagorulko/feature-files

improve FullFileResponse struct
This commit is contained in:
Alex Lushpai 2018-11-15 15:30:22 +03:00 committed by GitHub
commit d304240257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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