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

Implements

Constructors

new BotPluginMetadata()

new BotPluginMetadata(p?): BotPluginMetadata
Defined in: WAProto/index.d.ts:1723

Parameters

p?
IBotPluginMetadata

Returns

BotPluginMetadata

Properties

deprecatedField?

optional deprecatedField: null | PluginType
Defined in: WAProto/index.d.ts:1733

Implementation of

IBotPluginMetadata.deprecatedField

expectedLinksCount?

optional expectedLinksCount: null | number
Defined in: WAProto/index.d.ts:1730

Implementation of

IBotPluginMetadata.expectedLinksCount

faviconCdnUrl?

optional faviconCdnUrl: null | string
Defined in: WAProto/index.d.ts:1735

Implementation of

IBotPluginMetadata.faviconCdnUrl

parentPluginMessageKey?

optional parentPluginMessageKey: null | IMessageKey
Defined in: WAProto/index.d.ts:1732

Implementation of

IBotPluginMetadata.parentPluginMessageKey

parentPluginType?

optional parentPluginType: null | PluginType
Defined in: WAProto/index.d.ts:1734

Implementation of

IBotPluginMetadata.parentPluginType

pluginType?

optional pluginType: null | PluginType
Defined in: WAProto/index.d.ts:1725

Implementation of

IBotPluginMetadata.pluginType

profilePhotoCdnUrl?

optional profilePhotoCdnUrl: null | string
Defined in: WAProto/index.d.ts:1727

Implementation of

IBotPluginMetadata.profilePhotoCdnUrl

provider?

optional provider: null | SearchProvider
Defined in: WAProto/index.d.ts:1724

Implementation of

IBotPluginMetadata.provider

referenceIndex?

optional referenceIndex: null | number
Defined in: WAProto/index.d.ts:1729

Implementation of

IBotPluginMetadata.referenceIndex

searchProviderUrl?

optional searchProviderUrl: null | string
Defined in: WAProto/index.d.ts:1728

Implementation of

IBotPluginMetadata.searchProviderUrl

searchQuery?

optional searchQuery: null | string
Defined in: WAProto/index.d.ts:1731

Implementation of

IBotPluginMetadata.searchQuery

thumbnailCdnUrl?

optional thumbnailCdnUrl: null | string
Defined in: WAProto/index.d.ts:1726

Implementation of

IBotPluginMetadata.thumbnailCdnUrl

Methods

create()

static create(properties?): BotPluginMetadata
Defined in: WAProto/index.d.ts:1736

Parameters

properties?
IBotPluginMetadata

Returns

BotPluginMetadata

decode()

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

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

BotPluginMetadata

encode()

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

Parameters

m
IBotPluginMetadata
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): BotPluginMetadata
Defined in: WAProto/index.d.ts:1739

Parameters

d

Returns

BotPluginMetadata

getTypeUrl()

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

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

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

Returns

object

toObject()

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

Parameters

m
BotPluginMetadata
o?
IConversionOptions

Returns

object