User¶
- class twitchio.User¶
Bases:
PartialUser
Represents a User.
This class inherits from PartialUser and contains additional information about the user.
- name¶
The user’s name. In most cases, this is provided. There are however, rare cases where it is not.
- Type
str | None
- type¶
The type of the user. Possible values are:
admin - Twitch administrator
global_mod
staff - Twitch staff
empty string - Normal user
- Type
Literal[“admin”, “global_mod”, “staff”, “”]
- broadcaster_type¶
The broadcaster type of the user. Possible values are:
affiliate
partner
empty string - Normal user
- Type
Literal[“affiliate”, “partner”, “”]
- offline_image¶
Offline image as an asset, otherwise None if broadcaster as not set one.
- Type
Asset | None
- email¶
The user’s verified email address. The object includes this field only if the user access token includes the
user:read:email
scope.- Type
str | None
- created_at¶
When the user was created.
- Type