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