Skip to main content

UserReceipt

amiudmodz


amiudmodz / proto / UserReceipt

Class: UserReceipt

Defined in: WAProto/index.d.ts:15099

Implements​

Constructors​

new UserReceipt()​

new UserReceipt(p?): UserReceipt

Defined in: WAProto/index.d.ts:15100

Parameters​

p?​

IUserReceipt

Returns​

UserReceipt

Properties​

deliveredDeviceJid​

deliveredDeviceJid: string[]

Defined in: WAProto/index.d.ts:15106

Implementation of​

IUserReceipt.deliveredDeviceJid


pendingDeviceJid​

pendingDeviceJid: string[]

Defined in: WAProto/index.d.ts:15105

Implementation of​

IUserReceipt.pendingDeviceJid


playedTimestamp?​

optional playedTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:15104

Implementation of​

IUserReceipt.playedTimestamp


readTimestamp?​

optional readTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:15103

Implementation of​

IUserReceipt.readTimestamp


receiptTimestamp?​

optional receiptTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:15102

Implementation of​

IUserReceipt.receiptTimestamp


userJid​

userJid: string

Defined in: WAProto/index.d.ts:15101

Implementation of​

IUserReceipt.userJid

Methods​

toJSON()​

toJSON(): object

Defined in: WAProto/index.d.ts:15112

Returns​

object


create()​

static create(properties?): UserReceipt

Defined in: WAProto/index.d.ts:15107

Parameters​

properties?​

IUserReceipt

Returns​

UserReceipt


decode()​

static decode(r, l?): UserReceipt

Defined in: WAProto/index.d.ts:15109

Parameters​

r​

Uint8Array<ArrayBufferLike> | Reader

l?​

number

Returns​

UserReceipt


encode()​

static encode(m, w?): Writer

Defined in: WAProto/index.d.ts:15108

Parameters​

m​

IUserReceipt

w?​

Writer

Returns​

Writer


fromObject()​

static fromObject(d): UserReceipt

Defined in: WAProto/index.d.ts:15110

Parameters​

d​

Returns​

UserReceipt


getTypeUrl()​

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:15113

Parameters​

typeUrlPrefix?​

string

Returns​

string


toObject()​

static toObject(m, o?): object

Defined in: WAProto/index.d.ts:15111

Parameters​

m​

UserReceipt

o?​

IConversionOptions

Returns​

object