Skip to content

Emoji

emoji

Dealing with emoji objects of the Notion API.

TO = TypeVar('TO', bound=objs.TypedObject) module-attribute

CustomEmoji()

Custom emoji object which behaves like str.

id: UUID property

Return the ID of this custom emoji.

name: str property

Return the name of this custom emoji.

url: str property

Return the URL of this custom emoji.

__repr__() -> str

__str__() -> str

Emoji(emoji: str)

Unicode emoji object which behaves like str.

name: str property

Return the name of the emoji.

obj_ref = objs.EmojiObject.build(emoji) instance-attribute

__repr__() -> str

__str__() -> str

EmojiBase(*args: Any, **kwargs: Any)

Base class for emoji objects, which behave like str.

name: str abstractmethod property

Return the name of the emoji.

to_code: str property

Represent the emoji as :shortcode:, e.g. 😄

__eq__(other: Any) -> bool

__hash__()