Skip to main content

ChatLockSettings

amiudmodz


amiudmodz / proto / ChatLockSettings

Class: ChatLockSettings

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

Implements​

Constructors​

new ChatLockSettings()​

new ChatLockSettings(p?): ChatLockSettings

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

Parameters​

p?​

IChatLockSettings

Returns​

ChatLockSettings

Properties​

hideLockedChats?​

optional hideLockedChats: null | boolean

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

Implementation of​

IChatLockSettings.hideLockedChats


secretCode?​

optional secretCode: null | IUserPassword

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

Implementation of​

IChatLockSettings.secretCode

Methods​

toJSON()​

toJSON(): object

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

Returns​

object


create()​

static create(properties?): ChatLockSettings

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

Parameters​

properties?​

IChatLockSettings

Returns​

ChatLockSettings


decode()​

static decode(r, l?): ChatLockSettings

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

Parameters​

r​

Uint8Array<ArrayBufferLike> | Reader

l?​

number

Returns​

ChatLockSettings


encode()​

static encode(m, w?): Writer

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

Parameters​

m​

IChatLockSettings

w?​

Writer

Returns​

Writer


fromObject()​

static fromObject(d): ChatLockSettings

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

Parameters​

d​

Returns​

ChatLockSettings


getTypeUrl()​

static getTypeUrl(typeUrlPrefix?): string

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

Parameters​

typeUrlPrefix?​

string

Returns​

string


toObject()​

static toObject(m, o?): object

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

Parameters​

m​

ChatLockSettings

o?​

IConversionOptions

Returns​

object