Constructs a new PreKeySignalMessage.
Optional
properties: IPreKeySignalMessageProperties to set
PreKeySignalMessage baseKey.
PreKeySignalMessage identityKey.
PreKeySignalMessage message.
PreKeySignalMessage preKeyId.
PreKeySignalMessage registrationId.
PreKeySignalMessage signedPreKeyId.
Static
createCreates a new PreKeySignalMessage instance using the specified properties.
Optional
properties: IPreKeySignalMessageProperties to set
PreKeySignalMessage instance
Static
decodeDecodes a PreKeySignalMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
PreKeySignalMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a PreKeySignalMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
PreKeySignalMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified PreKeySignalMessage message. Does not implicitly verify messages.
PreKeySignalMessage message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified PreKeySignalMessage message, length delimited. Does not implicitly verify messages.
PreKeySignalMessage message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a PreKeySignalMessage message from a plain object. Also converts values to their respective internal types.
Plain object
PreKeySignalMessage
Static
toCreates a plain object from a PreKeySignalMessage message. Also converts values to other types if specified.
PreKeySignalMessage
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a PreKeySignalMessage.