def get_next_set_offset(context, matching_sets):
    """Get the set search offset for the next query."""
    # Set the next offset. If we found all matching sets, set the offset to 'done'
    if len(matching_sets) == 8:
        return f"{context.inline_query_id}:{context.offset + 8}"

    # We reached the end of the strictly matching sticker sets.
    return "done"