SendBulkPushDto
recipientTypestringrequired
Тип получателей
Possible values: [user, client, staff]
recipientIdsstring[]required
ID получателей
Example:
[1,2,3]titlestringrequired
Заголовок
bodystringrequired
Тело
imageUrlstring
URL изображения
actionUrlstring
Deep link
typestringrequired
Тип уведомления
Possible values: [booking_confirmation, booking_reminder, booking_cancellation, booking_rescheduled, payment_receipt, new_booking_staff, cancellation_staff, promotional, system, custom, billing_payment_failed]
dataobject
Дополнительные данные
businessIdnumber
ID бизнеса
SendBulkPushDto
{
"recipientType": "user",
"recipientIds": [
1,
2,
3
],
"title": "string",
"body": "string",
"imageUrl": "string",
"actionUrl": "string",
"type": "booking_confirmation",
"data": {},
"businessId": 0
}