Skip to main content

Class: ProtocolMessage

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

Implements

Constructors

new ProtocolMessage()

new ProtocolMessage(p?): ProtocolMessage

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

Parameters

p?

IProtocolMessage

Returns

ProtocolMessage

Properties

aiPsiMetadata?

optional aiPsiMetadata: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IProtocolMessage.aiPsiMetadata


aiQueryFanout?

optional aiQueryFanout: null | IAIQueryFanout

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

Implementation of

IProtocolMessage.aiQueryFanout


appStateFatalExceptionNotification?

optional appStateFatalExceptionNotification: null | IAppStateFatalExceptionNotification

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

Implementation of

IProtocolMessage.appStateFatalExceptionNotification


appStateSyncKeyRequest?

optional appStateSyncKeyRequest: null | IAppStateSyncKeyRequest

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

Implementation of

IProtocolMessage.appStateSyncKeyRequest


appStateSyncKeyShare?

optional appStateSyncKeyShare: null | IAppStateSyncKeyShare

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

Implementation of

IProtocolMessage.appStateSyncKeyShare


botFeedbackMessage?

optional botFeedbackMessage: null | IBotFeedbackMessage

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

Implementation of

IProtocolMessage.botFeedbackMessage


cloudApiThreadControlNotification?

optional cloudApiThreadControlNotification: null | ICloudAPIThreadControlNotification

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

Implementation of

IProtocolMessage.cloudApiThreadControlNotification


disappearingMode?

optional disappearingMode: null | IDisappearingMode

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

Implementation of

IProtocolMessage.disappearingMode


editedMessage?

optional editedMessage: null | IMessage

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

Implementation of

IProtocolMessage.editedMessage


ephemeralExpiration?

optional ephemeralExpiration: null | number

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

Implementation of

IProtocolMessage.ephemeralExpiration


ephemeralSettingTimestamp?

optional ephemeralSettingTimestamp: null | number | Long

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

Implementation of

IProtocolMessage.ephemeralSettingTimestamp


historySyncNotification?

optional historySyncNotification: null | IHistorySyncNotification

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

Implementation of

IProtocolMessage.historySyncNotification


initialSecurityNotificationSettingSync?

optional initialSecurityNotificationSettingSync: null | IInitialSecurityNotificationSettingSync

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

Implementation of

IProtocolMessage.initialSecurityNotificationSettingSync


invokerJid?

optional invokerJid: null | string

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

Implementation of

IProtocolMessage.invokerJid


key?

optional key: null | IMessageKey

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

Implementation of

IProtocolMessage.key


lidMigrationMappingSyncMessage?

optional lidMigrationMappingSyncMessage: null | ILIDMigrationMappingSyncMessage

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

Implementation of

IProtocolMessage.lidMigrationMappingSyncMessage


limitSharing?

optional limitSharing: null | ILimitSharing

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

Implementation of

IProtocolMessage.limitSharing


mediaNotifyMessage?

optional mediaNotifyMessage: null | IMediaNotifyMessage

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

Implementation of

IProtocolMessage.mediaNotifyMessage


memberLabel?

optional memberLabel: null | IMemberLabel

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

Implementation of

IProtocolMessage.memberLabel


peerDataOperationRequestMessage?

optional peerDataOperationRequestMessage: null | IPeerDataOperationRequestMessage

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

Implementation of

IProtocolMessage.peerDataOperationRequestMessage


peerDataOperationRequestResponseMessage?

optional peerDataOperationRequestResponseMessage: null | IPeerDataOperationRequestResponseMessage

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

Implementation of

IProtocolMessage.peerDataOperationRequestResponseMessage


requestWelcomeMessageMetadata?

optional requestWelcomeMessageMetadata: null | IRequestWelcomeMessageMetadata

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

Implementation of

IProtocolMessage.requestWelcomeMessageMetadata


timestampMs?

optional timestampMs: null | number | Long

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

Implementation of

IProtocolMessage.timestampMs


type?

optional type: null | Type

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

Implementation of

IProtocolMessage.type

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): ProtocolMessage

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

Parameters

properties?

IProtocolMessage

Returns

ProtocolMessage


decode()

static decode(r, l?): ProtocolMessage

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

ProtocolMessage


encode()

static encode(m, w?): Writer

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

Parameters

m

IProtocolMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): ProtocolMessage

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

Parameters

d

Returns

ProtocolMessage


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

ProtocolMessage

o?

IConversionOptions

Returns

object