|
@ -7,10 +7,13 @@ import ( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
// FileID is returned when a file has been sucessfully uploaded
|
|
|
// FileID is returned when a file has been sucessfully uploaded
|
|
|
type FileID struct { |
|
|
|
|
|
|
|
|
type FileIDCompat struct { |
|
|
Success bool `json:"success"` |
|
|
Success bool `json:"success"` |
|
|
ID string `json:"id"` |
|
|
ID string `json:"id"` |
|
|
} |
|
|
} |
|
|
|
|
|
type FileID struct { |
|
|
|
|
|
ID string `json:"id"` |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// FileInfo is the public file information response
|
|
|
// FileInfo is the public file information response
|
|
|
type FileInfo struct { |
|
|
type FileInfo struct { |
|
|