Skip to main content

Class: BotMediaMetadata

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

Implements

Constructors

new BotMediaMetadata()

new BotMediaMetadata(p?): BotMediaMetadata

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

Parameters

p?

IBotMediaMetadata

Returns

BotMediaMetadata

Properties

directPath

directPath: string

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

Implementation of

IBotMediaMetadata.directPath


fileEncSha256

fileEncSha256: string

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

Implementation of

IBotMediaMetadata.fileEncSha256


fileSha256

fileSha256: string

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

Implementation of

IBotMediaMetadata.fileSha256


mediaKey

mediaKey: string

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

Implementation of

IBotMediaMetadata.mediaKey


mediaKeyTimestamp

mediaKeyTimestamp: number | Long

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

Implementation of

IBotMediaMetadata.mediaKeyTimestamp


mimetype

mimetype: string

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

Implementation of

IBotMediaMetadata.mimetype


orientationType

orientationType: OrientationType

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

Implementation of

IBotMediaMetadata.orientationType

Methods

create()

static create(properties?): BotMediaMetadata

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

Parameters

properties?

IBotMediaMetadata

Returns

BotMediaMetadata


decode()

static decode(r, l?): BotMediaMetadata

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

BotMediaMetadata


encode()

static encode(m, w?): Writer

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

Parameters

m

IBotMediaMetadata

w?

Writer

Returns

Writer


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string