Jido.Chat.Discord.ReactionOptions (Jido Chat Discord v1.0.0)

Copy Markdown View Source

Typed options for Discord reaction operations.

Summary

Functions

Builds typed reaction options from keyword, map, or struct input.

Returns the Zoi schema for reaction options.

Builds transport-level options consumed by Discord transport clients.

Types

t()

@type t() :: %Jido.Chat.Discord.ReactionOptions{
  nostrum_message_api: nil | nil | any(),
  transport: any()
}

Functions

new(opts)

Builds typed reaction options from keyword, map, or struct input.

schema()

Returns the Zoi schema for reaction options.

transport_opts(opts)

@spec transport_opts(t()) :: keyword()

Builds transport-level options consumed by Discord transport clients.