calamity-0.1.0.0: A library for writing discord bots
Calamity.Types.Model.Channel.DM
Description
A DM channel with a single person
data DMChannel Source #
Constructors
Fields
Defined in Calamity.Types.Model.Channel.DM
Methods
(==) :: DMChannel -> DMChannel -> Bool #
(/=) :: DMChannel -> DMChannel -> Bool #
showsPrec :: Int -> DMChannel -> ShowS #
show :: DMChannel -> String #
showList :: [DMChannel] -> ShowS #
Associated Types
type Rep DMChannel :: Type -> Type #
from :: DMChannel -> Rep DMChannel x #
to :: Rep DMChannel x -> DMChannel #
toJSON :: DMChannel -> Value #
toEncoding :: DMChannel -> Encoding #
toJSONList :: [DMChannel] -> Value #
toEncodingList :: [DMChannel] -> Encoding #
parseJSON :: Value -> Parser DMChannel #
parseJSONList :: Value -> Parser [DMChannel] #
showbPrec :: Int -> DMChannel -> Builder #
showb :: DMChannel -> Builder #
showbList :: [DMChannel] -> Builder #
showtPrec :: Int -> DMChannel -> Text #
showt :: DMChannel -> Text #
showtList :: [DMChannel] -> Text #
showtlPrec :: Int -> DMChannel -> Text #
showtl :: DMChannel -> Text #
showtlList :: [DMChannel] -> Text #
Defined in Calamity.Internal.Updateable
type Updated DMChannel :: Type Source #
update :: Updated DMChannel -> DMChannel -> DMChannel Source #
getID :: DMChannel -> Snowflake Channel Source #
getID :: DMChannel -> Snowflake DMChannel Source #