Elixir v0.2.0 Nostrum.Struct.Guild.TextChannel

Struct representing a Discord text channel.

Summary

Types

The id of the channel’s guild

The channe’s id

Whether the channel is private

Id of the last message sent

The name of the channel

The list of overwrites

The ordered position of the channel

t()

Current channel topic

The type of channel: ‘Text’ or ‘Voice’

Types

guild_id()
guild_id() :: integer

The id of the channel’s guild

id()
id() :: integer

The channe’s id

is_private()
is_private() :: boolean

Whether the channel is private

last_message_id()
last_message_id() :: integer

Id of the last message sent

name()
name() :: String.t

The name of the channel

permission_overwrites()
permission_overwrites() :: [Nostrum.Struct.Overwrite.t]

The list of overwrites

position()
position() :: integer

The ordered position of the channel

t()
t() :: %Nostrum.Struct.Guild.TextChannel{guild_id: guild_id, id: id, is_private: is_private, last_message_id: last_message_id, name: name, permission_overwrites: permission_overwrites, position: position, topic: topic, type: type}
topic()
topic() :: String.t

Current channel topic

type()
type() :: String.t

The type of channel: ‘Text’ or ‘Voice’