teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
Timezone
Class Timezone
Hierarchy (
View Summary
)
VirtualClass
<
{
id
:
string
;
name
:
string
;
utcOffset
:
int
}
>
Timezone
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
id
name
original
Args
SUBCLASS_
OF_
ID
utc
Offset
Constructors
constructor
new
Timezone
(
args
:
{
id
:
string
;
name
:
string
;
utcOffset
:
number
}
)
:
Timezone
Parameters
args
:
{
id
:
string
;
name
:
string
;
utcOffset
:
number
}
Returns
Timezone
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
Timezone
Parameters
reader
:
any
Returns
Timezone
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
id
:
string
;
name
:
string
;
utcOffset
:
number
}
Returns
{
id
:
string
;
name
:
string
;
utcOffset
:
number
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
class
Name
className
:
"Timezone"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
4287793653
id
id
:
string
name
name
:
string
original
Args
originalArgs
:
{
id
:
string
;
name
:
string
;
utcOffset
:
number
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3463958721
utc
Offset
utcOffset
:
number
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
id
name
original
Args
SUBCLASS_
OF_
ID
utc
Offset
GitHub
npm
Issues
teleproto - v1.229.0
Loading...