Skip to main content
Defined in: WAProto/index.d.ts:244

Implements

Constructors

new AIRichResponseCodeBlock()

new AIRichResponseCodeBlock(p?): AIRichResponseCodeBlock
Defined in: WAProto/index.d.ts:245

Parameters

p?
IAIRichResponseCodeBlock

Returns

AIRichResponseCodeBlock

Properties

codeContent?

optional codeContent: null | string
Defined in: WAProto/index.d.ts:247

Implementation of

IAIRichResponseCodeBlock.codeContent

highlightType?

optional highlightType: null | AIRichResponseCodeHighlightType
Defined in: WAProto/index.d.ts:246

Implementation of

IAIRichResponseCodeBlock.highlightType

Methods

create()

static create(properties?): AIRichResponseCodeBlock
Defined in: WAProto/index.d.ts:248

Parameters

properties?
IAIRichResponseCodeBlock

Returns

AIRichResponseCodeBlock

decode()

static decode(r, l?): AIRichResponseCodeBlock
Defined in: WAProto/index.d.ts:250

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

AIRichResponseCodeBlock

encode()

static encode(m, w?): Writer
Defined in: WAProto/index.d.ts:249

Parameters

m
IAIRichResponseCodeBlock
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): AIRichResponseCodeBlock
Defined in: WAProto/index.d.ts:251

Parameters

d

Returns

AIRichResponseCodeBlock

getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string
Defined in: WAProto/index.d.ts:254

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

toJSON(): object
Defined in: WAProto/index.d.ts:253

Returns

object

toObject()

static toObject(m, o?): object
Defined in: WAProto/index.d.ts:252

Parameters

m
AIRichResponseCodeBlock
o?
IConversionOptions

Returns

object