Links
Comment on page

File

File object is a JSON attached to a message that contains information about an attachment.
{
type: "image",
url: "https://urltofile.com/image.jpeg",
size: "2 MB",
name: "Assignment Notes"
}
Field
Type
Description
type
string
The type of the file.
image | video | file | gif
url
string
The url to the file
size
string
The size of the file.
name
string
The name of the file
Last modified 1mo ago