View Source TwitchEventSub behaviour (hello_twitch_eventsub v0.1.4)
The behaviour and implementation of EventSub.
Example implementation
defmodule ExampleHandler do
use TwitchEventSub
@impl TwitchEventSub
def handle_event("channel.follow", event) do
# Do something with a follow.
end
end
Summary
Callbacks
Handle events from Twitch EventSub.
Callbacks
Handle events from Twitch EventSub.