def METHOD_NAME(self) -> EmojiPayload:
    payload: EmojiPayload = {
        'id': self.id,
        'name': self.name,
    }
    if self.animated:
        payload['animated'] = self.animated
    return payload