Optional
documentHeader documentMessage.
Header hasMediaAttachment.
Optional
imageHeader imageMessage.
Optional
jpegHeader jpegThumbnail.
Optional
locationHeader locationMessage.
Optional
mediaHeader media.
Header subtitle.
Header title.
Optional
videoHeader videoMessage.
Static
createStatic
decodeDecodes a Header message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
Header
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeStatic
encodeStatic
encodeStatic
fromStatic
toCreates a plain object from a Header message. Also converts values to other types if specified.
Header
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a Header.