pytwitcherapi.chat.message.Tag¶
-
class
pytwitcherapi.chat.message.
Tag
(name, value=None, vendor=None)[source]¶ Bases:
object
An irc v3 tag
Specification for tags. A tag will associate metadata with a message.
To get tags in twitch chat, you have to specify it in the `capability negotiation<http://ircv3.net/specs/core/capability-negotiation-3.1.html>`_.
-
__init__
(name, value=None, vendor=None)[source]¶ Initialize a new tag called name
Parameters: Raises: None
Methods
__init__
(name[, value, vendor])Initialize a new tag called name from_str
(tagstring)Create a tag by parsing the tag of a message -