def get_cached_stickers(context, fuzzy=False):
    """Return cached search results from a previous inline query request."""
    query_id = context.inline_query_id
    cache = context.tg_context.bot_data[query_id]

    if fuzzy:
        results = cache["fuzzy"]
        offset = context.fuzzy_offset
    else:
        results = cache["strict"]
        offset = context.offset

    return results[offset : offset + 50]