Initial Commit
Initial commit of Code Base.
This commit is contained in:
parent
293b1213e1
commit
c11a4ebbc2
653 changed files with 36893 additions and 1 deletions
13
addons/twitcher/eventsub/twitch_keepalive_message.gd
Normal file
13
addons/twitcher/eventsub/twitch_keepalive_message.gd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
extends RefCounted
|
||||
|
||||
## Defines the message that the EventSub WebSocket server sends your client to indicate that the WebSocket connection is healthy.
|
||||
## See: https://dev.twitch.tv/docs/eventsub/websocket-reference/#keepalive-message
|
||||
class_name TwitchKeepaliveMessage
|
||||
|
||||
var metadata: TwitchEventsub.Metadata;
|
||||
## Is always empty
|
||||
var payload: Dictionary = {};
|
||||
|
||||
func _init(d: Dictionary) -> void:
|
||||
metadata = TwitchEventsub.Metadata.new(d.get("metadata", {}));
|
||||
payload = d["payload"];
|
||||
Loading…
Add table
Add a link
Reference in a new issue