mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-26 12:08:43 +00:00
update kdoc of telegramBotWithBehaviourAndFSMAndStartLongPolling
This commit is contained in:
parent
c5ff0dbc54
commit
9c15410c4e
@ -54,11 +54,8 @@ suspend fun telegramBotWithBehaviourAndFSM(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create bot using [telegramBot] and start listening for updates using [buildBehaviour].
|
* Create bot using [telegramBot] and start listening for updates using [buildBehaviourWithFSMAndStartLongPolling]. This
|
||||||
* Use this method in case you wish to make some additional actions with [flowsUpdatesFilter].
|
* method will launch updates retrieving via long polling inside of [buildBehaviourWithFSMAndStartLongPolling]
|
||||||
*
|
|
||||||
* **WARNING** This method WILL NOT launch any listening of updates. Use something like
|
|
||||||
* [startGettingOfUpdatesByLongPolling] or tools for work with webhooks
|
|
||||||
*
|
*
|
||||||
* @return Pair of [TelegramBot] and [Job]. This [Job] can be used to stop listening updates in your [block] you passed
|
* @return Pair of [TelegramBot] and [Job]. This [Job] can be used to stop listening updates in your [block] you passed
|
||||||
* here
|
* here
|
||||||
|
Loading…
Reference in New Issue
Block a user