Documentation
¶
Index ¶
Constants ¶
View Source
const ( Name = "telegram" AttrToken = "token" AttrName = "name" AttrBody = "body" )
View Source
const (
FuncEntityAction = "telegramAction"
)
View Source
const (
// StatusDelivered ...
StatusDelivered = "delivered"
)
Variables ¶
This section is empty.
Functions ¶
func NewAttr ¶
func NewAttr() m.Attributes
func NewMessageParams ¶
func NewMessageParams() m.Attributes
func NewSettings ¶
func NewSettings() m.Attributes
Types ¶
type Actor ¶
type Actor struct {
entity_manager.BaseActor
AccessToken string
// contains filtered or unexported fields
}
Actor ...
func NewActor ¶
func NewActor(entity *m.Entity, entityManager entity_manager.EntityManager, scriptService scripts.ScriptService, eventBus event_bus.EventBus, adaptors *adaptors.Adaptors) (*Actor, error)
NewActor ...
func (*Actor) Spawn ¶
func (p *Actor) Spawn() entity_manager.PluginActor
Click to show internal directories.
Click to hide internal directories.