Initial Commit

Initial commit of Code Base.
This commit is contained in:
Mario Steele 2025-06-12 14:31:14 -05:00
parent 293b1213e1
commit c11a4ebbc2
653 changed files with 36893 additions and 1 deletions

View file

@ -0,0 +1,39 @@
@tool
extends TwitchData
# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
class_name TwitchDeleteChatMessages
## All optional parameters for TwitchAPI.delete_chat_messages
## #/components/schemas/DeleteChatMessagesOpt
class Opt extends TwitchData:
## The ID of the message to remove. The `id` tag in the [PRIVMSG](https://dev.twitch.tv/docs/irc/tags#privmsg-tags) tag contains the messages ID. Restrictions:
##
## * The message must have been created within the last 6 hours.
## * The message must not belong to the broadcaster.
## * The message must not belong to another moderator.
##
## If not specified, the request removes all messages in the broadcasters chat room.
@export var message_id: String:
set(val):
message_id = val
track_data(&"message_id", val)
## Constructor with all required fields.
static func create() -> Opt:
var opt: Opt = Opt.new()
return opt
static func from_json(d: Dictionary) -> Opt:
var result: Opt = Opt.new()
if d.get("message_id", null) != null:
result.message_id = d["message_id"]
return result