teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
updates
ChannelDifference
Class ChannelDifference
Hierarchy (
View Summary
)
VirtualClass
<
{
chats
:
TypeChat
[]
;
final
?:
boolean
;
newMessages
:
TypeMessage
[]
;
otherUpdates
:
TypeUpdate
[]
;
pts
:
int
;
timeout
?:
int
;
users
:
TypeUser
[]
;
}
,
>
ChannelDifference
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
chats
class
Name
class
Type
CONSTRUCTOR_
ID
final?
new
Messages
original
Args
other
Updates
pts
SUBCLASS_
OF_
ID
timeout?
users
Constructors
constructor
new
ChannelDifference
(
args
:
{
chats
:
TypeChat
[]
;
final
?:
boolean
;
newMessages
:
TypeMessage
[]
;
otherUpdates
:
TypeUpdate
[]
;
pts
:
number
;
timeout
?:
number
;
users
:
TypeUser
[]
;
}
,
)
:
ChannelDifference
Parameters
args
:
{
chats
:
TypeChat
[]
;
final
?:
boolean
;
newMessages
:
TypeMessage
[]
;
otherUpdates
:
TypeUpdate
[]
;
pts
:
number
;
timeout
?:
number
;
users
:
TypeUser
[]
;
}
Returns
ChannelDifference
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
ChannelDifference
Parameters
reader
:
any
Returns
ChannelDifference
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
()
:
{
chats
:
TypeChat
[]
;
final
?:
boolean
;
newMessages
:
TypeMessage
[]
;
otherUpdates
:
TypeUpdate
[]
;
pts
:
number
;
timeout
?:
number
;
users
:
TypeUser
[]
;
}
Returns
{
chats
:
TypeChat
[]
;
final
?:
boolean
;
newMessages
:
TypeMessage
[]
;
otherUpdates
:
TypeUpdate
[]
;
pts
:
number
;
timeout
?:
number
;
users
:
TypeUser
[]
;
}
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
chats
chats
:
TypeChat
[]
class
Name
className
:
"updates.ChannelDifference"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
543450958
Optional
final
final
?:
boolean
new
Messages
newMessages
:
TypeMessage
[]
original
Args
originalArgs
:
{
chats
:
TypeChat
[]
;
final
?:
boolean
;
newMessages
:
TypeMessage
[]
;
otherUpdates
:
TypeUpdate
[]
;
pts
:
number
;
timeout
?:
number
;
users
:
TypeUser
[]
;
}
other
Updates
otherUpdates
:
TypeUpdate
[]
pts
pts
:
number
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
696872797
Optional
timeout
timeout
?:
number
users
users
:
TypeUser
[]
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
chats
class
Name
class
Type
CONSTRUCTOR_
ID
final
new
Messages
original
Args
other
Updates
pts
SUBCLASS_
OF_
ID
timeout
users
GitHub
npm
Issues
teleproto - v1.229.0
Loading...