SendTopicPushDto
topicstringrequired
Имя FCM topic
Example:
business_42_promotionstitlestringrequired
Заголовок
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 бизнеса
SendTopicPushDto
{
"topic": "business_42_promotions",
"title": "string",
"body": "string",
"imageUrl": "string",
"actionUrl": "string",
"type": "booking_confirmation",
"data": {},
"businessId": 0
}