mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-25 11:38:45 +00:00
fixes :)
This commit is contained in:
parent
48c4e90912
commit
0416b200b8
@ -26,7 +26,7 @@ suspend fun BehaviourContext.waitContent(
|
|||||||
errorFactory: NullableRequestBuilder<*> = { null },
|
errorFactory: NullableRequestBuilder<*> = { null },
|
||||||
includeMediaGroups: Boolean
|
includeMediaGroups: Boolean
|
||||||
) = waitContent<MessageContent>(initRequest, errorFactory)
|
) = waitContent<MessageContent>(initRequest, errorFactory)
|
||||||
suspend fun BehaviourContext.waitContent(
|
suspend fun BehaviourContext.waitAnyContent(
|
||||||
initRequest: Request<*>? = null,
|
initRequest: Request<*>? = null,
|
||||||
errorFactory: NullableRequestBuilder<*> = { null }
|
errorFactory: NullableRequestBuilder<*> = { null }
|
||||||
) = waitContent<MessageContent>(initRequest, errorFactory)
|
) = waitContent<MessageContent>(initRequest, errorFactory)
|
||||||
|
@ -52,7 +52,7 @@ suspend fun BehaviourContext.waitContentMessage(
|
|||||||
errorFactory: NullableRequestBuilder<*> = { null },
|
errorFactory: NullableRequestBuilder<*> = { null },
|
||||||
includeMediaGroups: Boolean
|
includeMediaGroups: Boolean
|
||||||
) = waitContentMessage<MessageContent>(initRequest, errorFactory)
|
) = waitContentMessage<MessageContent>(initRequest, errorFactory)
|
||||||
suspend fun BehaviourContext.waitContentMessage(
|
suspend fun BehaviourContext.waitAnyContentMessage(
|
||||||
initRequest: Request<*>? = null,
|
initRequest: Request<*>? = null,
|
||||||
errorFactory: NullableRequestBuilder<*> = { null },
|
errorFactory: NullableRequestBuilder<*> = { null },
|
||||||
) = waitContentMessage<MessageContent>(initRequest, errorFactory)
|
) = waitContentMessage<MessageContent>(initRequest, errorFactory)
|
||||||
|
Loading…
Reference in New Issue
Block a user