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