Skip to main content

Class: CallLogRecord

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

Represents a CallLogRecord.

Implements

Constructors

new CallLogRecord()

new CallLogRecord(properties?): CallLogRecord

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

Constructs a new CallLogRecord.

Parameters

properties?

ICallLogRecord

Properties to set

Returns

CallLogRecord

Properties

callCreatorJid?

optional callCreatorJid: null | string

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

CallLogRecord callCreatorJid.

Implementation of

ICallLogRecord.callCreatorJid


callId?

optional callId: null | string

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

CallLogRecord callId.

Implementation of

ICallLogRecord.callId


callLinkToken?

optional callLinkToken: null | string

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

CallLogRecord callLinkToken.

Implementation of

ICallLogRecord.callLinkToken


callResult?

optional callResult: null | CallResult

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

CallLogRecord callResult.

Implementation of

ICallLogRecord.callResult


callType?

optional callType: null | CallType

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

CallLogRecord callType.

Implementation of

ICallLogRecord.callType


duration?

optional duration: null | number | Long

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

CallLogRecord duration.

Implementation of

ICallLogRecord.duration


groupJid?

optional groupJid: null | string

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

CallLogRecord groupJid.

Implementation of

ICallLogRecord.groupJid


optional isCallLink: null | boolean

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

CallLogRecord isCallLink.

Implementation of

ICallLogRecord.isCallLink


isDndMode?

optional isDndMode: null | boolean

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

CallLogRecord isDndMode.

Implementation of

ICallLogRecord.isDndMode


isIncoming?

optional isIncoming: null | boolean

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

CallLogRecord isIncoming.

Implementation of

ICallLogRecord.isIncoming


isVideo?

optional isVideo: null | boolean

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

CallLogRecord isVideo.

Implementation of

ICallLogRecord.isVideo


participants

participants: IParticipantInfo[]

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

CallLogRecord participants.

Implementation of

ICallLogRecord.participants


scheduledCallId?

optional scheduledCallId: null | string

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

CallLogRecord scheduledCallId.

Implementation of

ICallLogRecord.scheduledCallId


silenceReason?

optional silenceReason: null | SilenceReason

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

CallLogRecord silenceReason.

Implementation of

ICallLogRecord.silenceReason


startTime?

optional startTime: null | number | Long

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

CallLogRecord startTime.

Implementation of

ICallLogRecord.startTime

Methods

toJSON()

toJSON(): object

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

Converts this CallLogRecord to JSON.

Returns

object

JSON object


create()

static create(properties?): CallLogRecord

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

Creates a new CallLogRecord instance using the specified properties.

Parameters

properties?

ICallLogRecord

Properties to set

Returns

CallLogRecord

CallLogRecord instance


decode()

static decode(reader, length?): CallLogRecord

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

Decodes a CallLogRecord message from the specified reader or buffer.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

length?

number

Message length if known beforehand

Returns

CallLogRecord

CallLogRecord

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): CallLogRecord

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

Decodes a CallLogRecord message from the specified reader or buffer, length delimited.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

CallLogRecord

CallLogRecord

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode()

static encode(message, writer?): Writer

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

Encodes the specified CallLogRecord message. Does not implicitly verify messages.

Parameters

message

ICallLogRecord

CallLogRecord message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


encodeDelimited()

static encodeDelimited(message, writer?): Writer

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

Encodes the specified CallLogRecord message, length delimited. Does not implicitly verify messages.

Parameters

message

ICallLogRecord

CallLogRecord message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): CallLogRecord

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

Creates a CallLogRecord message from a plain object. Also converts values to their respective internal types.

Parameters

object

Plain object

Returns

CallLogRecord

CallLogRecord


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Gets the default type url for CallLogRecord

Parameters

typeUrlPrefix?

string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject()

static toObject(message, options?): object

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

Creates a plain object from a CallLogRecord message. Also converts values to other types if specified.

Parameters

message

CallLogRecord

CallLogRecord

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

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

Verifies a CallLogRecord message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not