Skip to main content

Class: StickerAction

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

Implements

Constructors

new StickerAction()

new StickerAction(p?): StickerAction

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

Parameters

p?

IStickerAction

Returns

StickerAction

Properties

deviceIdHint?

optional deviceIdHint: null | number

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

Implementation of

IStickerAction.deviceIdHint


directPath?

optional directPath: null | string

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

Implementation of

IStickerAction.directPath


fileEncSha256?

optional fileEncSha256: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IStickerAction.fileEncSha256


fileLength?

optional fileLength: null | number | Long

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

Implementation of

IStickerAction.fileLength


height?

optional height: null | number

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

Implementation of

IStickerAction.height


imageHash?

optional imageHash: null | string

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

Implementation of

IStickerAction.imageHash


isAvatarSticker?

optional isAvatarSticker: null | boolean

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

Implementation of

IStickerAction.isAvatarSticker


isFavorite?

optional isFavorite: null | boolean

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

Implementation of

IStickerAction.isFavorite


isLottie?

optional isLottie: null | boolean

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

Implementation of

IStickerAction.isLottie


mediaKey?

optional mediaKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IStickerAction.mediaKey


mimetype?

optional mimetype: null | string

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

Implementation of

IStickerAction.mimetype


url?

optional url: null | string

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

Implementation of

IStickerAction.url


width?

optional width: null | number

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

Implementation of

IStickerAction.width

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): StickerAction

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

Parameters

properties?

IStickerAction

Returns

StickerAction


decode()

static decode(r, l?): StickerAction

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

StickerAction


encode()

static encode(m, w?): Writer

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

Parameters

m

IStickerAction

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): StickerAction

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

Parameters

d

Returns

StickerAction


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

StickerAction

o?

IConversionOptions

Returns

object