discord-hs-0.2.1: An API wrapper for Discord in Haskell

Safe HaskellNone
LanguageHaskell2010

Network.Discord.Types.Channel

Description

Data structures pertaining to Discord Channels

Synopsis

Documentation

data User Source #

Represents information about a user.

Constructors

User 

Fields

Webhook 

Instances

data Channel Source #

Guild channels represent an isolated set of users and messages in a Guild (Server)

Constructors

Text

A text channel in a guild.

Fields

Voice

A voice channel in a guild.

Fields

DirectMessage

DM Channels represent a one-to-one conversation between two users, outside the scope of guilds

Fields

data Overwrite Source #

Permission overwrites for a channel.

Constructors

Overwrite 

Fields

data Message Source #

Represents information about a message in a Discord channel.

Constructors

Message 

Fields

data Attachment Source #

Represents an attached to a message file.

Constructors

Attachment 

Fields

data Embed Source #

An embed attached to a message.

Constructors

Embed 

Fields