teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
RequestPeerTypeChat
Class RequestPeerTypeChat
Hierarchy (
View Summary
)
VirtualClass
<
{
botAdminRights
?:
TypeChatAdminRights
;
botParticipant
?:
boolean
;
creator
?:
boolean
;
forum
?:
Bool
;
hasUsername
?:
Bool
;
userAdminRights
?:
TypeChatAdminRights
;
}
,
>
RequestPeerTypeChat
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
bot
Admin
Rights?
bot
Participant?
class
Name
class
Type
CONSTRUCTOR_
ID
creator?
forum?
has
Username?
original
Args
SUBCLASS_
OF_
ID
user
Admin
Rights?
Constructors
constructor
new
RequestPeerTypeChat
(
args
:
{
botAdminRights
?:
ChatAdminRights
;
botParticipant
?:
boolean
;
creator
?:
boolean
;
forum
?:
boolean
;
hasUsername
?:
boolean
;
userAdminRights
?:
ChatAdminRights
;
}
,
)
:
RequestPeerTypeChat
Parameters
args
:
{
botAdminRights
?:
ChatAdminRights
;
botParticipant
?:
boolean
;
creator
?:
boolean
;
forum
?:
boolean
;
hasUsername
?:
boolean
;
userAdminRights
?:
ChatAdminRights
;
}
Returns
RequestPeerTypeChat
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
RequestPeerTypeChat
Parameters
reader
:
any
Returns
RequestPeerTypeChat
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
()
:
{
botAdminRights
?:
ChatAdminRights
;
botParticipant
?:
boolean
;
creator
?:
boolean
;
forum
?:
boolean
;
hasUsername
?:
boolean
;
userAdminRights
?:
ChatAdminRights
;
}
Returns
{
botAdminRights
?:
ChatAdminRights
;
botParticipant
?:
boolean
;
creator
?:
boolean
;
forum
?:
boolean
;
hasUsername
?:
boolean
;
userAdminRights
?:
ChatAdminRights
;
}
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
Optional
bot
Admin
Rights
botAdminRights
?:
ChatAdminRights
Optional
bot
Participant
botParticipant
?:
boolean
class
Name
className
:
"RequestPeerTypeChat"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3387977243
Optional
creator
creator
?:
boolean
Optional
forum
forum
?:
boolean
Optional
has
Username
hasUsername
?:
boolean
original
Args
originalArgs
:
{
botAdminRights
?:
ChatAdminRights
;
botParticipant
?:
boolean
;
creator
?:
boolean
;
forum
?:
boolean
;
hasUsername
?:
boolean
;
userAdminRights
?:
ChatAdminRights
;
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3919636500
Optional
user
Admin
Rights
userAdminRights
?:
ChatAdminRights
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
bot
Admin
Rights
bot
Participant
class
Name
class
Type
CONSTRUCTOR_
ID
creator
forum
has
Username
original
Args
SUBCLASS_
OF_
ID
user
Admin
Rights
GitHub
npm
Issues
teleproto - v1.229.0
Loading...