Constructs a new DocumentMessage.
DocumentMessage contactVcard.
DocumentMessage contextInfo.
DocumentMessage directPath.
DocumentMessage fileEncSha256.
DocumentMessage fileLength.
DocumentMessage fileName.
DocumentMessage fileSha256.
DocumentMessage jpegThumbnail.
DocumentMessage mediaKey.
DocumentMessage mediaKeyTimestamp.
DocumentMessage mimetype.
DocumentMessage pageCount.
DocumentMessage thumbnailDirectPath.
DocumentMessage thumbnailEncSha256.
DocumentMessage thumbnailHeight.
DocumentMessage thumbnailSha256.
DocumentMessage thumbnailWidth.
DocumentMessage title.
DocumentMessage url.
Converts this DocumentMessage to JSON.
JSON object
Creates a new DocumentMessage instance using the specified properties.
DocumentMessage instance
Decodes a DocumentMessage message from the specified reader or buffer.
Reader or buffer to decode from
DocumentMessage
Decodes a DocumentMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
DocumentMessage
Encodes the specified DocumentMessage message. Does not implicitly verify messages.
DocumentMessage message or plain object to encode
Writer
Encodes the specified DocumentMessage message, length delimited. Does not implicitly verify messages.
DocumentMessage message or plain object to encode
Writer
Creates a DocumentMessage message from a plain object. Also converts values to their respective internal types.
Plain object
DocumentMessage
Creates a plain object from a DocumentMessage message. Also converts values to other types if specified.
DocumentMessage
Plain object
Verifies a DocumentMessage message.
Plain object to verify
null
if valid, otherwise the reason why it is not
Generated using TypeDoc
Represents a DocumentMessage.