mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
Update promoOffers.ts
This commit is contained in:
@@ -55,12 +55,18 @@ export interface PromoOfferBroadcastRequest {
|
|||||||
target?: string
|
target?: string
|
||||||
user_id?: number
|
user_id?: number
|
||||||
telegram_id?: number
|
telegram_id?: number
|
||||||
|
// Telegram notification options
|
||||||
|
send_notification?: boolean
|
||||||
|
message_text?: string
|
||||||
|
button_text?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PromoOfferBroadcastResponse {
|
export interface PromoOfferBroadcastResponse {
|
||||||
created_offers: number
|
created_offers: number
|
||||||
user_ids: number[]
|
user_ids: number[]
|
||||||
target: string | null
|
target: string | null
|
||||||
|
notifications_sent: number
|
||||||
|
notifications_failed: number
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PromoOfferTemplate {
|
export interface PromoOfferTemplate {
|
||||||
|
|||||||
Reference in New Issue
Block a user