- Add Telegram integration support by introducing a dispatcher for handling Telegram events and messages. - Implement event notifications for robot configuration changes (creation, update, deletion) to facilitate integration with external services. - Refactor the robot initialization process to load robots into cache and start the dispatcher, improving the overall system setup. - Update the delivery event structure to include additional metadata for better context during message handling. - Enhance logging capabilities for better observability during robot execution and event processing.
5 lines
98 B
Go
5 lines
98 B
Go
package events
|
|
|
|
import "github.com/yaoapp/yao/agent/robot/logger"
|
|
|
|
var log = logger.New("events")
|