Constructs a new StickerMetadata.
Optional
properties: IStickerMetadataProperties to set
StickerMetadata directPath.
StickerMetadata fileEncSha256.
StickerMetadata fileLength.
StickerMetadata fileSha256.
StickerMetadata height.
StickerMetadata lastStickerSentTs.
StickerMetadata mediaKey.
StickerMetadata mimetype.
StickerMetadata url.
StickerMetadata weight.
StickerMetadata width.
Static
createCreates a new StickerMetadata instance using the specified properties.
Optional
properties: IStickerMetadataProperties to set
StickerMetadata instance
Static
decodeDecodes a StickerMetadata message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
StickerMetadata
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a StickerMetadata message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
StickerMetadata
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified StickerMetadata message. Does not implicitly verify messages.
StickerMetadata message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified StickerMetadata message, length delimited. Does not implicitly verify messages.
StickerMetadata message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a StickerMetadata message from a plain object. Also converts values to their respective internal types.
Plain object
StickerMetadata
Static
toCreates a plain object from a StickerMetadata message. Also converts values to other types if specified.
StickerMetadata
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a StickerMetadata.