Pular para o conteúdo principal

attachment

idinteger
message_idinteger

The message the file came in on

file_typestring

image, audio, video, file, location, fallback, share, story_mention, contact

extensionstring
file_sizeinteger

Size in bytes

data_urlstring

URL of the file itself

thumb_urlstring

URL of the thumbnail, for the types that have one

widthinteger
heightinteger
created_atinteger

Unix timestamp of the message the file arrived on

senderobject

Who sent it. Absent for a message with no sender, such as a system note.

attachment
{
"id": 0,
"message_id": 0,
"file_type": "string",
"extension": "string",
"file_size": 0,
"data_url": "string",
"thumb_url": "string",
"width": 0,
"height": 0,
"created_at": 0,
"sender": {}
}