Implements
Constructors
new DocumentMessage()
new DocumentMessage(Defined in: WAProto/index.d.ts:6059p?):DocumentMessage
Parameters
p?
IDocumentMessage
Returns
DocumentMessage
Properties
accessibilityLabel?
Defined in: WAProto/index.d.ts:6080optionalaccessibilityLabel:null|string
Implementation of
IDocumentMessage.accessibilityLabel
caption?
Defined in: WAProto/index.d.ts:6079optionalcaption:null|string
Implementation of
IDocumentMessage.caption
contactVcard?
Defined in: WAProto/index.d.ts:6071optionalcontactVcard:null|boolean
Implementation of
IDocumentMessage.contactVcard
contextInfo?
Defined in: WAProto/index.d.ts:6076optionalcontextInfo:null|IContextInfo
Implementation of
IDocumentMessage.contextInfo
directPath?
Defined in: WAProto/index.d.ts:6069optionaldirectPath:null|string
Implementation of
IDocumentMessage.directPath
fileEncSha256?
Defined in: WAProto/index.d.ts:6068optionalfileEncSha256:null|Uint8Array<ArrayBufferLike>
Implementation of
IDocumentMessage.fileEncSha256
fileLength?
Defined in: WAProto/index.d.ts:6064optionalfileLength:null|number|Long
Implementation of
IDocumentMessage.fileLength
fileName?
Defined in: WAProto/index.d.ts:6067optionalfileName:null|string
Implementation of
IDocumentMessage.fileName
fileSha256?
Defined in: WAProto/index.d.ts:6063optionalfileSha256:null|Uint8Array<ArrayBufferLike>
Implementation of
IDocumentMessage.fileSha256
jpegThumbnail?
Defined in: WAProto/index.d.ts:6075optionaljpegThumbnail:null|Uint8Array<ArrayBufferLike>
Implementation of
IDocumentMessage.jpegThumbnail
mediaKey?
Defined in: WAProto/index.d.ts:6066optionalmediaKey:null|Uint8Array<ArrayBufferLike>
Implementation of
IDocumentMessage.mediaKey
mediaKeyDomain?
Defined in: WAProto/index.d.ts:6081optionalmediaKeyDomain:null|MediaKeyDomain
Implementation of
IDocumentMessage.mediaKeyDomain
mediaKeyTimestamp?
Defined in: WAProto/index.d.ts:6070optionalmediaKeyTimestamp:null|number|Long
Implementation of
IDocumentMessage.mediaKeyTimestamp
mimetype?
Defined in: WAProto/index.d.ts:6061optionalmimetype:null|string
Implementation of
IDocumentMessage.mimetype
pageCount?
Defined in: WAProto/index.d.ts:6065optionalpageCount:null|number
Implementation of
IDocumentMessage.pageCount
thumbnailDirectPath?
Defined in: WAProto/index.d.ts:6072optionalthumbnailDirectPath:null|string
Implementation of
IDocumentMessage.thumbnailDirectPath
thumbnailEncSha256?
Defined in: WAProto/index.d.ts:6074optionalthumbnailEncSha256:null|Uint8Array<ArrayBufferLike>
Implementation of
IDocumentMessage.thumbnailEncSha256
thumbnailHeight?
Defined in: WAProto/index.d.ts:6077optionalthumbnailHeight:null|number
Implementation of
IDocumentMessage.thumbnailHeight
thumbnailSha256?
Defined in: WAProto/index.d.ts:6073optionalthumbnailSha256:null|Uint8Array<ArrayBufferLike>
Implementation of
IDocumentMessage.thumbnailSha256
thumbnailWidth?
Defined in: WAProto/index.d.ts:6078optionalthumbnailWidth:null|number
Implementation of
IDocumentMessage.thumbnailWidth
title?
Defined in: WAProto/index.d.ts:6062optionaltitle:null|string
Implementation of
IDocumentMessage.title
url?
Defined in: WAProto/index.d.ts:6060optionalurl:null|string
Implementation of
IDocumentMessage.url
Methods
create()
Defined in: WAProto/index.d.ts:6082staticcreate(properties?):DocumentMessage
Parameters
properties?
IDocumentMessage
Returns
DocumentMessage
decode()
Defined in: WAProto/index.d.ts:6084staticdecode(r,l?):DocumentMessage
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
DocumentMessage
encode()
Defined in: WAProto/index.d.ts:6083staticencode(m,w?):Writer
Parameters
m
IDocumentMessage
w?
Writer
Returns
Writer
fromObject()
Defined in: WAProto/index.d.ts:6085staticfromObject(d):DocumentMessage
Parameters
d
Returns
DocumentMessage
getTypeUrl()
Defined in: WAProto/index.d.ts:6088staticgetTypeUrl(typeUrlPrefix?):string
Parameters
typeUrlPrefix?
string
Returns
string
toJSON()
toJSON(): object
Defined in: WAProto/index.d.ts:6087
Returns
object
toObject()
Defined in: WAProto/index.d.ts:6086statictoObject(m,o?):object
Parameters
m
DocumentMessage
o?
IConversionOptions
Returns
object