Skip to main content

Class: StickerMessage

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

Implements

Constructors

new StickerMessage()

new StickerMessage(p?): StickerMessage

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

Parameters

p?

IStickerMessage

Returns

StickerMessage

Properties

accessibilityLabel?

optional accessibilityLabel: null | string

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

Implementation of

IStickerMessage.accessibilityLabel


contextInfo?

optional contextInfo: null | IContextInfo

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

Implementation of

IStickerMessage.contextInfo


directPath?

optional directPath: null | string

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

Implementation of

IStickerMessage.directPath


fileEncSha256?

optional fileEncSha256: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IStickerMessage.fileEncSha256


fileLength?

optional fileLength: null | number | Long

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

Implementation of

IStickerMessage.fileLength


fileSha256?

optional fileSha256: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IStickerMessage.fileSha256


firstFrameLength?

optional firstFrameLength: null | number

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

Implementation of

IStickerMessage.firstFrameLength


firstFrameSidecar?

optional firstFrameSidecar: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IStickerMessage.firstFrameSidecar


height?

optional height: null | number

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

Implementation of

IStickerMessage.height


isAiSticker?

optional isAiSticker: null | boolean

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

Implementation of

IStickerMessage.isAiSticker


isAnimated?

optional isAnimated: null | boolean

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

Implementation of

IStickerMessage.isAnimated


isAvatar?

optional isAvatar: null | boolean

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

Implementation of

IStickerMessage.isAvatar


isLottie?

optional isLottie: null | boolean

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

Implementation of

IStickerMessage.isLottie


mediaKey?

optional mediaKey: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IStickerMessage.mediaKey


mediaKeyDomain?

optional mediaKeyDomain: null | MediaKeyDomain

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

Implementation of

IStickerMessage.mediaKeyDomain


mediaKeyTimestamp?

optional mediaKeyTimestamp: null | number | Long

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

Implementation of

IStickerMessage.mediaKeyTimestamp


mimetype?

optional mimetype: null | string

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

Implementation of

IStickerMessage.mimetype


pngThumbnail?

optional pngThumbnail: null | Uint8Array<ArrayBufferLike>

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

Implementation of

IStickerMessage.pngThumbnail


stickerSentTs?

optional stickerSentTs: null | number | Long

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

Implementation of

IStickerMessage.stickerSentTs


url?

optional url: null | string

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

Implementation of

IStickerMessage.url


width?

optional width: null | number

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

Implementation of

IStickerMessage.width

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): StickerMessage

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

Parameters

properties?

IStickerMessage

Returns

StickerMessage


decode()

static decode(r, l?): StickerMessage

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

StickerMessage


encode()

static encode(m, w?): Writer

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

Parameters

m

IStickerMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): StickerMessage

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

Parameters

d

Returns

StickerMessage


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

StickerMessage

o?

IConversionOptions

Returns

object