UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

49 lines (48 loc) 1.49 kB
/** * Ocra (REST API for Sinch RTC clients) * REST API for Sinch RTC clients. * * The version of the OpenAPI document: 0.11.0 * Contact: rtc@sinch.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { PushNotificationDestination } from './'; /** * * @export * @interface PushNotification */ export interface PushNotification { /** * This may be used as apns-collapse-id for APNS, or collapseKey for FCM. The value may for example be a Call Id. The value must not exceed 64 bytes. * @type {string} * @memberof PushNotification */ collapseId: string; /** * A Template ID, referencing a template that is defined in the Sinch backend. * @type {string} * @memberof PushNotification */ templateId: string; /** * * @type {{ [key: string]: string; }} * @memberof PushNotification */ templateParameters: { [key: string]: string; }; /** * * @type {Array<PushNotificationDestination>} * @memberof PushNotification */ to: Array<PushNotificationDestination>; } export declare function PushNotificationFromJSON(json: any): PushNotification; export declare function PushNotificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PushNotification; export declare function PushNotificationToJSON(value?: PushNotification | null): any;