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