Skip to main content

Class: BotPluginMetadata

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

Implements

Constructors

new BotPluginMetadata()

new BotPluginMetadata(p?): BotPluginMetadata

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

Parameters

p?

IBotPluginMetadata

Returns

BotPluginMetadata

Properties

deprecatedField?

optional deprecatedField: null | PluginType

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

Implementation of

IBotPluginMetadata.deprecatedField


expectedLinksCount?

optional expectedLinksCount: null | number

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

Implementation of

IBotPluginMetadata.expectedLinksCount


faviconCdnUrl?

optional faviconCdnUrl: null | string

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

Implementation of

IBotPluginMetadata.faviconCdnUrl


parentPluginMessageKey?

optional parentPluginMessageKey: null | IMessageKey

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

Implementation of

IBotPluginMetadata.parentPluginMessageKey


parentPluginType?

optional parentPluginType: null | PluginType

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

Implementation of

IBotPluginMetadata.parentPluginType


pluginType?

optional pluginType: null | PluginType

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

Implementation of

IBotPluginMetadata.pluginType


profilePhotoCdnUrl?

optional profilePhotoCdnUrl: null | string

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

Implementation of

IBotPluginMetadata.profilePhotoCdnUrl


provider?

optional provider: null | SearchProvider

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

Implementation of

IBotPluginMetadata.provider


referenceIndex?

optional referenceIndex: null | number

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

Implementation of

IBotPluginMetadata.referenceIndex


searchProviderUrl?

optional searchProviderUrl: null | string

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

Implementation of

IBotPluginMetadata.searchProviderUrl


searchQuery?

optional searchQuery: null | string

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

Implementation of

IBotPluginMetadata.searchQuery


thumbnailCdnUrl?

optional thumbnailCdnUrl: null | string

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

Implementation of

IBotPluginMetadata.thumbnailCdnUrl

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): BotPluginMetadata

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

Parameters

properties?

IBotPluginMetadata

Returns

BotPluginMetadata


decode()

static decode(r, l?): BotPluginMetadata

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

BotPluginMetadata


encode()

static encode(m, w?): Writer

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

Parameters

m

IBotPluginMetadata

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): BotPluginMetadata

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

Parameters

d

Returns

BotPluginMetadata


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

BotPluginMetadata

o?

IConversionOptions

Returns

object