Preparing search index...
The search index is not available
mtcute - v0.17.2
mtcute
@mtcute/core
utils
UpdatesStateService
Class UpdatesStateService
Hierarchy (
view full
)
BaseService
UpdatesStateService
Index
Constructors
constructor
Properties
_driver
_kv
_log
_reader
Map
_writer
Map
Methods
_deserialize
Tl
_serialize
Tl
get
Channel
Pts
get
State
set
Channel
Pts
set
Date
set
Many
Channel
Pts
set
Pts
set
Qts
set
Seq
Constructors
constructor
new
Updates
State
Service
(
_kv
,
opts
)
:
UpdatesStateService
Parameters
_kv
:
IKeyValueRepository
opts
:
ServiceOptions
Returns
UpdatesStateService
Properties
Protected
_driver
_driver
:
IStorageDriver
Readonly
_kv
_kv
:
IKeyValueRepository
Protected
_log
_log
:
Logger
Protected
_reader
Map
_reader
Map
:
TlReaderMap
Protected
_writer
Map
_writer
Map
:
TlWriterMap
Methods
Protected
_deserialize
Tl
_deserialize
Tl
(
data
)
:
null
|
TlObject
Parameters
data
:
Uint8Array
Returns
null
|
TlObject
Protected
_serialize
Tl
_serialize
Tl
(
obj
)
:
Uint8Array
Parameters
obj
:
TlObject
Returns
Uint8Array
get
Channel
Pts
get
Channel
Pts
(
channelId
)
:
Promise
<
null
|
number
>
Parameters
channelId
:
number
Returns
Promise
<
null
|
number
>
get
State
get
State
(
)
:
Promise
<
null
|
[
number
,
number
,
number
,
number
]
>
Returns
Promise
<
null
|
[
number
,
number
,
number
,
number
]
>
set
Channel
Pts
set
Channel
Pts
(
channelId
,
pts
)
:
Promise
<
void
>
Parameters
channelId
:
number
pts
:
number
Returns
Promise
<
void
>
set
Date
set
Date
(
date
)
:
Promise
<
void
>
Parameters
date
:
number
Returns
Promise
<
void
>
set
Many
Channel
Pts
set
Many
Channel
Pts
(
cpts
)
:
Promise
<
void
>
Parameters
cpts
:
Map
<
number
,
number
>
Returns
Promise
<
void
>
set
Pts
set
Pts
(
pts
)
:
Promise
<
void
>
Parameters
pts
:
number
Returns
Promise
<
void
>
set
Qts
set
Qts
(
qts
)
:
Promise
<
void
>
Parameters
qts
:
number
Returns
Promise
<
void
>
set
Seq
set
Seq
(
seq
)
:
Promise
<
void
>
Parameters
seq
:
number
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_driver
_kv
_log
_reader
Map
_writer
Map
Methods
_deserialize
Tl
_serialize
Tl
get
Channel
Pts
get
State
set
Channel
Pts
set
Date
set
Many
Channel
Pts
set
Pts
set
Qts
set
Seq
mtcute - v0.17.2
Loading...