mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-04 07:39:39 +00:00
deprecate several behaviour builder methods
This commit is contained in:
@@ -22,10 +22,10 @@ import kotlin.coroutines.coroutineContext
|
||||
* **WARNING** This method WILL NOT launch any listening of updates. Use something like
|
||||
* [startGettingOfUpdatesByLongPolling] or tools for work with webhooks
|
||||
*
|
||||
* @return Created bot which has been used to create [BehaviourContext] via [buildBehaviour]
|
||||
* @return Created bot which has been used to create [BehaviourContext] via [buildBehaviourWithFSM]
|
||||
*
|
||||
* @see [BehaviourContext]
|
||||
* @see [buildBehaviour]
|
||||
* @see [buildBehaviourWithFSM]
|
||||
* @see startGettingOfUpdatesByLongPolling
|
||||
*/
|
||||
suspend fun telegramBotWithBehaviourAndFSM(
|
||||
@@ -60,8 +60,8 @@ suspend fun telegramBotWithBehaviourAndFSM(
|
||||
* @return Pair of [TelegramBot] and [Job]. This [Job] can be used to stop listening updates in your [block] you passed
|
||||
* here
|
||||
*
|
||||
* @see [BehaviourContext]
|
||||
* @see [buildBehaviour]
|
||||
* @see BehaviourContext
|
||||
* @see buildBehaviourWithFSMAndStartLongPolling
|
||||
* @see startGettingOfUpdatesByLongPolling
|
||||
*/
|
||||
suspend fun telegramBotWithBehaviourAndFSMAndStartLongPolling(
|
||||
|
Reference in New Issue
Block a user