TwitchMessage

Inherits: RefCounted < Object

Represents a fully parsed raw Twitch IRC protocol message.

Description

Extends the standardized IRC message to incorporate Twitch-specific capabilities such as badges, emotes, cheer tracking, and native broadcaster flags seamlessly mapped into a standalone node wrapper natively.

Tutorials

Methods

String

get_color(tags: Dictionary) static

String

get_display_name(tags: Dictionary) static

String

get_msg_id(tags: Dictionary) static

String

get_room_id(tags: Dictionary) static

String

get_twitch_command(message: IRCMessage) static

String

get_user_id(tags: Dictionary) static

bool

is_moderator(tags: Dictionary) static

bool

is_subscriber(tags: Dictionary) static

bool

is_turbo(tags: Dictionary) static

bool

is_twitch_command(message: IRCMessage) static

bool

is_vip(tags: Dictionary) static

Dictionary

parse_badges(badges_string: String) static

Array

parse_emote_sets(emote_sets_string: String) static

Dictionary

parse_emotes(emotes_string: String) static

String

parse_system_message(system_msg: String) static


Method Descriptions

String get_color(tags: Dictionary) static 🔗

Returns a hexadecimal hex code string signifying the external user's customizable chat display aesthetic coloration naturally.


String get_display_name(tags: Dictionary) static 🔗

Returns the localized Twitch identifier handle ensuring perfectly accurate case-sensitivity for accurate API tracking parameters.


String get_msg_id(tags: Dictionary) static 🔗

Returns the msg id. tags - Tags.


String get_room_id(tags: Dictionary) static 🔗

Returns the Twitch specific channel identifier natively binding the network elements to a standardized backend channel database layer securely.


String get_twitch_command(message: IRCMessage) static 🔗

Returns the twitch command. message - Message.


String get_user_id(tags: Dictionary) static 🔗

Returns the sender's explicit numerical Twitch networking UUID identifier securely matching standard user configurations effectively.


bool is_moderator(tags: Dictionary) static 🔗

Returns true if the target message sender structurally possesses generalized external channel administration flags securely.


bool is_subscriber(tags: Dictionary) static 🔗

Returns true if the sender object registers perfectly natively inside the Twitch channel subscriber data configuration layer.


bool is_turbo(tags: Dictionary) static 🔗

Returns true if turbo. tags - Tags.


bool is_twitch_command(message: IRCMessage) static 🔗

Returns true if twitch command. message - Message.


bool is_vip(tags: Dictionary) static 🔗

Returns true if the sequence client evaluates correctly against internal Twitch broadcasting administration privileges as a localized VIP.


Dictionary parse_badges(badges_string: String) static 🔗

Returns parse badges. badges_string - Badges string.


Array parse_emote_sets(emote_sets_string: String) static 🔗

Returns parse emote sets. emote_sets_string - Emote sets string.


Dictionary parse_emotes(emotes_string: String) static 🔗

Returns parse emotes. emotes_string - Emotes string.


String parse_system_message(system_msg: String) static 🔗

Returns parse system message. system_msg - System msg.