calamity-0.1.7.0: A library for writing discord bots
Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Model.Channel.ChannelType

Description

Types of channels

Documentation

data ChannelType Source #

Instances

Instances details
Enum ChannelType Source # 
Instance details

Defined in Calamity.Types.Model.Channel.ChannelType

Eq ChannelType Source # 
Instance details

Defined in Calamity.Types.Model.Channel.ChannelType

Show ChannelType Source # 
Instance details

Defined in Calamity.Types.Model.Channel.ChannelType

Generic ChannelType Source # 
Instance details

Defined in Calamity.Types.Model.Channel.ChannelType

Associated Types

type Rep ChannelType :: Type -> Type #

FromJSON ChannelType Source # 
Instance details

Defined in Calamity.Types.Model.Channel.ChannelType

Methods

parseJSON :: Value -> Parser ChannelType

parseJSONList :: Value -> Parser [ChannelType]

ToJSON ChannelType Source # 
Instance details

Defined in Calamity.Types.Model.Channel.ChannelType

Methods

toJSON :: ChannelType -> Value

toEncoding :: ChannelType -> Encoding

toJSONList :: [ChannelType] -> Value

toEncodingList :: [ChannelType] -> Encoding

TextShow ChannelType Source # 
Instance details

Defined in Calamity.Types.Model.Channel.ChannelType

type Rep ChannelType Source # 
Instance details

Defined in Calamity.Types.Model.Channel.ChannelType

type Rep ChannelType = D1 ('MetaData "ChannelType" "Calamity.Types.Model.Channel.ChannelType" "calamity-0.1.7.0-inplace" 'False) ((C1 ('MetaCons "GuildTextType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DMType" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GuildVoiceType" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GroupDMType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GuildCategoryType" 'PrefixI 'False) (U1 :: Type -> Type))))