Constructs a new VideoMessage.
Optional
properties: IVideoMessageProperties to set
VideoMessage annotations.
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
createCreates a new VideoMessage instance using the specified properties.
Optional
properties: IVideoMessageProperties to set
VideoMessage instance
Static
decodeDecodes a VideoMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage 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
encodeEncodes the specified VideoMessage message. Does not implicitly verify messages.
VideoMessage message or plain object to encode
Optional
writer: WriterWriter 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: WriterWriter 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: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a VideoMessage.