Class: BizAccountLinkInfo
Defined in: WAProto/index.d.ts:3245
Represents a BizAccountLinkInfo.
Implements
Constructors
new BizAccountLinkInfo()
new BizAccountLinkInfo(
properties
?):BizAccountLinkInfo
Defined in: WAProto/index.d.ts:3251
Constructs a new BizAccountLinkInfo.
Parameters
properties?
Properties to set
Returns
Properties
accountType?
optional
accountType:null
|ENTERPRISE
Defined in: WAProto/index.d.ts:3266
BizAccountLinkInfo accountType.
Implementation of
IBizAccountLinkInfo
.accountType
hostStorage?
optional
hostStorage:null
|HostStorageType
Defined in: WAProto/index.d.ts:3263
BizAccountLinkInfo hostStorage.
Implementation of
IBizAccountLinkInfo
.hostStorage
issueTime?
optional
issueTime:null
|number
|Long
Defined in: WAProto/index.d.ts:3260
BizAccountLinkInfo issueTime.
Implementation of
whatsappAcctNumber?
optional
whatsappAcctNumber:null
|string
Defined in: WAProto/index.d.ts:3257
BizAccountLinkInfo whatsappAcctNumber.
Implementation of
IBizAccountLinkInfo
.whatsappAcctNumber
whatsappBizAcctFbid?
optional
whatsappBizAcctFbid:null
|number
|Long
Defined in: WAProto/index.d.ts:3254
BizAccountLinkInfo whatsappBizAcctFbid.
Implementation of
IBizAccountLinkInfo
.whatsappBizAcctFbid
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:3336
Converts this BizAccountLinkInfo to JSON.
Returns
object
JSON object
create()
static
create(properties
?):BizAccountLinkInfo
Defined in: WAProto/index.d.ts:3273
Creates a new BizAccountLinkInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
BizAccountLinkInfo instance
decode()
static
decode(reader
,length
?):BizAccountLinkInfo
Defined in: WAProto/index.d.ts:3299
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
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:3308
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
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:3281
Encodes the specified BizAccountLinkInfo message. Does not implicitly verify messages.
Parameters
message
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:3289
Encodes the specified BizAccountLinkInfo message, length delimited. Does not implicitly verify messages.
Parameters
message
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:3322
Creates a BizAccountLinkInfo message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
BizAccountLinkInfo
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:3343
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:3330
Creates a plain object from a BizAccountLinkInfo message. Also converts values to other types if specified.
Parameters
message
BizAccountLinkInfo
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:3315
Verifies a BizAccountLinkInfo message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not