Search
Preparing search index...
The search index is not available
koreanbots - v3.2.1
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
koreanbots - v3.2.1
User
Class User
Hierarchy
Base
User
Index
Constructors
constructor
Properties
bots
flags
github
id
koreanbots
tag
username
Methods
_deserialize
_serialize
cache
After
Cache
Miss
fetch
is
toJSON
value
Of
Constructors
constructor
new
User
(
koreanbots
:
Koreanbots
, data
:
RawUserInstance
)
:
User
Parameters
koreanbots:
Koreanbots
data:
RawUserInstance
Returns
User
Properties
Readonly
bots
bots
:
Collection
<
string
,
undefined
|
Nullable
<
Bot
>
>
Readonly
flags
flags
:
UserFlags
Readonly
github
github
:
Nullable
<
Github
>
Readonly
id
id
:
string
koreanbots
koreanbots
:
Koreanbots
Readonly
tag
tag
:
string
Readonly
username
username
:
string
Methods
Protected
_deserialize
_deserialize
<
T
>
(
value
:
string
)
:
T
Type parameters
T
Parameters
value:
string
Returns
T
Protected
_serialize
_serialize
<
T
>
(
value
:
T
)
:
string
Type parameters
T
Parameters
value:
T
Returns
string
Private
cache
After
Cache
Miss
cache
After
Cache
Miss
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
fetch
fetch
(
)
:
Promise
<
User
>
Returns
Promise
<
User
>
is
is
(
type
:
UserFlags
|
"NONE"
|
"ADMINISTRATOR"
|
"BUG_HUNTER"
|
"BOT_REVIEWER"
|
"PREMIUM_USER"
)
:
boolean
Parameters
type:
UserFlags
|
"NONE"
|
"ADMINISTRATOR"
|
"BUG_HUNTER"
|
"BOT_REVIEWER"
|
"PREMIUM_USER"
Returns
boolean
toJSON
toJSON
(
)
:
User
Returns
User
value
Of
value
Of
(
)
:
string
Returns
string
Exports
Constants
Errors
Utils
User
constructor
bots
flags
github
id
koreanbots
tag
username
_deserialize
_serialize
cache
After
Cache
Miss
fetch
is
toJSON
value
Of
Generated using
TypeDoc