Constructs a new MessageAddOn.
Optional
properties:
IMessageAddOn
Properties to set
Optional
addMessageAddOn addOnContextInfo.
Optional
legacyMessageAddOn legacyMessage.
Optional
messageMessageAddOn messageAddOn.
Optional
messageMessageAddOn messageAddOnKey.
Optional
messageMessageAddOn messageAddOnType.
Optional
senderMessageAddOn senderTimestampMs.
Optional
serverMessageAddOn serverTimestampMs.
Optional
status
MessageAddOn status.
Static
create
Creates a new MessageAddOn instance using the specified properties.
Optional
properties:
IMessageAddOn
Properties to set
MessageAddOn instance
Static
decode
Decodes a MessageAddOn message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
MessageAddOn
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a MessageAddOn message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
MessageAddOn
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified MessageAddOn message. Does not implicitly verify messages.
MessageAddOn message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified MessageAddOn message, length delimited. Does not implicitly verify messages.
MessageAddOn message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a MessageAddOn message from a plain object. Also converts values to their respective internal types.
Plain object
MessageAddOn
Static
getStatic
toCreates a plain object from a MessageAddOn message. Also converts values to other types if specified.
MessageAddOn
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a MessageAddOn.