pokepurple/addons/twitcher/generated/twitch_delete_chat_messages.gd
Mario Steele c11a4ebbc2 Initial Commit
Initial commit of Code Base.
2025-06-12 14:31:14 -05:00

39 lines
No EOL
1.1 KiB
GDScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@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