Module twitchpy.dataclasses.hype_train_contribution
Classes
class HypeTrainContribution (total: int, type: str, user: str)
-
Expand source code
@dataclass class HypeTrainContribution: """ Represents a contribution to a Hype Train's goal Attributes: total (int): The total amount contributed type (str): The contribution method used Possible values: BITS SUBS OTHER user (str): The ID of the user that made the contribution """ total: int type: str user: str
Represents a contribution to a Hype Train's goal
Attributes
total
:int
- The total amount contributed
type
:str
- The contribution method used Possible values: BITS SUBS OTHER
user
:str
- The ID of the user that made the contribution
Class variables
var total : int
-
The type of the None singleton.
var type : str
-
The type of the None singleton.
var user : str
-
The type of the None singleton.