Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name ... Name = "slack" // AttrToken ... AttrToken = "token" // AttrUserName ... AttrUserName = "user_name" // AttrChannel ... AttrChannel = "channel" // AttrText ... AttrText = "text" Version = "0.0.1" )
Variables ¶
View Source
var F embed.FS
Functions ¶
Types ¶
type Actor ¶ added in v0.12.0
type Actor struct { *supervisor.BaseActor Token string UserName string // contains filtered or unexported fields }
Actor ...
func NewActor ¶ added in v0.12.0
func NewActor(entity *m.Entity, service supervisor.Service) *Actor
NewActor ...
func (*Actor) MessageParams ¶ added in v0.12.0
func (e *Actor) MessageParams() m.Attributes
MessageParams ... Channel Text
Click to show internal directories.
Click to hide internal directories.