Constructs a new ImageMessage.
Optional
properties:
IImageMessage
Properties 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
create
Creates a new ImageMessage instance using the specified properties.
Optional
properties:
IImageMessage
Properties to set
ImageMessage instance
Static
decode
Decodes an ImageMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message 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
encode
Encodes the specified ImageMessage message. Does not implicitly verify messages.
ImageMessage message or plain object to encode
Optional
writer:
Writer
Writer 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:
Writer
Writer 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:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents an ImageMessage.