Constructs a new StickerAction.
Optional
properties:
IStickerAction
Properties to set
StickerAction deviceIdHint.
StickerAction directPath.
StickerAction fileEncSha256.
StickerAction fileLength.
StickerAction height.
StickerAction isFavorite.
StickerAction mediaKey.
StickerAction mimetype.
StickerAction url.
StickerAction width.
Static
create
Creates a new StickerAction instance using the specified properties.
Optional
properties:
IStickerAction
Properties to set
StickerAction instance
Static
decode
Decodes a StickerAction message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message 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
encode
Encodes the specified StickerAction message. Does not implicitly verify messages.
StickerAction message or plain object to encode
Optional
writer:
Writer
Writer 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:
Writer
Writer 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:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a StickerAction.