waitContent

inline suspend fun <O : MessageContent> BehaviourContext.waitContent(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<O>


suspend fun BehaviourContext.waitContent(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean): Flow<MessageContent>

Deprecated

includeMediaGroups is deprecated and its usage will not lead to any changes

Replace with

import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitAnyContent
waitAnyContent(initRequest, errorFactory)