refactored notificatoin / tgsettle responsibility boundaries
This commit is contained in:
@@ -33,3 +33,13 @@ type ConfirmationResult struct {
|
||||
Status ConfirmationStatus `bson:"status,omitempty" json:"status,omitempty"`
|
||||
ParseError string `bson:"parseError,omitempty" json:"parse_error,omitempty"`
|
||||
}
|
||||
|
||||
// ConfirmationRequestDispatch is emitted by the notification service after it sends
|
||||
// a confirmation prompt message to Telegram.
|
||||
type ConfirmationRequestDispatch struct {
|
||||
RequestID string `bson:"requestId,omitempty" json:"request_id,omitempty"`
|
||||
ChatID string `bson:"chatId,omitempty" json:"chat_id,omitempty"`
|
||||
MessageID string `bson:"messageId,omitempty" json:"message_id,omitempty"`
|
||||
Rail string `bson:"rail,omitempty" json:"rail,omitempty"`
|
||||
SourceService string `bson:"sourceService,omitempty" json:"source_service,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user