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

Copy Markdown View Source

Typed options for Discord delete_message/3.

Summary

Functions

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

Returns the Zoi schema for delete options.

Builds transport-level options consumed by Discord transport clients.

Types

t()

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

Functions

new(opts)

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

schema()

Returns the Zoi schema for delete options.

transport_opts(opts)

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

Builds transport-level options consumed by Discord transport clients.