Nostrum.Api.get_channel

You're seeing just the function get_channel, go back to Nostrum.Api module for more information.

Specs

Gets a channel.

If successful, returns {:ok, channel}. Otherwise, returns a Nostrum.Api.error/0.

Examples

Nostrum.Api.get_channel(381889573426429952)
{:ok, %Nostrum.Struct.Channel{id: 381889573426429952}}