1
0
mirror of synced 2024-11-22 04:56:06 +03:00

improve FullFileResponse struct

This commit is contained in:
DmitryZagorulko 2018-11-15 14:11:11 +03:00
parent 483fd79b52
commit 6e31c785d9

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