Discover Packages
github.com/antonmry/leanmanager
slackbot
package
Version:
v0.0.0-...-c5462c8
Opens a new window with list of versions in this module.
Published: Jan 7, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package slackbot provides all the leanmanager logic for the Slack bot
Package slackbot provides all the leanmanager logic for the Slack bot ¶ Package slackbot provides all the leanmanager logic for the Slack bot
func LaunchSlackbot(slackTokenArg, teamIDArg, apiserverHostArg string , apiserverPortArg int )
LaunchSlackbot starts the Slackbot connecting to Slack and starting to process messages
type Channel struct {
ID string `json:"id"`
Name string `json:"name"`
IsChannel string `json:"is_channel"`
Members interface{} `json:"members"`
}
Channel represents the Slack Channel or Group where the bot is participating
Member defines the participants in the Channel with the bot
type Message struct {
ID uint64 `json:"id"`
Type string `json:"type"`
User string `json:"user,omitempty"`
Channel interface{} `json:"channel"`
Text string `json:"text"`
}
Message represents the message received from Slack
Source Files
¶
Click to show internal directories.
Click to hide internal directories.