Optional
documentHeader documentMessage.
Header hasMediaAttachment.
Optional
imageHeader imageMessage.
Optional
jpegHeader jpegThumbnail.
Optional
locationHeader locationMessage.
Optional
media
Header media.
Header subtitle.
Header title.
Optional
videoHeader videoMessage.
Static
create
Static
decode
Decodes a Header message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
Header
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeStatic
encode
Static
encodeStatic
fromStatic
toCreates a plain object from a Header message. Also converts values to other types if specified.
Header
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a Header.