@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
proto
Account
Class Account
Implements
IAccount
Index
Constructors
constructor
Properties
country
Code?
is
Username
Deleted?
lid?
username?
Methods
to
JSON
create
decode
encode
from
Object
get
Type
Url
to
Object
Constructors
constructor
new
Account
(
p
?:
IAccount
)
:
Account
Parameters
Optional
p
:
IAccount
Returns
Account
Properties
Optional
country
Code
countryCode
?:
string
|
null
Optional
is
Username
Deleted
isUsernameDeleted
?:
boolean
|
null
Optional
lid
lid
?:
string
|
null
Optional
username
username
?:
string
|
null
Methods
to
JSON
toJSON
()
:
{
[
k
:
string
]:
any
}
Returns
{
[
k
:
string
]:
any
}
Static
create
create
(
properties
?:
IAccount
)
:
Account
Parameters
Optional
properties
:
IAccount
Returns
Account
Static
decode
decode
(
r
:
Reader
|
Uint8Array
<
ArrayBufferLike
>
,
l
?:
number
)
:
Account
Parameters
r
:
Reader
|
Uint8Array
<
ArrayBufferLike
>
Optional
l
:
number
Returns
Account
Static
encode
encode
(
m
:
IAccount
,
w
?:
Writer
)
:
Writer
Parameters
m
:
IAccount
Optional
w
:
Writer
Returns
Writer
Static
from
Object
fromObject
(
d
:
{
[
k
:
string
]:
any
}
)
:
Account
Parameters
d
:
{
[
k
:
string
]:
any
}
Returns
Account
Static
get
Type
Url
getTypeUrl
(
typeUrlPrefix
?:
string
)
:
string
Parameters
Optional
typeUrlPrefix
:
string
Returns
string
Static
to
Object
toObject
(
m
:
Account
,
o
?:
IConversionOptions
)
:
{
[
k
:
string
]:
any
}
Parameters
m
:
Account
Optional
o
:
IConversionOptions
Returns
{
[
k
:
string
]:
any
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
country
Code
is
Username
Deleted
lid
username
Methods
to
JSON
create
decode
encode
from
Object
get
Type
Url
to
Object
GitHub
npm
@japofc/baileys - v2.4.7
Loading...