Module twitchpy.dataclasses.unban_request
Classes
class UnbanRequest (request_id: str,
channel: Channel,
moderator: User,
user: User,
text: str,
status: str,
created_at: datetime.datetime,
resolved_at: datetime.datetime,
resolution_text: str)-
Expand source code
@dataclass class UnbanRequest: """ Represents an unban request Attributes: request_id (str): Unban request ID channel (Channel): Channel that is receiving the unban request moderator (User): Moderator who approved/denied the request user (User): User who is asking for an unban text (str): Text of the request from the requesting user status (str): Status of the request Possible values: pending, approved, denied, acknowledged, canceled created_at (datetime): Timestamp of when the unban request was created resolved_at (datetime): Timestamp of when moderator/broadcaster approved or denied the request resolution_text (str): Text input by the resolver (moderator) of the unban request """ request_id: str channel: Channel moderator: User user: User text: str status: str created_at: datetime resolved_at: datetime resolution_text: str
Represents an unban request
Attributes
request_id
:str
- Unban request ID
channel
:Channel
- Channel that is receiving the unban request
moderator
:User
- Moderator who approved/denied the request
user
:User
- User who is asking for an unban
text
:str
- Text of the request from the requesting user
status
:str
- Status of the request Possible values: pending, approved, denied, acknowledged, canceled
created_at
:datetime
- Timestamp of when the unban request was created
resolved_at
:datetime
- Timestamp of when moderator/broadcaster approved or denied the request
resolution_text
:str
- Text input by the resolver (moderator) of the unban request
Class variables
var channel : Channel
-
The type of the None singleton.
var created_at : datetime.datetime
-
The type of the None singleton.
var moderator : User
-
The type of the None singleton.
var request_id : str
-
The type of the None singleton.
var resolution_text : str
-
The type of the None singleton.
var resolved_at : datetime.datetime
-
The type of the None singleton.
var status : str
-
The type of the None singleton.
var text : str
-
The type of the None singleton.
var user : User
-
The type of the None singleton.