import "github.com/muesli/beehive/bees/rocketchatbee"
Package rocketchatbee is a Bee that can connect to Rocketchat.
Package rocketchatbee is a Bee that can connect to Rocketchat.
client.go rocketchatbee.go rocketchatbeefactory.go
type Client struct {
// contains filtered or unexported fields
}
getChannelID returns the ID of a channel
ErrorResponse
type Message struct { Text string `json:"msg"` ChannelID string `json:"rid"` Alias string `json:"alias,omitempty"` }
Message defines a chat message
MessageContainer is sent to Rocket.Chat to create a chat message
RocketchatBee is a Bee that can connect to Rocketchat.
func (mod *RocketchatBee) Action(action bees.Action) []bees.Placeholder
Action triggers the action passed to it.
func (mod *RocketchatBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
type RocketchatBeeFactory struct { bees.BeeFactory }
RocketchatBeeFactory is a factory for RocketchatBees.
func (factory *RocketchatBeeFactory) Actions() []bees.ActionDescriptor
Actions describes the available actions provided by this Bee.
func (factory *RocketchatBeeFactory) Description() string
Description returns the description of this Bee.
func (factory *RocketchatBeeFactory) ID() string
ID returns the ID of this Bee.
func (factory *RocketchatBeeFactory) Image() string
Image returns the filename of an image for this Bee.
func (factory *RocketchatBeeFactory) LogoColor() string
LogoColor returns the preferred logo background color (used by the admin interface).
func (factory *RocketchatBeeFactory) Name() string
Name returns the name of this Bee.
func (factory *RocketchatBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
New returns a new Bee instance configured with the supplied options.
func (factory *RocketchatBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.
Room is a Channel in Rocket.Chat
RoomResponseContainer is used to receive the ID of a room/channel
Package rocketchatbee imports 7 packages (graph) and is imported by 3 packages. Updated 2019-08-14. Refresh now. Tools for package owners.