Constructs a new WebdPayload.
Optional
properties:
IWebdPayload
Properties to set
Optional
documentWebdPayload documentTypes.
Optional
features
WebdPayload features.
Optional
supportsWebdPayload supportsDocumentMessages.
Optional
supportsWebdPayload supportsE2EAudio.
Optional
supportsWebdPayload supportsE2EDocument.
Optional
supportsWebdPayload supportsE2EImage.
Optional
supportsWebdPayload supportsE2EVideo.
Optional
supportsWebdPayload supportsMediaRetry.
Optional
supportsWebdPayload supportsStarredMessages.
Optional
supportsWebdPayload supportsUrlMessages.
Optional
usesWebdPayload 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
getStatic
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.