1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-28 12:27:49 +00:00

update kdoc of telegramBotWithBehaviourAndFSMAndStartLongPolling

This commit is contained in:
InsanusMokrassar 2021-10-15 17:37:14 +06:00
parent c5ff0dbc54
commit 9c15410c4e

View File

@ -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