Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
Api
NearestDc
Class NearestDc
Hierarchy
VirtualClass
<
{
country
:
string
;
thisDc
:
int
;
nearestDc
:
int
}
>
NearestDc
Index
Properties
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
original
Args
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
country
this
Dc
nearest
Dc
Methods
serialize
Bytes
serialize
Date
get
Bytes
toJSON
from
Reader
Constructors
constructor
Properties
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
number
Static
class
Name
class
Name
:
string
Static
class
Type
class
Type
:
"constructor"
|
"request"
original
Args
original
Args
:
{
country
:
string
;
thisDc
:
number
;
nearestDc
:
number
}
Type declaration
country
:
string
this
Dc
:
number
nearest
Dc
:
number
CONSTRUCTOR_
ID
CONSTRUCTOR_
ID
:
2384074613
SUBCLASS_
OF_
ID
SUBCLASS_
OF_
ID
:
947323999
class
Type
class
Type
:
"constructor"
class
Name
class
Name
:
"NearestDc"
country
country
:
string
this
Dc
this
Dc
:
number
nearest
Dc
nearest
Dc
:
number
Methods
Static
serialize
Bytes
serialize
Bytes
(
data
:
string
|
Buffer
)
:
Buffer
Parameters
data:
string
|
Buffer
Returns
Buffer
Static
serialize
Date
serialize
Date
(
date
:
number
|
Date
)
:
Buffer
Parameters
date:
number
|
Date
Returns
Buffer
get
Bytes
get
Bytes
(
)
:
Buffer
Returns
Buffer
toJSON
toJSON
(
)
:
{
country
:
string
;
thisDc
:
number
;
nearestDc
:
number
}
Returns
{
country
:
string
;
thisDc
:
number
;
nearestDc
:
number
}
country
:
string
this
Dc
:
number
nearest
Dc
:
number
Static
from
Reader
from
Reader
(
reader
:
any
)
:
NearestDc
Parameters
reader:
any
Returns
NearestDc
Constructors
constructor
new
Nearest
Dc
(
args
:
{
country
:
string
;
thisDc
:
number
;
nearestDc
:
number
}
)
:
NearestDc
Parameters
args:
{
country
:
string
;
thisDc
:
number
;
nearestDc
:
number
}
country
:
string
this
Dc
:
number
nearest
Dc
:
number
Returns
NearestDc
Exports
helpers
password
utils
client
errors
extensions
sessions
Api
storage
auth
contacts
messages
updates
photos
upload
help
account
channels
payments
phone
stats
stickers
users
chatlists
bots
stories
premium
langpack
folders
tl
custom
Nearest
Dc
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
serialize
Bytes
serialize
Date
get
Bytes
constructor
original
Args
toJSON
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Type
class
Name
from
Reader
country
this
Dc
nearest
Dc
Generated using
TypeDoc