Implements
Constructors
new Header()
new Header(Defined in: WAProto/index.d.ts:6866p?):Header
Parameters
p?
IHeader
Returns
Header
Properties
documentMessage?
Defined in: WAProto/index.d.ts:6870optionaldocumentMessage:null|IDocumentMessage
Implementation of
IHeader.documentMessage
hasMediaAttachment?
Defined in: WAProto/index.d.ts:6869optionalhasMediaAttachment:null|boolean
Implementation of
IHeader.hasMediaAttachment
imageMessage?
Defined in: WAProto/index.d.ts:6871optionalimageMessage:null|IImageMessage
Implementation of
IHeader.imageMessage
jpegThumbnail?
Defined in: WAProto/index.d.ts:6872optionaljpegThumbnail:null|Uint8Array<ArrayBufferLike>
Implementation of
IHeader.jpegThumbnail
locationMessage?
Defined in: WAProto/index.d.ts:6874optionallocationMessage:null|ILocationMessage
Implementation of
IHeader.locationMessage
media?
Defined in: WAProto/index.d.ts:6876optionalmedia:"imageMessage"|"locationMessage"|"documentMessage"|"videoMessage"|"productMessage"|"jpegThumbnail"
productMessage?
Defined in: WAProto/index.d.ts:6875optionalproductMessage:null|IProductMessage
Implementation of
IHeader.productMessage
subtitle?
Defined in: WAProto/index.d.ts:6868optionalsubtitle:null|string
Implementation of
IHeader.subtitle
title?
Defined in: WAProto/index.d.ts:6867optionaltitle:null|string
Implementation of
IHeader.title
videoMessage?
Defined in: WAProto/index.d.ts:6873optionalvideoMessage:null|IVideoMessage
Implementation of
IHeader.videoMessage
Methods
create()
Defined in: WAProto/index.d.ts:6877staticcreate(properties?):Header
Parameters
properties?
IHeader
Returns
Header
decode()
Defined in: WAProto/index.d.ts:6879staticdecode(r,l?):Header
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
Header
encode()
Defined in: WAProto/index.d.ts:6878staticencode(m,w?):Writer
Parameters
m
IHeader
w?
Writer
Returns
Writer
fromObject()
Defined in: WAProto/index.d.ts:6880staticfromObject(d):Header
Parameters
d
Returns
Header
getTypeUrl()
Defined in: WAProto/index.d.ts:6883staticgetTypeUrl(typeUrlPrefix?):string
Parameters
typeUrlPrefix?
string
Returns
string
toJSON()
toJSON(): object
Defined in: WAProto/index.d.ts:6882
Returns
object
toObject()
Defined in: WAProto/index.d.ts:6881statictoObject(m,o?):object
Parameters
m
Header
o?
IConversionOptions
Returns
object