mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 15:44:02 +00:00
feat(bot): add structured payment topic confirmations
This commit is contained in:
@@ -17,6 +17,14 @@ function parsePendingActionType(raw: string): TelegramPendingActionType {
|
||||
return raw
|
||||
}
|
||||
|
||||
if (raw === 'payment_topic_clarification') {
|
||||
return raw
|
||||
}
|
||||
|
||||
if (raw === 'payment_topic_confirmation') {
|
||||
return raw
|
||||
}
|
||||
|
||||
if (raw === 'setup_topic_binding') {
|
||||
return raw
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@ import type { Instant } from '@household/domain'
|
||||
export const TELEGRAM_PENDING_ACTION_TYPES = [
|
||||
'anonymous_feedback',
|
||||
'assistant_payment_confirmation',
|
||||
'payment_topic_clarification',
|
||||
'payment_topic_confirmation',
|
||||
'setup_topic_binding'
|
||||
] as const
|
||||
|
||||
|
||||
Reference in New Issue
Block a user