Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Name ... Name = "telegram" AttrToken = "token" AttrPin = "pin" AttrChatID = "chat_id" AttrBody = "body" AttrPhotoUri = "photo_uri" AttrPhotoPath = "photo_path" AttrFilePath = "file_path" AttrFileUri = "file_uri" AttrKeys = "keys" Version = "0.0.1" )
View Source
const ( AttrConnected = "connected" AttrOffline = "offline" )
View Source
const (
// FuncEntityAction ...
FuncEntityAction = "telegramAction"
)
Variables ¶
View Source
var F embed.FS
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.