teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
ChannelParticipantAdmin
Class ChannelParticipantAdmin
Hierarchy (
View Summary
)
VirtualClass
<
{
adminRights
:
TypeChatAdminRights
;
canEdit
?:
boolean
;
date
:
int
;
inviterId
?:
long
;
promotedBy
:
long
;
rank
?:
string
;
self
?:
boolean
;
userId
:
long
;
}
,
>
ChannelParticipantAdmin
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
admin
Rights
can
Edit?
class
Name
class
Type
CONSTRUCTOR_
ID
date
inviter
Id?
original
Args
promoted
By
rank?
self?
SUBCLASS_
OF_
ID
user
Id
Constructors
constructor
new
ChannelParticipantAdmin
(
args
:
{
adminRights
:
ChatAdminRights
;
canEdit
?:
boolean
;
date
:
number
;
inviterId
?:
BigInteger
;
promotedBy
:
BigInteger
;
rank
?:
string
;
self
?:
boolean
;
userId
:
BigInteger
;
}
,
)
:
ChannelParticipantAdmin
Parameters
args
:
{
adminRights
:
ChatAdminRights
;
canEdit
?:
boolean
;
date
:
number
;
inviterId
?:
BigInteger
;
promotedBy
:
BigInteger
;
rank
?:
string
;
self
?:
boolean
;
userId
:
BigInteger
;
}
Returns
ChannelParticipantAdmin
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
ChannelParticipantAdmin
Parameters
reader
:
any
Returns
ChannelParticipantAdmin
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
()
:
{
adminRights
:
ChatAdminRights
;
canEdit
?:
boolean
;
date
:
number
;
inviterId
?:
BigInteger
;
promotedBy
:
BigInteger
;
rank
?:
string
;
self
?:
boolean
;
userId
:
BigInteger
;
}
Returns
{
adminRights
:
ChatAdminRights
;
canEdit
?:
boolean
;
date
:
number
;
inviterId
?:
BigInteger
;
promotedBy
:
BigInteger
;
rank
?:
string
;
self
?:
boolean
;
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
admin
Rights
adminRights
:
ChatAdminRights
Optional
can
Edit
canEdit
?:
boolean
class
Name
className
:
"ChannelParticipantAdmin"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
885242707
date
date
:
number
Optional
inviter
Id
inviterId
?:
BigInteger
original
Args
originalArgs
:
{
adminRights
:
ChatAdminRights
;
canEdit
?:
boolean
;
date
:
number
;
inviterId
?:
BigInteger
;
promotedBy
:
BigInteger
;
rank
?:
string
;
self
?:
boolean
;
userId
:
BigInteger
;
}
promoted
By
promotedBy
:
BigInteger
Optional
rank
rank
?:
string
Optional
self
self
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3653762072
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
admin
Rights
can
Edit
class
Name
class
Type
CONSTRUCTOR_
ID
date
inviter
Id
original
Args
promoted
By
rank
self
SUBCLASS_
OF_
ID
user
Id
GitHub
npm
Issues
teleproto - v1.229.0
Loading...