Class: AIRichResponseCodeBlock
Defined in: WAProto/index.d.ts:244
Implements
Constructors
new AIRichResponseCodeBlock()
new AIRichResponseCodeBlock(
p?):AIRichResponseCodeBlock
Defined in: WAProto/index.d.ts:245
Parameters
p?
Returns
Properties
codeContent?
optionalcodeContent:null|string
Defined in: WAProto/index.d.ts:247
Implementation of
IAIRichResponseCodeBlock.codeContent
highlightType?
optionalhighlightType:null|AIRichResponseCodeHighlightType
Defined in: WAProto/index.d.ts:246
Implementation of
IAIRichResponseCodeBlock.highlightType
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:253
Returns
object
create()
staticcreate(properties?):AIRichResponseCodeBlock
Defined in: WAProto/index.d.ts:248
Parameters
properties?
Returns
decode()
staticdecode(r,l?):AIRichResponseCodeBlock
Defined in: WAProto/index.d.ts:250
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
encode()
staticencode(m,w?):Writer
Defined in: WAProto/index.d.ts:249
Parameters
m
w?
Writer
Returns
Writer
fromObject()
staticfromObject(d):AIRichResponseCodeBlock
Defined in: WAProto/index.d.ts:251
Parameters
d
Returns
getTypeUrl()
staticgetTypeUrl(typeUrlPrefix?):string
Defined in: WAProto/index.d.ts:254
Parameters
typeUrlPrefix?
string
Returns
string
toObject()
statictoObject(m,o?):object
Defined in: WAProto/index.d.ts:252
Parameters
m
o?
IConversionOptions
Returns
object