Constructs a new VideoMessage.
Optional
properties:
IVideoMessage
Properties to set
VideoMessage caption.
Optional
contextVideoMessage contextInfo.
VideoMessage directPath.
VideoMessage fileEncSha256.
VideoMessage fileLength.
VideoMessage fileSha256.
VideoMessage gifAttribution.
VideoMessage gifPlayback.
VideoMessage height.
VideoMessage interactiveAnnotations.
VideoMessage jpegThumbnail.
VideoMessage mediaKey.
VideoMessage mediaKeyTimestamp.
VideoMessage mimetype.
VideoMessage seconds.
VideoMessage staticUrl.
VideoMessage streamingSidecar.
VideoMessage thumbnailDirectPath.
VideoMessage thumbnailEncSha256.
VideoMessage thumbnailSha256.
VideoMessage url.
VideoMessage viewOnce.
VideoMessage width.
Static
create
Creates a new VideoMessage instance using the specified properties.
Optional
properties:
IVideoMessage
Properties to set
VideoMessage instance
Static
decode
Decodes a VideoMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
VideoMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a VideoMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
VideoMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified VideoMessage message. Does not implicitly verify messages.
VideoMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified VideoMessage message, length delimited. Does not implicitly verify messages.
VideoMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a VideoMessage message from a plain object. Also converts values to their respective internal types.
Plain object
VideoMessage
Static
toCreates a plain object from a VideoMessage message. Also converts values to other types if specified.
VideoMessage
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a VideoMessage.