Skip to main content

User

Class swibots.api.common.models.User

The User class represents a user.

Properties

  • id (int): The user's id.
  • name (str): The user's full name.
  • username (str): The user's username.
  • image_url (str): The user's profile image url.
  • active (bool): Whether the user is active.
  • deleted (bool): Whether the user is deleted.
  • role_info (str): The user's role info.
  • admin (bool): Whether the user is an admin.
  • is_bot (bool): Whether the user is a bot.