discord-haskell-1.15.3: Write bots for Discord in Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Discord.Internal.Types.Gateway

Description

Data structures needed for interfacing with the Websocket Gateway

Synopsis

Documentation

data GatewaySendableInternal Source #

Sent to gateway by our library

Instances

Instances details
ToJSON GatewaySendableInternal Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

Read GatewaySendableInternal Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

Show GatewaySendableInternal Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

Eq GatewaySendableInternal Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

Ord GatewaySendableInternal Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

data GatewayIntent Source #

Gateway intents to subrscribe to

Details of which intent englobs what data is avalilable at the official Discord documentation

data GatewaySendable Source #

Sent to gateway by a user

data RequestGuildMembersOpts Source #

data UpdateStatusVoiceOpts Source #

Options for UpdateStatusVoice

data UpdateStatusType Source #

Possible values for updateStatusOptsNewStatus

Instances

Instances details
Enum UpdateStatusType Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

Read UpdateStatusType Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

Show UpdateStatusType Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

Eq UpdateStatusType Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

Ord UpdateStatusType Source # 
Instance details

Defined in Discord.Internal.Types.Gateway

statusString :: UpdateStatusType -> Text Source #

Converts an UpdateStatusType to a textual representation