<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [SubscriptionDialog](./sip.js.subscriptiondialog.md) &gt; [(constructor)](./sip.js.subscriptiondialog._constructor_.md)

## SubscriptionDialog.(constructor)

Constructs a new instance of the `SubscriptionDialog` class

<b>Signature:</b>

```typescript
constructor(subscriptionEvent: string, subscriptionExpires: number, subscriptionState: SubscriptionState, core: UserAgentCore, state: DialogState, delegate?: SubscriptionDelegate);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  subscriptionEvent | <code>string</code> |  |
|  subscriptionExpires | <code>number</code> |  |
|  subscriptionState | <code>SubscriptionState</code> |  |
|  core | <code>UserAgentCore</code> |  |
|  state | <code>DialogState</code> |  |
|  delegate | <code>SubscriptionDelegate</code> |  |

