mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-30 05:58:43 +00:00
25 lines
1.9 KiB
Markdown
25 lines
1.9 KiB
Markdown
//[docs](../../../index.md)/[dev.inmo.tgbotapi.extensions.behaviour_builder](../index.md)/[BehaviourContext](index.md)/[BehaviourContext](-behaviour-context.md)
|
|
|
|
|
|
|
|
# BehaviourContext
|
|
[common]
|
|
Content
|
|
fun [BehaviourContext](-behaviour-context.md)(bot: [TelegramBot](../../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), scope: , flowsUpdatesFilter: [FlowsUpdatesFilter](../../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.md) = FlowsUpdatesFilter())
|
|
More info
|
|
|
|
|
|
## Parameters
|
|
|
|
common
|
|
|
|
| | |
|
|
|---|---|
|
|
| <a name="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContext/BehaviourContext/#dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.CoroutineScope#dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter/PointingToDeclaration/"></a>scope| <a name="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContext/BehaviourContext/#dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.CoroutineScope#dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter/PointingToDeclaration/"></a><br><br>This param will be used for creating of some subscriptions inside of methods, updates listening and different other things in context of working with and coroutines.<br><br>|
|
|
| <a name="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContext/BehaviourContext/#dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.CoroutineScope#dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter/PointingToDeclaration/"></a>flowsUpdatesFilter| <a name="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourContext/BehaviourContext/#dev.inmo.tgbotapi.bot.RequestsExecutor#kotlinx.coroutines.CoroutineScope#dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter/PointingToDeclaration/"></a><br><br>This parameter will be used to subscribe on different types of update<br><br>|
|
|
|
|
|
|
|
|
|
|
|