calamity-0.8.0.0: A library for writing discord bots in haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Calamity.Types.Model.Channel.DM

Description

A DM channel with a single person

Documentation

data DMChannel Source #

Instances

Instances details
FromJSON DMChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

Show DMChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

Updateable DMChannel Source # 
Instance details

Defined in Calamity.Internal.Updateable

Associated Types

type Updated DMChannel Source #

Tellable DMChannel Source # 
Instance details

Defined in Calamity.Types.Tellable

Methods

getChannel :: forall (r :: EffectRow). (BotC r, Member (Error RestError) r) => DMChannel -> Sem r (Snowflake Channel) Source #

Mentionable DMChannel Source # 
Instance details

Defined in Calamity.Utils.Message

Eq DMChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

TextShow DMChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

HasID Channel DMChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

HasID DMChannel DMChannel Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

(k ~ A_Lens, a ~ Snowflake DMChannel, b ~ Snowflake DMChannel) => LabelOptic "id" k DMChannel DMChannel a b Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

(k ~ A_Lens, a ~ Maybe (Snowflake Message), b ~ Maybe (Snowflake Message)) => LabelOptic "lastMessageID" k DMChannel DMChannel a b Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

(k ~ A_Lens, a ~ Maybe UTCTime, b ~ Maybe UTCTime) => LabelOptic "lastPinTimestamp" k DMChannel DMChannel a b Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

(k ~ A_Lens, a ~ [User], b ~ [User]) => LabelOptic "recipients" k DMChannel DMChannel a b Source # 
Instance details

Defined in Calamity.Types.Model.Channel.DM

Upgradeable DMChannel (Snowflake DMChannel) Source # 
Instance details

Defined in Calamity.Types.Upgradeable

Methods

upgrade :: forall (r :: EffectRow). BotC r => Snowflake DMChannel -> Sem r (Maybe DMChannel) Source #

Tellable (Snowflake DMChannel) Source # 
Instance details

Defined in Calamity.Types.Tellable

Mentionable (Snowflake DMChannel) Source # 
Instance details

Defined in Calamity.Utils.Message

type Updated DMChannel Source # 
Instance details

Defined in Calamity.Internal.Updateable