mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
small change of deprecations message
This commit is contained in:
parent
420b846466
commit
738e628a89
@ -14,7 +14,7 @@ import com.github.insanusmokrassar.TelegramBotAPI.utils.PreviewFeature
|
|||||||
import com.github.insanusmokrassar.TelegramBotAPI.utils.handleSafely
|
import com.github.insanusmokrassar.TelegramBotAPI.utils.handleSafely
|
||||||
import kotlinx.coroutines.*
|
import kotlinx.coroutines.*
|
||||||
|
|
||||||
@Deprecated("Replaced and renamed into TelegramBotAPI-extensions-utils")
|
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||||
fun RequestsExecutor.startGettingOfUpdates(
|
fun RequestsExecutor.startGettingOfUpdates(
|
||||||
timeoutSeconds: Seconds = 30,
|
timeoutSeconds: Seconds = 30,
|
||||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
||||||
@ -72,7 +72,7 @@ fun RequestsExecutor.startGettingOfUpdates(
|
|||||||
@FlowPreview
|
@FlowPreview
|
||||||
@PreviewFeature
|
@PreviewFeature
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
@Deprecated("Replaced and renamed into TelegramBotAPI-extensions-utils")
|
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||||
fun RequestsExecutor.startGettingFlowsUpdates(
|
fun RequestsExecutor.startGettingFlowsUpdates(
|
||||||
timeoutSeconds: Seconds = 30,
|
timeoutSeconds: Seconds = 30,
|
||||||
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
scope: CoroutineScope = CoroutineScope(Dispatchers.Default),
|
||||||
@ -84,7 +84,7 @@ fun RequestsExecutor.startGettingFlowsUpdates(
|
|||||||
startGettingOfUpdates(timeoutSeconds, scope, exceptionsHandler, allowedUpdates, asUpdateReceiver)
|
startGettingOfUpdates(timeoutSeconds, scope, exceptionsHandler, allowedUpdates, asUpdateReceiver)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated("Replaced and renamed into TelegramBotAPI-extensions-utils")
|
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||||
fun RequestsExecutor.startGettingOfUpdates(
|
fun RequestsExecutor.startGettingOfUpdates(
|
||||||
updatesFilter: UpdatesFilter,
|
updatesFilter: UpdatesFilter,
|
||||||
timeoutSeconds: Seconds = 30,
|
timeoutSeconds: Seconds = 30,
|
||||||
@ -98,7 +98,7 @@ fun RequestsExecutor.startGettingOfUpdates(
|
|||||||
updatesFilter.asUpdateReceiver
|
updatesFilter.asUpdateReceiver
|
||||||
)
|
)
|
||||||
|
|
||||||
@Deprecated("Replaced and renamed into TelegramBotAPI-extensions-utils")
|
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||||
fun RequestsExecutor.startGettingOfUpdates(
|
fun RequestsExecutor.startGettingOfUpdates(
|
||||||
messageCallback: UpdateReceiver<MessageUpdate>? = null,
|
messageCallback: UpdateReceiver<MessageUpdate>? = null,
|
||||||
messageMediaGroupCallback: UpdateReceiver<MessageMediaGroupUpdate>? = null,
|
messageMediaGroupCallback: UpdateReceiver<MessageMediaGroupUpdate>? = null,
|
||||||
@ -144,7 +144,7 @@ fun RequestsExecutor.startGettingOfUpdates(
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
@Deprecated("Replaced and renamed into TelegramBotAPI-extensions-utils")
|
@Deprecated("Replaced and renamed in TelegramBotAPI-extensions-utils")
|
||||||
fun RequestsExecutor.startGettingOfUpdates(
|
fun RequestsExecutor.startGettingOfUpdates(
|
||||||
messageCallback: UpdateReceiver<MessageUpdate>? = null,
|
messageCallback: UpdateReceiver<MessageUpdate>? = null,
|
||||||
mediaGroupCallback: UpdateReceiver<MediaGroupUpdate>? = null,
|
mediaGroupCallback: UpdateReceiver<MediaGroupUpdate>? = null,
|
||||||
|
Loading…
Reference in New Issue
Block a user