Skip to main content
Defined in: WAProto/index.d.ts:10141

Implements

Constructors

new PaymentBackground()

new PaymentBackground(p?): PaymentBackground
Defined in: WAProto/index.d.ts:10142

Parameters

p?
IPaymentBackground

Returns

PaymentBackground

Properties

fileLength?

optional fileLength: null | number | Long
Defined in: WAProto/index.d.ts:10144

Implementation of

IPaymentBackground.fileLength

height?

optional height: null | number
Defined in: WAProto/index.d.ts:10146

Implementation of

IPaymentBackground.height

id?

optional id: null | string
Defined in: WAProto/index.d.ts:10143

Implementation of

IPaymentBackground.id

mediaData?

optional mediaData: null | IMediaData
Defined in: WAProto/index.d.ts:10151

Implementation of

IPaymentBackground.mediaData

mimetype?

optional mimetype: null | string
Defined in: WAProto/index.d.ts:10147

Implementation of

IPaymentBackground.mimetype

placeholderArgb?

optional placeholderArgb: null | number
Defined in: WAProto/index.d.ts:10148

Implementation of

IPaymentBackground.placeholderArgb

subtextArgb?

optional subtextArgb: null | number
Defined in: WAProto/index.d.ts:10150

Implementation of

IPaymentBackground.subtextArgb

textArgb?

optional textArgb: null | number
Defined in: WAProto/index.d.ts:10149

Implementation of

IPaymentBackground.textArgb

type?

optional type: null | Type
Defined in: WAProto/index.d.ts:10152

Implementation of

IPaymentBackground.type

width?

optional width: null | number
Defined in: WAProto/index.d.ts:10145

Implementation of

IPaymentBackground.width

Methods

create()

static create(properties?): PaymentBackground
Defined in: WAProto/index.d.ts:10153

Parameters

properties?
IPaymentBackground

Returns

PaymentBackground

decode()

static decode(r, l?): PaymentBackground
Defined in: WAProto/index.d.ts:10155

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

PaymentBackground

encode()

static encode(m, w?): Writer
Defined in: WAProto/index.d.ts:10154

Parameters

m
IPaymentBackground
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): PaymentBackground
Defined in: WAProto/index.d.ts:10156

Parameters

d

Returns

PaymentBackground

getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string
Defined in: WAProto/index.d.ts:10159

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

toJSON(): object
Defined in: WAProto/index.d.ts:10158

Returns

object

toObject()

static toObject(m, o?): object
Defined in: WAProto/index.d.ts:10157

Parameters

m
PaymentBackground
o?
IConversionOptions

Returns

object