Skip to main content

Class: BotMediaMetadata

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

Implements

Constructors

new BotMediaMetadata()

new BotMediaMetadata(p?): BotMediaMetadata

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

Parameters

p?

IBotMediaMetadata

Returns

BotMediaMetadata

Properties

directPath?

optional directPath: null | string

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

Implementation of

IBotMediaMetadata.directPath


fileEncSha256?

optional fileEncSha256: null | string

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

Implementation of

IBotMediaMetadata.fileEncSha256


fileSha256?

optional fileSha256: null | string

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

Implementation of

IBotMediaMetadata.fileSha256


mediaKey?

optional mediaKey: null | string

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

Implementation of

IBotMediaMetadata.mediaKey


mediaKeyTimestamp?

optional mediaKeyTimestamp: null | number | Long

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

Implementation of

IBotMediaMetadata.mediaKeyTimestamp


mimetype?

optional mimetype: null | string

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

Implementation of

IBotMediaMetadata.mimetype


orientationType?

optional orientationType: null | OrientationType

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

Implementation of

IBotMediaMetadata.orientationType

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): BotMediaMetadata

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

Parameters

properties?

IBotMediaMetadata

Returns

BotMediaMetadata


decode()

static decode(r, l?): BotMediaMetadata

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

BotMediaMetadata


encode()

static encode(m, w?): Writer

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

Parameters

m

IBotMediaMetadata

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): BotMediaMetadata

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

Parameters

d

Returns

BotMediaMetadata


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

BotMediaMetadata

o?

IConversionOptions

Returns

object