Skip to main content

Class: InvoiceMessage

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

Implements

Constructors

new InvoiceMessage()

new InvoiceMessage(p?): InvoiceMessage

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

Parameters

p?

IInvoiceMessage

Returns

InvoiceMessage

Properties

attachmentDirectPath?

optional attachmentDirectPath: null | string

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

Implementation of

IInvoiceMessage.attachmentDirectPath


attachmentFileEncSha256?

optional attachmentFileEncSha256: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IInvoiceMessage.attachmentFileEncSha256


attachmentFileSha256?

optional attachmentFileSha256: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IInvoiceMessage.attachmentFileSha256


attachmentJpegThumbnail?

optional attachmentJpegThumbnail: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IInvoiceMessage.attachmentJpegThumbnail


attachmentMediaKey?

optional attachmentMediaKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IInvoiceMessage.attachmentMediaKey


attachmentMediaKeyTimestamp?

optional attachmentMediaKeyTimestamp: null | number | Long

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

Implementation of

IInvoiceMessage.attachmentMediaKeyTimestamp


attachmentMimetype?

optional attachmentMimetype: null | string

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

Implementation of

IInvoiceMessage.attachmentMimetype


attachmentType?

optional attachmentType: null | AttachmentType

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

Implementation of

IInvoiceMessage.attachmentType


note?

optional note: null | string

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

Implementation of

IInvoiceMessage.note


token?

optional token: null | string

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

Implementation of

IInvoiceMessage.token

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): InvoiceMessage

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

Parameters

properties?

IInvoiceMessage

Returns

InvoiceMessage


decode()

static decode(r, l?): InvoiceMessage

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

InvoiceMessage


encode()

static encode(m, w?): Writer

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

Parameters

m

IInvoiceMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): InvoiceMessage

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

Parameters

d

Returns

InvoiceMessage


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

InvoiceMessage

o?

IConversionOptions

Returns

object