haskbot-core-0.0.1.1: Easily-extensible chatbot for Slack messaging service

Safe HaskellNone

Network.Haskbot.Internal.SlashCommand

Synopsis

Documentation

data SlashCom Source

Encapsulates all data provided by a request from a Slack slash command integration

Constructors

SlashCom 

Fields

token :: !Token

the token corresponding to the slash command integration secret token

teamID :: !TeamID

the team ID of the command invoker

channelID :: !ChannelID

the channel ID where the command was invoked

channelName :: !ChannelName

the channel name where the command was invoked

userID :: !UserID

the user ID of the command invoker

userName :: !UserName

the username of the command invoker

command :: !Command

the name of the command invoked

text :: !Text

any text following the invoked slash command

Instances