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

Calamity.Gateway.DispatchEvents

Description

module containing all dispatch events

Documentation

data DispatchMessage Source #

Instances

Instances details
Show DispatchMessage Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic DispatchMessage Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep DispatchMessage :: Type -> Type #

type Rep DispatchMessage Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep DispatchMessage = D1 ('MetaData "DispatchMessage" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "DispatchData'" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DispatchData)) :+: C1 ('MetaCons "ShutDown" 'PrefixI 'False) (U1 :: Type -> Type))

data DispatchData Source #

Instances

Instances details
Show DispatchData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic DispatchData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep DispatchData :: Type -> Type #

type Rep DispatchData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep DispatchData = D1 ('MetaData "DispatchData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (((((C1 ('MetaCons "Ready" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ReadyData)) :+: C1 ('MetaCons "ChannelCreate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Channel))) :+: (C1 ('MetaCons "ChannelUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Channel)) :+: C1 ('MetaCons "ChannelDelete" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Channel)))) :+: ((C1 ('MetaCons "ChannelPinsUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChannelPinsUpdateData)) :+: C1 ('MetaCons "GuildCreate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Guild))) :+: (C1 ('MetaCons "GuildUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UpdatedGuild)) :+: C1 ('MetaCons "GuildDelete" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnavailableGuild))))) :+: (((C1 ('MetaCons "GuildBanAdd" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildBanData)) :+: C1 ('MetaCons "GuildBanRemove" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildBanData))) :+: (C1 ('MetaCons "GuildEmojisUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildEmojisUpdateData)) :+: C1 ('MetaCons "GuildIntegrationsUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildIntegrationsUpdateData)))) :+: ((C1 ('MetaCons "GuildMemberAdd" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Member)) :+: C1 ('MetaCons "GuildMemberRemove" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildMemberRemoveData))) :+: (C1 ('MetaCons "GuildMemberUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildMemberUpdateData)) :+: C1 ('MetaCons "GuildMembersChunk" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildMembersChunkData)))))) :+: ((((C1 ('MetaCons "GuildRoleCreate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildRoleData)) :+: C1 ('MetaCons "GuildRoleUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildRoleData))) :+: (C1 ('MetaCons "GuildRoleDelete" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuildRoleDeleteData)) :+: C1 ('MetaCons "MessageCreate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Message)))) :+: ((C1 ('MetaCons "MessageUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UpdatedMessage)) :+: C1 ('MetaCons "MessageDelete" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MessageDeleteData))) :+: (C1 ('MetaCons "MessageDeleteBulk" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MessageDeleteBulkData)) :+: C1 ('MetaCons "MessageReactionAdd" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Reaction))))) :+: (((C1 ('MetaCons "MessageReactionRemove" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Reaction)) :+: C1 ('MetaCons "MessageReactionRemoveAll" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MessageReactionRemoveAllData))) :+: (C1 ('MetaCons "PresenceUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PresenceUpdateData)) :+: C1 ('MetaCons "TypingStart" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypingStartData)))) :+: ((C1 ('MetaCons "UserUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)) :+: C1 ('MetaCons "VoiceStateUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VoiceStateUpdateData))) :+: (C1 ('MetaCons "VoiceServerUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VoiceServerUpdateData)) :+: C1 ('MetaCons "WebhooksUpdate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WebhooksUpdateData)))))))

data ReadyData Source #

Constructors

ReadyData 

Instances

Instances details
Show ReadyData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic ReadyData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep ReadyData :: Type -> Type #

FromJSON ReadyData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser ReadyData

parseJSONList :: Value -> Parser [ReadyData]

type Rep ReadyData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

data GuildBanData Source #

Constructors

GuildBanData 

Instances

Instances details
Show GuildBanData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic GuildBanData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep GuildBanData :: Type -> Type #

FromJSON GuildBanData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser GuildBanData

parseJSONList :: Value -> Parser [GuildBanData]

type Rep GuildBanData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep GuildBanData = D1 ('MetaData "GuildBanData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "GuildBanData" 'PrefixI 'True) (S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)))

data GuildEmojisUpdateData Source #

Instances

Instances details
Show GuildEmojisUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic GuildEmojisUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep GuildEmojisUpdateData :: Type -> Type #

FromJSON GuildEmojisUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser GuildEmojisUpdateData

parseJSONList :: Value -> Parser [GuildEmojisUpdateData]

type Rep GuildEmojisUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep GuildEmojisUpdateData = D1 ('MetaData "GuildEmojisUpdateData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "GuildEmojisUpdateData" 'PrefixI 'True) (S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 ('MetaSel ('Just "emojis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Emoji])))

data GuildMemberRemoveData Source #

Instances

Instances details
Show GuildMemberRemoveData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic GuildMemberRemoveData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep GuildMemberRemoveData :: Type -> Type #

FromJSON GuildMemberRemoveData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser GuildMemberRemoveData

parseJSONList :: Value -> Parser [GuildMemberRemoveData]

type Rep GuildMemberRemoveData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep GuildMemberRemoveData = D1 ('MetaData "GuildMemberRemoveData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "GuildMemberRemoveData" 'PrefixI 'True) (S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)))

data GuildMemberUpdateData Source #

Constructors

GuildMemberUpdateData 

Fields

Instances

Instances details
Show GuildMemberUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic GuildMemberUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep GuildMemberUpdateData :: Type -> Type #

FromJSON GuildMemberUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser GuildMemberUpdateData

parseJSONList :: Value -> Parser [GuildMemberUpdateData]

type Rep GuildMemberUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep GuildMemberUpdateData = D1 ('MetaData "GuildMemberUpdateData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "GuildMemberUpdateData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 ('MetaSel ('Just "roles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector (Snowflake Role)))) :*: (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "nick") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))

data GuildMembersChunkData Source #

Instances

Instances details
Show GuildMembersChunkData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic GuildMembersChunkData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep GuildMembersChunkData :: Type -> Type #

FromJSON GuildMembersChunkData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser GuildMembersChunkData

parseJSONList :: Value -> Parser [GuildMembersChunkData]

type Rep GuildMembersChunkData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep GuildMembersChunkData = D1 ('MetaData "GuildMembersChunkData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "GuildMembersChunkData" 'PrefixI 'True) (S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Member])))

data GuildRoleData Source #

Constructors

GuildRoleData 

Instances

Instances details
Show GuildRoleData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic GuildRoleData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep GuildRoleData :: Type -> Type #

FromJSON GuildRoleData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser GuildRoleData

parseJSONList :: Value -> Parser [GuildRoleData]

type Rep GuildRoleData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep GuildRoleData = D1 ('MetaData "GuildRoleData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "GuildRoleData" 'PrefixI 'True) (S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 ('MetaSel ('Just "role") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Role)))

data GuildRoleDeleteData Source #

Instances

Instances details
Show GuildRoleDeleteData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic GuildRoleDeleteData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep GuildRoleDeleteData :: Type -> Type #

FromJSON GuildRoleDeleteData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser GuildRoleDeleteData

parseJSONList :: Value -> Parser [GuildRoleDeleteData]

type Rep GuildRoleDeleteData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep GuildRoleDeleteData = D1 ('MetaData "GuildRoleDeleteData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "GuildRoleDeleteData" 'PrefixI 'True) (S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 ('MetaSel ('Just "roleID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Role))))

data MessageDeleteData Source #

Instances

Instances details
Show MessageDeleteData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic MessageDeleteData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep MessageDeleteData :: Type -> Type #

FromJSON MessageDeleteData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser MessageDeleteData

parseJSONList :: Value -> Parser [MessageDeleteData]

type Rep MessageDeleteData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep MessageDeleteData = D1 ('MetaData "MessageDeleteData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "MessageDeleteData" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Message)) :*: (S1 ('MetaSel ('Just "channelID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Channel)) :*: S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)))))

data MessageDeleteBulkData Source #

data MessageReactionRemoveAllData Source #

Instances

Instances details
Show MessageReactionRemoveAllData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic MessageReactionRemoveAllData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep MessageReactionRemoveAllData :: Type -> Type #

FromJSON MessageReactionRemoveAllData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep MessageReactionRemoveAllData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep MessageReactionRemoveAllData = D1 ('MetaData "MessageReactionRemoveAllData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "MessageReactionRemoveAllData" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Channel)) :*: (S1 ('MetaSel ('Just "messageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Message)) :*: S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Snowflake Guild))))))

data PresenceUpdateData Source #

Constructors

PresenceUpdateData 

Instances

Instances details
Show PresenceUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic PresenceUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep PresenceUpdateData :: Type -> Type #

FromJSON PresenceUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser PresenceUpdateData

parseJSONList :: Value -> Parser [PresenceUpdateData]

type Rep PresenceUpdateData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep PresenceUpdateData = D1 ('MetaData "PresenceUpdateData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "PresenceUpdateData" 'PrefixI 'True) (S1 ('MetaSel ('Just "userID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake User)) :*: (S1 ('MetaSel ('Just "roles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector (Snowflake Role))) :*: S1 ('MetaSel ('Just "presence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Presence))))

data TypingStartData Source #

Instances

Instances details
Show TypingStartData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Generic TypingStartData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Associated Types

type Rep TypingStartData :: Type -> Type #

FromJSON TypingStartData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

Methods

parseJSON :: Value -> Parser TypingStartData

parseJSONList :: Value -> Parser [TypingStartData]

type Rep TypingStartData Source # 
Instance details

Defined in Calamity.Gateway.DispatchEvents

type Rep TypingStartData = D1 ('MetaData "TypingStartData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "TypingStartData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channelID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Channel)) :*: S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Snowflake Guild)))) :*: (S1 ('MetaSel ('Just "userID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake User)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnixTimestamp))))