mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-28 08:47:38 +08:00
extend message actions and persist process logs with safer exec defaults
This commit is contained in:
@@ -21,6 +21,9 @@ type OutboundMessage struct {
|
||||
Content string `json:"content"`
|
||||
ReplyToID string `json:"reply_to_id,omitempty"`
|
||||
Buttons [][]Button `json:"buttons,omitempty"`
|
||||
Action string `json:"action,omitempty"`
|
||||
MessageID string `json:"message_id,omitempty"`
|
||||
Emoji string `json:"emoji,omitempty"`
|
||||
}
|
||||
|
||||
type MessageHandler func(InboundMessage) error
|
||||
|
||||
Reference in New Issue
Block a user