Teleforge API Reference - v0.1.0
Preparing search index...
bot/src
WebAppContext
Interface WebAppContext
interface
WebAppContext
{
bot
:
BotInstance
|
null
;
reply
:
(
text
:
string
,
options
?:
ReplyOptions
)
=>
Promise
<
TelegramMessage
>
;
replyWithWebApp
:
(
text
:
string
,
buttonText
:
string
,
url
:
string
,
)
=>
Promise
<
TelegramMessage
>
;
state
:
Record
<
string
,
unknown
>
;
update
:
TelegramUpdate
;
buttonText
:
string
|
null
;
chat
:
TelegramChat
;
data
:
string
;
message
:
TelegramMessage
;
user
:
TelegramUser
|
null
;
}
Hierarchy (
View Summary
)
UpdateContext
WebAppContext
Index
Properties
bot
reply
reply
With
Web
App
state
update
button
Text
chat
data
message
user
Properties
bot
bot
:
BotInstance
|
null
reply
reply
:
(
text
:
string
,
options
?:
ReplyOptions
)
=>
Promise
<
TelegramMessage
>
reply
With
Web
App
replyWithWebApp
:
(
text
:
string
,
buttonText
:
string
,
url
:
string
,
)
=>
Promise
<
TelegramMessage
>
state
state
:
Record
<
string
,
unknown
>
update
update
:
TelegramUpdate
button
Text
buttonText
:
string
|
null
chat
chat
:
TelegramChat
data
data
:
string
message
message
:
TelegramMessage
user
user
:
TelegramUser
|
null
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
bot
reply
reply
With
Web
App
state
update
button
Text
chat
data
message
user
Teleforge API Reference - v0.1.0
Loading...