teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
ChannelParticipant
Class ChannelParticipant
Hierarchy (
View Summary
)
VirtualClass
<
{
date
:
int
;
rank
?:
string
;
subscriptionUntilDate
?:
int
;
userId
:
long
}
,
>
ChannelParticipant
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
date
original
Args
rank?
SUBCLASS_
OF_
ID
subscription
Until
Date?
user
Id
Constructors
constructor
new
ChannelParticipant
(
args
:
{
date
:
number
;
rank
?:
string
;
subscriptionUntilDate
?:
number
;
userId
:
BigInteger
;
}
,
)
:
Api
.
ChannelParticipant
Parameters
args
:
{
date
:
number
;
rank
?:
string
;
subscriptionUntilDate
?:
number
;
userId
:
BigInteger
;
}
Returns
Api
.
ChannelParticipant
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
Api
.
ChannelParticipant
Parameters
reader
:
any
Returns
Api
.
ChannelParticipant
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
()
:
{
date
:
number
;
rank
?:
string
;
subscriptionUntilDate
?:
number
;
userId
:
BigInteger
;
}
Returns
{
date
:
number
;
rank
?:
string
;
subscriptionUntilDate
?:
number
;
userId
:
BigInteger
;
}
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
:
"ChannelParticipant"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
466961494
date
date
:
number
original
Args
originalArgs
:
{
date
:
number
;
rank
?:
string
;
subscriptionUntilDate
?:
number
;
userId
:
BigInteger
;
}
Optional
rank
rank
?:
string
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3653762072
Optional
subscription
Until
Date
subscriptionUntilDate
?:
number
user
Id
userId
:
BigInteger
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
date
original
Args
rank
SUBCLASS_
OF_
ID
subscription
Until
Date
user
Id
GitHub
npm
Issues
teleproto - v1.229.0
Loading...