Constructs a new ImageMessage.
Optional
properties: IImageMessageProperties to set
ImageMessage caption.
Optional
contextImageMessage contextInfo.
ImageMessage directPath.
ImageMessage experimentGroupId.
ImageMessage fileEncSha256.
ImageMessage fileLength.
ImageMessage fileSha256.
ImageMessage firstScanLength.
ImageMessage firstScanSidecar.
ImageMessage height.
ImageMessage interactiveAnnotations.
ImageMessage jpegThumbnail.
ImageMessage mediaKey.
ImageMessage mediaKeyTimestamp.
ImageMessage midQualityFileEncSha256.
ImageMessage midQualityFileSha256.
ImageMessage mimetype.
ImageMessage scanLengths.
ImageMessage scansSidecar.
ImageMessage staticUrl.
ImageMessage thumbnailDirectPath.
ImageMessage thumbnailEncSha256.
ImageMessage thumbnailSha256.
ImageMessage url.
ImageMessage viewOnce.
ImageMessage width.
Static
createCreates a new ImageMessage instance using the specified properties.
Optional
properties: IImageMessageProperties to set
ImageMessage instance
Static
decodeDecodes an ImageMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
ImageMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes an ImageMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ImageMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified ImageMessage message. Does not implicitly verify messages.
ImageMessage message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified ImageMessage message, length delimited. Does not implicitly verify messages.
ImageMessage message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates an ImageMessage message from a plain object. Also converts values to their respective internal types.
Plain object
ImageMessage
Static
toCreates a plain object from an ImageMessage message. Also converts values to other types if specified.
ImageMessage
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents an ImageMessage.