Skip to main content

Class: BotMediaMetadata

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

Implements

Constructors

new BotMediaMetadata()

new BotMediaMetadata(p?): BotMediaMetadata

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

Parameters

p?

IBotMediaMetadata

Returns

BotMediaMetadata

Properties

directPath?

optional directPath: null | string

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

Implementation of

IBotMediaMetadata.directPath


fileEncSha256?

optional fileEncSha256: null | string

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

Implementation of

IBotMediaMetadata.fileEncSha256


fileSha256?

optional fileSha256: null | string

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

Implementation of

IBotMediaMetadata.fileSha256


mediaKey?

optional mediaKey: null | string

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

Implementation of

IBotMediaMetadata.mediaKey


mediaKeyTimestamp?

optional mediaKeyTimestamp: null | number | Long

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

Implementation of

IBotMediaMetadata.mediaKeyTimestamp


mimetype?

optional mimetype: null | string

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

Implementation of

IBotMediaMetadata.mimetype


orientationType?

optional orientationType: null | OrientationType

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

Implementation of

IBotMediaMetadata.orientationType

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): BotMediaMetadata

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

Parameters

properties?

IBotMediaMetadata

Returns

BotMediaMetadata


decode()

static decode(r, l?): BotMediaMetadata

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

BotMediaMetadata


encode()

static encode(m, w?): Writer

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

Parameters

m

IBotMediaMetadata

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): BotMediaMetadata

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

Parameters

d

Returns

BotMediaMetadata


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

BotMediaMetadata

o?

IConversionOptions

Returns

object