View Source TwitchEventSub.Subscriptions (hello_twitch_eventsub v0.1.4)
Twitch API.
Summary
Functions
Create an eventsub subscription.
Create many Twitch event sub subscriptions.
List all eventsub subscriptions.
Functions
@spec create( auth :: TwitchAPI.Auth.t(), subscription :: TwitchEventSub.Subscriptions.Subscription.t(), opts :: map() ) :: {:ok, Req.Response.t()} | {:error, term()}
Create an eventsub subscription.
@spec create_many( auth :: TwitchAPI.Auth.t(), method :: :conduit | :webhook | :websocket, channel_ids :: [String.t()], subscriptions :: [String.t()], opts :: map() ) :: :ok
Create many Twitch event sub subscriptions.
@spec list(TwitchAPI.Auth.t(), params :: map()) :: {:ok, Req.Response.t()} | {:error, term()}
List all eventsub subscriptions.