Skip to main content

Class: BizAccountLinkInfo

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

Represents a BizAccountLinkInfo.

Implements

Constructors

new BizAccountLinkInfo()

new BizAccountLinkInfo(properties?): BizAccountLinkInfo

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

Constructs a new BizAccountLinkInfo.

Parameters

properties?

IBizAccountLinkInfo

Properties to set

Returns

BizAccountLinkInfo

Properties

accountType?

optional accountType: null | ENTERPRISE

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

BizAccountLinkInfo accountType.

Implementation of

IBizAccountLinkInfo.accountType


hostStorage?

optional hostStorage: null | HostStorageType

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

BizAccountLinkInfo hostStorage.

Implementation of

IBizAccountLinkInfo.hostStorage


issueTime?

optional issueTime: null | number | Long

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

BizAccountLinkInfo issueTime.

Implementation of

IBizAccountLinkInfo.issueTime


whatsappAcctNumber?

optional whatsappAcctNumber: null | string

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

BizAccountLinkInfo whatsappAcctNumber.

Implementation of

IBizAccountLinkInfo.whatsappAcctNumber


whatsappBizAcctFbid?

optional whatsappBizAcctFbid: null | number | Long

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

BizAccountLinkInfo whatsappBizAcctFbid.

Implementation of

IBizAccountLinkInfo.whatsappBizAcctFbid

Methods

toJSON()

toJSON(): object

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

Converts this BizAccountLinkInfo to JSON.

Returns

object

JSON object


create()

static create(properties?): BizAccountLinkInfo

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

Creates a new BizAccountLinkInfo instance using the specified properties.

Parameters

properties?

IBizAccountLinkInfo

Properties to set

Returns

BizAccountLinkInfo

BizAccountLinkInfo instance


decode()

static decode(reader, length?): BizAccountLinkInfo

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

Decodes a BizAccountLinkInfo 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

BizAccountLinkInfo

BizAccountLinkInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): BizAccountLinkInfo

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

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

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

BizAccountLinkInfo

BizAccountLinkInfo

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:3033

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

Parameters

message

IBizAccountLinkInfo

BizAccountLinkInfo 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:3041

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

Parameters

message

IBizAccountLinkInfo

BizAccountLinkInfo message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): BizAccountLinkInfo

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

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

Parameters

object

Plain object

Returns

BizAccountLinkInfo

BizAccountLinkInfo


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Gets the default type url for BizAccountLinkInfo

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:3082

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

Parameters

message

BizAccountLinkInfo

BizAccountLinkInfo

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

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

Verifies a BizAccountLinkInfo message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not