Module twitchpy.dataclasses.badge

Classes

class Badge (set_id: str,
versions: list[BadgeVersion])
Expand source code
@dataclass
class Badge:
    """
    Represents a chat badge

    Attributes:
        set_id (str): ID for the chat badge set
        versions (list[BadgeVersion]): Chat badge versions for the set
    """

    set_id: str
    versions: list[BadgeVersion]

Represents a chat badge

Attributes

set_id : str
ID for the chat badge set
versions : list[BadgeVersion]
Chat badge versions for the set

Class variables

var set_id : str

The type of the None singleton.

var versions : list[BadgeVersion]

The type of the None singleton.