SKUs and their subscriptions.
Every function returns {:ok, result}, :ok when Discord sends no body, or
{:error, %Lingo.Error{}}. Calls go to the current bot (see Lingo.with_bot/2).
Summary
Functions
Fetches a subscription to a SKU.
Lists the application's SKUs.
Lists the subscriptions to a SKU.
Functions
@spec get_subscription(Lingo.Api.id(), Lingo.Api.id()) :: Lingo.Api.result(Lingo.Type.Subscription.t())
Fetches a subscription to a SKU.
@spec list() :: Lingo.Api.result([Lingo.Type.SKU.t()])
Lists the application's SKUs.
@spec list_subscriptions( Lingo.Api.id(), keyword() ) :: Lingo.Api.result([Lingo.Type.Subscription.t()])
Lists the subscriptions to a SKU.