waitContentMessage
inline suspend fun <O : MessageContent> BehaviourContext.waitContentMessage(initRequest: Request<*>? = null, noinline errorFactory: NullableRequestBuilder<*> = { null }): Flow<CommonMessage<O>>
suspend fun BehaviourContext.waitContentMessage(initRequest: Request<*>? = null, errorFactory: NullableRequestBuilder<*> = { null }, includeMediaGroups: Boolean): Flow<CommonMessage<MessageContent>>
Deprecated
includeMediaGroups is deprecated and its usage will not lead to any changes
Replace with
import dev.inmo.tgbotapi.extensions.behaviour_builder.expectations.waitAnyContentMessage
Content copied to clipboard
waitAnyContentMessage(initRequest, errorFactory)
Content copied to clipboard