def METHOD_NAME(cls, data: Union[PartialEmojiPayload, Dict[str, Any]]) -> Self:
    return cls(
        animated=data.get("animated", False),
        id=utils.get_as_snowflake(data, "id"),
        name=data.get("name") or "",
    )