teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
InputButtonTypeRequestPeer
Class InputButtonTypeRequestPeer
Hierarchy (
View Summary
)
VirtualClass
<
{
buttonId
:
int
;
maxQuantity
:
int
;
nameRequested
?:
boolean
;
peerType
:
TypeRequestPeerType
;
photoRequested
?:
boolean
;
usernameRequested
?:
boolean
;
}
,
>
InputButtonTypeRequestPeer
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
button
Id
class
Name
class
Type
CONSTRUCTOR_
ID
max
Quantity
name
Requested?
original
Args
peer
Type
photo
Requested?
SUBCLASS_
OF_
ID
username
Requested?
Constructors
constructor
new
InputButtonTypeRequestPeer
(
args
:
{
buttonId
:
number
;
maxQuantity
:
number
;
nameRequested
?:
boolean
;
peerType
:
TypeRequestPeerType
;
photoRequested
?:
boolean
;
usernameRequested
?:
boolean
;
}
,
)
:
InputButtonTypeRequestPeer
Parameters
args
:
{
buttonId
:
number
;
maxQuantity
:
number
;
nameRequested
?:
boolean
;
peerType
:
TypeRequestPeerType
;
photoRequested
?:
boolean
;
usernameRequested
?:
boolean
;
}
Returns
InputButtonTypeRequestPeer
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
InputButtonTypeRequestPeer
Parameters
reader
:
any
Returns
InputButtonTypeRequestPeer
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
()
:
{
buttonId
:
number
;
maxQuantity
:
number
;
nameRequested
?:
boolean
;
peerType
:
TypeRequestPeerType
;
photoRequested
?:
boolean
;
usernameRequested
?:
boolean
;
}
Returns
{
buttonId
:
number
;
maxQuantity
:
number
;
nameRequested
?:
boolean
;
peerType
:
TypeRequestPeerType
;
photoRequested
?:
boolean
;
usernameRequested
?:
boolean
;
}
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
button
Id
buttonId
:
number
class
Name
className
:
"InputButtonTypeRequestPeer"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1071802622
max
Quantity
maxQuantity
:
number
Optional
name
Requested
nameRequested
?:
boolean
original
Args
originalArgs
:
{
buttonId
:
number
;
maxQuantity
:
number
;
nameRequested
?:
boolean
;
peerType
:
TypeRequestPeerType
;
photoRequested
?:
boolean
;
usernameRequested
?:
boolean
;
}
peer
Type
peerType
:
TypeRequestPeerType
Optional
photo
Requested
photoRequested
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
566493579
Optional
username
Requested
usernameRequested
?:
boolean
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
button
Id
class
Name
class
Type
CONSTRUCTOR_
ID
max
Quantity
name
Requested
original
Args
peer
Type
photo
Requested
SUBCLASS_
OF_
ID
username
Requested
GitHub
npm
Issues
teleproto - v1.229.0
Loading...