teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
messages
AcceptUrlAuth
Class AcceptUrlAuth
Hierarchy (
View Summary
)
Request
<
Partial
<
{
buttonId
?:
int
;
matchCode
?:
string
;
msgId
?:
MessageIDLike
;
peer
?:
TypeEntityLike
;
sharePhoneNumber
?:
boolean
;
url
?:
string
;
writeAllowed
?:
boolean
;
}
,
>
,
TypeUrlAuthResult
,
>
AcceptUrlAuth
Index
Constructors
constructor
Methods
from
Reader
read
Result
serialize
Bytes
serialize
Date
get
Bytes
resolve
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
__
response
button
Id?
class
Name
class
Type
CONSTRUCTOR_
ID
match
Code?
msg
Id?
original
Args
peer?
share
Phone
Number?
SUBCLASS_
OF_
ID
url?
write
Allowed?
Constructors
constructor
new
AcceptUrlAuth
(
args
:
Args
)
:
AcceptUrlAuth
Parameters
args
:
Args
Returns
AcceptUrlAuth
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
AcceptUrlAuth
Parameters
reader
:
any
Returns
AcceptUrlAuth
Static
read
Result
readResult
(
reader
:
any
)
:
Buffer
Parameters
reader
:
any
Returns
Buffer
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
resolve
resolve
(
client
:
any
,
utils
:
any
)
:
Promise
<
void
>
Parameters
client
:
any
utils
:
any
Returns
Promise
<
void
>
to
JSON
toJSON
()
:
Args
Returns
Args
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
__
response
__response
:
TypeUrlAuthResult
Optional
button
Id
buttonId
?:
number
class
Name
className
:
"messages.AcceptUrlAuth"
class
Type
classType
:
"request"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1738797278
Optional
match
Code
matchCode
?:
string
Optional
msg
Id
msgId
?:
MessageIDLike
original
Args
originalArgs
:
Args
Optional
peer
peer
?:
EntityLike
Optional
share
Phone
Number
sharePhoneNumber
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2003159838
Optional
url
url
?:
string
Optional
write
Allowed
writeAllowed
?:
boolean
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
read
Result
serialize
Bytes
serialize
Date
get
Bytes
resolve
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
__
response
button
Id
class
Name
class
Type
CONSTRUCTOR_
ID
match
Code
msg
Id
original
Args
peer
share
Phone
Number
SUBCLASS_
OF_
ID
url
write
Allowed
GitHub
npm
Issues
teleproto - v1.229.0
Loading...