Skip to main content

Class: SecretEncryptedMessage

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

Implements

Constructors

new SecretEncryptedMessage()

new SecretEncryptedMessage(p?): SecretEncryptedMessage

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

Parameters

p?

ISecretEncryptedMessage

Returns

SecretEncryptedMessage

Properties

encIv?

optional encIv: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISecretEncryptedMessage.encIv


encPayload?

optional encPayload: null | Uint8Array<ArrayBufferLike>

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

Implementation of

ISecretEncryptedMessage.encPayload


secretEncType?

optional secretEncType: null | SecretEncType

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

Implementation of

ISecretEncryptedMessage.secretEncType


targetMessageKey?

optional targetMessageKey: null | IMessageKey

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

Implementation of

ISecretEncryptedMessage.targetMessageKey

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): SecretEncryptedMessage

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

Parameters

properties?

ISecretEncryptedMessage

Returns

SecretEncryptedMessage


decode()

static decode(r, l?): SecretEncryptedMessage

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

SecretEncryptedMessage


encode()

static encode(m, w?): Writer

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

Parameters

m

ISecretEncryptedMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): SecretEncryptedMessage

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

Parameters

d

Returns

SecretEncryptedMessage


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

SecretEncryptedMessage

o?

IConversionOptions

Returns

object