signald
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

JsonAttachment

[source code]

represents a file attached to a message. When sending, only filename is required.

This type can contain the following fields:

field type info
blurhash String
caption String
contentType String
customFilename String the original name of the file
digest String
filename String when sending, the path to the local file to upload
height int
id String
key String
size int
storedFilename String when receiving, the path that file has been downloaded to
voiceNote boolean
width int

References