Alchemy.Client.delete_channel

You're seeing just the function delete_channel, go back to Alchemy.Client module for more information.
Link to this function

delete_channel(channel_id)

Specs

delete_channel(snowflake()) :: {:ok, Alchemy.Channel.t()} | {:error, term()}

Deletes a channel from a guild.

Here's an example of how to deal with the possible return types using pattern matching:

def my_delete(id) do
 {:ok, channel} = Client.delete_channel(id)
  case channel do
    %DMChannel{} -> "this is a private channel!"
    %TextChannel{} -> "this is a normal channel!"
  end
end