Skip to main content

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?

IDocumentMessage

Returns

DocumentMessage

Properties

accessibilityLabel?

optional accessibilityLabel: null | string

Defined in: WAProto/index.d.ts:6080

Implementation of

IDocumentMessage.accessibilityLabel


caption?

optional caption: null | string

Defined in: WAProto/index.d.ts:6079

Implementation of

IDocumentMessage.caption


contactVcard?

optional contactVcard: null | boolean

Defined in: WAProto/index.d.ts:6071

Implementation of

IDocumentMessage.contactVcard


contextInfo?

optional contextInfo: null | IContextInfo

Defined in: WAProto/index.d.ts:6076

Implementation of

IDocumentMessage.contextInfo


directPath?

optional directPath: null | string

Defined in: WAProto/index.d.ts:6069

Implementation of

IDocumentMessage.directPath


fileEncSha256?

optional fileEncSha256: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:6068

Implementation of

IDocumentMessage.fileEncSha256


fileLength?

optional fileLength: null | number | Long

Defined in: WAProto/index.d.ts:6064

Implementation of

IDocumentMessage.fileLength


fileName?

optional fileName: null | string

Defined in: WAProto/index.d.ts:6067

Implementation of

IDocumentMessage.fileName


fileSha256?

optional fileSha256: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:6063

Implementation of

IDocumentMessage.fileSha256


jpegThumbnail?

optional jpegThumbnail: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:6075

Implementation of

IDocumentMessage.jpegThumbnail


mediaKey?

optional mediaKey: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:6066

Implementation of

IDocumentMessage.mediaKey


mediaKeyDomain?

optional mediaKeyDomain: null | MediaKeyDomain

Defined in: WAProto/index.d.ts:6081

Implementation of

IDocumentMessage.mediaKeyDomain


mediaKeyTimestamp?

optional mediaKeyTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:6070

Implementation of

IDocumentMessage.mediaKeyTimestamp


mimetype?

optional mimetype: null | string

Defined in: WAProto/index.d.ts:6061

Implementation of

IDocumentMessage.mimetype


pageCount?

optional pageCount: null | number

Defined in: WAProto/index.d.ts:6065

Implementation of

IDocumentMessage.pageCount


thumbnailDirectPath?

optional thumbnailDirectPath: null | string

Defined in: WAProto/index.d.ts:6072

Implementation of

IDocumentMessage.thumbnailDirectPath


thumbnailEncSha256?

optional thumbnailEncSha256: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:6074

Implementation of

IDocumentMessage.thumbnailEncSha256


thumbnailHeight?

optional thumbnailHeight: null | number

Defined in: WAProto/index.d.ts:6077

Implementation of

IDocumentMessage.thumbnailHeight


thumbnailSha256?

optional thumbnailSha256: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:6073

Implementation of

IDocumentMessage.thumbnailSha256


thumbnailWidth?

optional thumbnailWidth: null | number

Defined in: WAProto/index.d.ts:6078

Implementation of

IDocumentMessage.thumbnailWidth


title?

optional title: null | string

Defined in: WAProto/index.d.ts:6062

Implementation of

IDocumentMessage.title


url?

optional url: null | string

Defined in: WAProto/index.d.ts:6060

Implementation of

IDocumentMessage.url

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:6087

Returns

object


create()

static create(properties?): DocumentMessage

Defined in: WAProto/index.d.ts:6082

Parameters

properties?

IDocumentMessage

Returns

DocumentMessage


decode()

static decode(r, l?): DocumentMessage

Defined in: WAProto/index.d.ts:6084

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

DocumentMessage


encode()

static encode(m, w?): Writer

Defined in: WAProto/index.d.ts:6083

Parameters

m

IDocumentMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): DocumentMessage

Defined in: WAProto/index.d.ts:6085

Parameters

d

Returns

DocumentMessage


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:6088

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

Defined in: WAProto/index.d.ts:6086

Parameters

m

DocumentMessage

o?

IConversionOptions

Returns

object