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