User
user ¶
Functions and classes for working with users in Notion.
U_co = TypeVar('U_co', bound=(objs.User), default=(objs.User), covariant=True) module-attribute ¶
Bot(*args: Any, **kwargs: Any) ¶
Person(*args: Any, **kwargs: Any) ¶
UnknownUser(*args: Any, **kwargs: Any) ¶
User(*args: Any, **kwargs: Any) ¶
User object for persons, bots and unknown users.
Unknown users are users, which no longer participate in the workspace or were revoked access. They are represented by their ID and have the name Unknown User.
avatar_url: str | None property ¶
Return the avatar URL of this user.
id: UUID property ¶
Return the ID of this user.
is_bot: bool property ¶
Return True if this user is a bot.
is_person: bool property ¶
Return True if this user is a person.
is_unknown: bool property ¶
Return True if this user is an unknown user.
name: str | None property ¶
Return the name of this user.