async def METHOD_NAME(
    self, default_bot, chat_id, venue, custom
):
    reply_to_message = await default_bot.send_message(chat_id, "test")
    await reply_to_message.delete()
    if custom is not None:
        message = await default_bot.send_venue(
            chat_id,
            venue=venue,
            allow_sending_without_reply=custom,
            reply_to_message_id=reply_to_message.message_id,
        )
        assert message.reply_to_message is None
    elif default_bot.defaults.allow_sending_without_reply:
        message = await default_bot.send_venue(
            chat_id, venue=venue, reply_to_message_id=reply_to_message.message_id
        )
        assert message.reply_to_message is None
    else:
        with pytest.raises(BadRequest, match="message not found"):
            await default_bot.send_venue(
                chat_id, venue=venue, reply_to_message_id=reply_to_message.message_id
            )