Constructs a new BotMediaMetadata.
Optional
properties: IBotMediaMetadataProperties to set
Optional
directBotMediaMetadata directPath.
Optional
fileBotMediaMetadata fileEncSha256.
Optional
fileBotMediaMetadata fileSha256.
Optional
mediaBotMediaMetadata mediaKey.
Optional
mediaBotMediaMetadata mediaKeyTimestamp.
Optional
mimetypeBotMediaMetadata mimetype.
Optional
orientationBotMediaMetadata orientationType.
Static
createCreates a new BotMediaMetadata instance using the specified properties.
Optional
properties: IBotMediaMetadataProperties to set
BotMediaMetadata instance
Static
decodeDecodes a BotMediaMetadata message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
BotMediaMetadata
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a BotMediaMetadata message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
BotMediaMetadata
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified BotMediaMetadata message. Does not implicitly verify messages.
BotMediaMetadata message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified BotMediaMetadata message, length delimited. Does not implicitly verify messages.
BotMediaMetadata message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a BotMediaMetadata message from a plain object. Also converts values to their respective internal types.
Plain object
BotMediaMetadata
Static
getStatic
toCreates a plain object from a BotMediaMetadata message. Also converts values to other types if specified.
BotMediaMetadata
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a BotMediaMetadata.