Constructs a new WebdPayload.
Optional
properties:
IWebdPayload
Properties to set
WebdPayload documentTypes.
WebdPayload features.
WebdPayload supportsDocumentMessages.
WebdPayload supportsE2EAudio.
WebdPayload supportsE2EDocument.
WebdPayload supportsE2EImage.
WebdPayload supportsE2EVideo.
WebdPayload supportsMediaRetry.
WebdPayload supportsStarredMessages.
WebdPayload supportsUrlMessages.
WebdPayload usesParticipantInKey.
Static
create
Creates a new WebdPayload instance using the specified properties.
Optional
properties:
IWebdPayload
Properties to set
WebdPayload instance
Static
decode
Decodes a WebdPayload message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
WebdPayload
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a WebdPayload message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
WebdPayload
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified WebdPayload message. Does not implicitly verify messages.
WebdPayload message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified WebdPayload message, length delimited. Does not implicitly verify messages.
WebdPayload message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a WebdPayload message from a plain object. Also converts values to their respective internal types.
Plain object
WebdPayload
Static
toCreates a plain object from a WebdPayload message. Also converts values to other types if specified.
WebdPayload
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a WebdPayload.