refactored notificatoin / tgsettle responsibility boundaries
This commit is contained in:
@@ -16,3 +16,15 @@ type TelegramReactionRequest struct {
|
||||
MessageID string `bson:"messageId,omitempty" json:"message_id,omitempty"`
|
||||
Emoji string `bson:"emoji,omitempty" json:"emoji,omitempty"`
|
||||
}
|
||||
|
||||
type TelegramTextRequest struct {
|
||||
RequestID string `bson:"requestId,omitempty" json:"request_id,omitempty"`
|
||||
ChatID string `bson:"chatId,omitempty" json:"chat_id,omitempty"`
|
||||
Text string `bson:"text,omitempty" json:"text,omitempty"`
|
||||
ReplyToMessageID string `bson:"replyToMessageId,omitempty" json:"reply_to_message_id,omitempty"`
|
||||
}
|
||||
|
||||
type TelegramWebhookUpdate struct {
|
||||
UpdateID int64 `bson:"updateId,omitempty" json:"update_id,omitempty"`
|
||||
Message *TelegramMessage `bson:"message,omitempty" json:"message,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user