def get_emoji_sequence_type(seq):
    """Return the type of the (possibly non-canonical)  sequence, or None if
    not recognized as a sequence.  Types are in EMOJI_SEQUENCE_TYPES."""
    data = get_emoji_sequence_data(seq)
    return None if not data else data[2]