Constructs a new BotPluginMetadata.
Optional
properties: IBotPluginMetadataProperties to set
BotPluginMetadata expectedLinksCount.
BotPluginMetadata pluginType.
BotPluginMetadata pluginVersion.
BotPluginMetadata profilePhotoCdnUrl.
BotPluginMetadata provider.
BotPluginMetadata referenceIndex.
BotPluginMetadata searchProviderUrl.
BotPluginMetadata thumbnailCdnUrl.
Static
createCreates a new BotPluginMetadata instance using the specified properties.
Optional
properties: IBotPluginMetadataProperties to set
BotPluginMetadata instance
Static
decodeDecodes a BotPluginMetadata message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
BotPluginMetadata
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a BotPluginMetadata message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
BotPluginMetadata
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified BotPluginMetadata message. Does not implicitly verify messages.
BotPluginMetadata message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified BotPluginMetadata message, length delimited. Does not implicitly verify messages.
BotPluginMetadata message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a BotPluginMetadata message from a plain object. Also converts values to their respective internal types.
Plain object
BotPluginMetadata
Static
toCreates a plain object from a BotPluginMetadata message. Also converts values to other types if specified.
BotPluginMetadata
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a BotPluginMetadata.