Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Name ... Name = "telegram" // AttrToken ... AttrToken = "token" // AttrPin ... AttrPin = "pin" // AttrChatID ... AttrChatID = "chat_id" // AttrBody ... AttrBody = "body" // AttrUri ... AttrUri = "uri" // FilePath ... AttrFilePath = "file_path" Version = "0.0.1" )
View Source
const ( // StatusDelivered ... StatusDelivered = "delivered" AttrConnected = "connected" AttrOffline = "offline" )
View Source
const (
// FuncEntityAction ...
FuncEntityAction = "telegramAction"
)
Variables ¶
This section is empty.
Functions ¶
func NewStates ¶ added in v0.12.0
func NewStates() (states map[string]supervisor.ActorState)
NewStates ...
Types ¶
type Actor ¶
type Actor struct {
supervisor.BaseActor
AccessToken string
// contains filtered or unexported fields
}
Actor ...
func (*Actor) MessageParams ¶ added in v0.12.0
func (e *Actor) MessageParams() m.Attributes
MessageParams ...
Click to show internal directories.
Click to hide internal directories.