Merge pull request #35 from DmitryZagorulko/feature-files
improve FullFileResponse struct
This commit is contained in:
commit
d304240257
@ -108,13 +108,15 @@ type ChannelSettingsFilesBase struct {
|
|||||||
Editing string `json:"editing"`
|
Editing string `json:"editing"`
|
||||||
Quoting string `json:"quoting"`
|
Quoting string `json:"quoting"`
|
||||||
Deleting string `json:"deleting"`
|
Deleting string `json:"deleting"`
|
||||||
Max uint64 `json:"max"`
|
Max uint64 `json:"max_items_count"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// FullFileResponse uploaded file data
|
// FullFileResponse uploaded file data
|
||||||
type FullFileResponse struct {
|
type FullFileResponse struct {
|
||||||
UploadFileResponse
|
ID string `json:"id,omitempty"`
|
||||||
Link string `json:"link,omitempty"`
|
Type string `json:"type,omitempty"`
|
||||||
|
Size int `json:"size,omitempty"`
|
||||||
|
Url string `json:"url,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// UploadFileResponse uploaded file data
|
// UploadFileResponse uploaded file data
|
||||||
|
Loading…
Reference in New Issue
Block a user