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