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