mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-07 07:27:31 +08:00
fix whatsapp
This commit is contained in:
@@ -25,15 +25,16 @@ type Button struct {
|
||||
}
|
||||
|
||||
type OutboundMessage struct {
|
||||
Channel string `json:"channel"`
|
||||
ChatID string `json:"chat_id"`
|
||||
Content string `json:"content"`
|
||||
Media string `json:"media,omitempty"`
|
||||
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"`
|
||||
Channel string `json:"channel"`
|
||||
ChatID string `json:"chat_id"`
|
||||
Content string `json:"content"`
|
||||
Media string `json:"media,omitempty"`
|
||||
ReplyToID string `json:"reply_to_id,omitempty"`
|
||||
ReplyToSender string `json:"reply_to_sender,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