Skip to main content

Class: MsgOpaqueData

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

Represents a MsgOpaqueData.

Implements

Constructors

new MsgOpaqueData()

new MsgOpaqueData(properties?): MsgOpaqueData

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

Constructs a new MsgOpaqueData.

Parameters

properties?

IMsgOpaqueData

Properties to set

Returns

MsgOpaqueData

Properties

body?

optional body: null | string

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

MsgOpaqueData body.

Implementation of

IMsgOpaqueData.body


botMessageSecret?

optional botMessageSecret: null | Uint8Array<ArrayBufferLike>

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

MsgOpaqueData botMessageSecret.

Implementation of

IMsgOpaqueData.botMessageSecret


caption?

optional caption: null | string

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

MsgOpaqueData caption.

Implementation of

IMsgOpaqueData.caption


clientUrl?

optional clientUrl: null | string

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

MsgOpaqueData clientUrl.

Implementation of

IMsgOpaqueData.clientUrl


description?

optional description: null | string

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

MsgOpaqueData description.

Implementation of

IMsgOpaqueData.description


encIv?

optional encIv: null | Uint8Array<ArrayBufferLike>

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

MsgOpaqueData encIv.

Implementation of

IMsgOpaqueData.encIv


encPayload?

optional encPayload: null | Uint8Array<ArrayBufferLike>

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

MsgOpaqueData encPayload.

Implementation of

IMsgOpaqueData.encPayload


encPollVote?

optional encPollVote: null | IPollEncValue

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

MsgOpaqueData encPollVote.

Implementation of

IMsgOpaqueData.encPollVote


encReactionEncIv?

optional encReactionEncIv: null | Uint8Array<ArrayBufferLike>

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

MsgOpaqueData encReactionEncIv.

Implementation of

IMsgOpaqueData.encReactionEncIv


encReactionEncPayload?

optional encReactionEncPayload: null | Uint8Array<ArrayBufferLike>

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

MsgOpaqueData encReactionEncPayload.

Implementation of

IMsgOpaqueData.encReactionEncPayload


encReactionTargetMessageKey?

optional encReactionTargetMessageKey: null | string

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

MsgOpaqueData encReactionTargetMessageKey.

Implementation of

IMsgOpaqueData.encReactionTargetMessageKey


eventDescription?

optional eventDescription: null | string

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

MsgOpaqueData eventDescription.

Implementation of

IMsgOpaqueData.eventDescription


eventEndTime?

optional eventEndTime: null | number | Long

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

MsgOpaqueData eventEndTime.

Implementation of

IMsgOpaqueData.eventEndTime


optional eventJoinLink: null | string

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

MsgOpaqueData eventJoinLink.

Implementation of

IMsgOpaqueData.eventJoinLink


eventLocation?

optional eventLocation: null | IEventLocation

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

MsgOpaqueData eventLocation.

Implementation of

IMsgOpaqueData.eventLocation


eventName?

optional eventName: null | string

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

MsgOpaqueData eventName.

Implementation of

IMsgOpaqueData.eventName


eventStartTime?

optional eventStartTime: null | number | Long

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

MsgOpaqueData eventStartTime.

Implementation of

IMsgOpaqueData.eventStartTime


futureproofBuffer?

optional futureproofBuffer: null | Uint8Array<ArrayBufferLike>

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

MsgOpaqueData futureproofBuffer.

Implementation of

IMsgOpaqueData.futureproofBuffer


isEventCanceled?

optional isEventCanceled: null | boolean

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

MsgOpaqueData isEventCanceled.

Implementation of

IMsgOpaqueData.isEventCanceled


isLive?

optional isLive: null | boolean

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

MsgOpaqueData isLive.

Implementation of

IMsgOpaqueData.isLive


isSentCagPollCreation?

optional isSentCagPollCreation: null | boolean

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

MsgOpaqueData isSentCagPollCreation.

Implementation of

IMsgOpaqueData.isSentCagPollCreation


lat?

optional lat: null | number

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

MsgOpaqueData lat.

Implementation of

IMsgOpaqueData.lat


lng?

optional lng: null | number

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

MsgOpaqueData lng.

Implementation of

IMsgOpaqueData.lng


loc?

optional loc: null | string

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

MsgOpaqueData loc.

Implementation of

IMsgOpaqueData.loc


matchedText?

optional matchedText: null | string

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

MsgOpaqueData matchedText.

Implementation of

IMsgOpaqueData.matchedText


messageSecret?

optional messageSecret: null | Uint8Array<ArrayBufferLike>

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

MsgOpaqueData messageSecret.

Implementation of

IMsgOpaqueData.messageSecret


originalSelfAuthor?

optional originalSelfAuthor: null | string

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

MsgOpaqueData originalSelfAuthor.

Implementation of

IMsgOpaqueData.originalSelfAuthor


paymentAmount1000?

optional paymentAmount1000: null | number

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

MsgOpaqueData paymentAmount1000.

Implementation of

IMsgOpaqueData.paymentAmount1000


paymentNoteMsgBody?

optional paymentNoteMsgBody: null | string

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

MsgOpaqueData paymentNoteMsgBody.

Implementation of

IMsgOpaqueData.paymentNoteMsgBody


plainProtobufBytes?

optional plainProtobufBytes: null | Uint8Array<ArrayBufferLike>

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

MsgOpaqueData plainProtobufBytes.

Implementation of

IMsgOpaqueData.plainProtobufBytes


pollContentType?

optional pollContentType: null | PollContentType

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

MsgOpaqueData pollContentType.

Implementation of

IMsgOpaqueData.pollContentType


pollName?

optional pollName: null | string

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

MsgOpaqueData pollName.

Implementation of

IMsgOpaqueData.pollName


pollOptions

pollOptions: IPollOption[]

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

MsgOpaqueData pollOptions.

Implementation of

IMsgOpaqueData.pollOptions


pollSelectableOptionsCount?

optional pollSelectableOptionsCount: null | number

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

MsgOpaqueData pollSelectableOptionsCount.

Implementation of

IMsgOpaqueData.pollSelectableOptionsCount


pollUpdateParentKey?

optional pollUpdateParentKey: null | string

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

MsgOpaqueData pollUpdateParentKey.

Implementation of

IMsgOpaqueData.pollUpdateParentKey


pollVotesSnapshot?

optional pollVotesSnapshot: null | IPollVotesSnapshot

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

MsgOpaqueData pollVotesSnapshot.

Implementation of

IMsgOpaqueData.pollVotesSnapshot


senderTimestampMs?

optional senderTimestampMs: null | number | Long

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

MsgOpaqueData senderTimestampMs.

Implementation of

IMsgOpaqueData.senderTimestampMs


targetMessageKey?

optional targetMessageKey: null | string

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

MsgOpaqueData targetMessageKey.

Implementation of

IMsgOpaqueData.targetMessageKey


title?

optional title: null | string

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

MsgOpaqueData title.

Implementation of

IMsgOpaqueData.title

Methods

toJSON()

toJSON(): object

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

Converts this MsgOpaqueData to JSON.

Returns

object

JSON object


create()

static create(properties?): MsgOpaqueData

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

Creates a new MsgOpaqueData instance using the specified properties.

Parameters

properties?

IMsgOpaqueData

Properties to set

Returns

MsgOpaqueData

MsgOpaqueData instance


decode()

static decode(reader, length?): MsgOpaqueData

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

Decodes a MsgOpaqueData message from the specified reader or buffer.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

length?

number

Message length if known beforehand

Returns

MsgOpaqueData

MsgOpaqueData

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): MsgOpaqueData

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

Decodes a MsgOpaqueData message from the specified reader or buffer, length delimited.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

MsgOpaqueData

MsgOpaqueData

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode()

static encode(message, writer?): Writer

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

Encodes the specified MsgOpaqueData message. Does not implicitly verify messages.

Parameters

message

IMsgOpaqueData

MsgOpaqueData message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


encodeDelimited()

static encodeDelimited(message, writer?): Writer

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

Encodes the specified MsgOpaqueData message, length delimited. Does not implicitly verify messages.

Parameters

message

IMsgOpaqueData

MsgOpaqueData message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): MsgOpaqueData

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

Creates a MsgOpaqueData message from a plain object. Also converts values to their respective internal types.

Parameters

object

Plain object

Returns

MsgOpaqueData

MsgOpaqueData


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Gets the default type url for MsgOpaqueData

Parameters

typeUrlPrefix?

string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject()

static toObject(message, options?): object

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

Creates a plain object from a MsgOpaqueData message. Also converts values to other types if specified.

Parameters

message

MsgOpaqueData

MsgOpaqueData

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

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

Verifies a MsgOpaqueData message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not