mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
feat: add broadcast category selector (system/news/promo) in admin UI
This commit is contained in:
@@ -76,6 +76,8 @@ export interface EmailBroadcastCreateRequest {
|
||||
export interface CombinedBroadcastCreateRequest {
|
||||
channel: BroadcastChannel;
|
||||
target: string;
|
||||
// Broadcast category for user notification preference filtering
|
||||
category?: 'system' | 'news' | 'promo';
|
||||
// Telegram fields
|
||||
message_text?: string;
|
||||
selected_buttons?: string[];
|
||||
@@ -111,6 +113,8 @@ export interface Broadcast {
|
||||
created_at: string;
|
||||
completed_at: string | null;
|
||||
progress_percent: number;
|
||||
// Broadcast category
|
||||
category?: 'system' | 'news' | 'promo';
|
||||
// New fields for channel support
|
||||
channel?: BroadcastChannel;
|
||||
email_subject?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user