teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
messages
RequestSimpleWebView
Class RequestSimpleWebView
Hierarchy (
View Summary
)
Request
<
Partial
<
{
bot
:
TypeEntityLike
;
compact
?:
boolean
;
fromSideMenu
?:
boolean
;
fromSwitchWebview
?:
boolean
;
fullscreen
?:
boolean
;
platform
:
string
;
startParam
?:
string
;
themeParams
?:
TypeDataJSON
;
url
?:
string
;
}
,
>
,
TypeWebViewResult
,
>
RequestSimpleWebView
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
bot
class
Name
class
Type
compact?
CONSTRUCTOR_
ID
from
Side
Menu?
from
Switch
Webview?
fullscreen?
original
Args
platform
start
Param?
SUBCLASS_
OF_
ID
theme
Params?
url?
Constructors
constructor
new
RequestSimpleWebView
(
args
:
Args
)
:
RequestSimpleWebView
Parameters
args
:
Args
Returns
RequestSimpleWebView
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
RequestSimpleWebView
Parameters
reader
:
any
Returns
RequestSimpleWebView
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
:
WebViewResultUrl
bot
bot
:
EntityLike
class
Name
className
:
"messages.RequestSimpleWebView"
class
Type
classType
:
"request"
Optional
compact
compact
?:
boolean
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1094336115
Optional
from
Side
Menu
fromSideMenu
?:
boolean
Optional
from
Switch
Webview
fromSwitchWebview
?:
boolean
Optional
fullscreen
fullscreen
?:
boolean
original
Args
originalArgs
:
Args
platform
platform
:
string
Optional
start
Param
startParam
?:
string
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2479793990
Optional
theme
Params
themeParams
?:
DataJSON
Optional
url
url
?:
string
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
bot
class
Name
class
Type
compact
CONSTRUCTOR_
ID
from
Side
Menu
from
Switch
Webview
fullscreen
original
Args
platform
start
Param
SUBCLASS_
OF_
ID
theme
Params
url
GitHub
npm
Issues
teleproto - v1.229.0
Loading...