JsonAttachment
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 |
v1.JsonSyncMessage
.contactsv1.JsonSyncMessage
.groupsv1.StoryMessage
.filev1.SharedContactAvatar
.attachmentv1.SendRequest
.attachmentsv1.JsonPreview
.attachmentv1.JsonDataMessage
.attachments