> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSQuickReply

## Constructors

### NSQuickReply()

```crmscript theme={null}
NSQuickReply
```

Initializes a new instance of the NSQuickReply class.

## Methods

## GetHtmlBody()

```crmscript theme={null}
String GetHtmlBody()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The HTML body of the quick reply.

**Example:**

```crmscript theme={null}
NSQuickReply thing;
String htmlBody = thing.GetHtmlBody();
```

## GetName()

```crmscript theme={null}
String GetName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The short name of the quick reply.

**Example:**

```crmscript theme={null}
NSQuickReply thing;
String name = thing.GetName();
```

## GetQuickReplyId()

```crmscript theme={null}
Integer GetQuickReplyId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Primary key.

**Example:**

```crmscript theme={null}
NSQuickReply thing;
Integer quickReplyId = thing.GetQuickReplyId();
```

## SetHtmlBody(String)

```crmscript theme={null}
Void SetHtmlBody(String htmlBody)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuickReply thing;
String htmlBody;
thing.SetHtmlBody(htmlBody);
```

## SetName(String)

```crmscript theme={null}
Void SetName(String name)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuickReply thing;
String name;
thing.SetName(name);
```

## SetQuickReplyId(Integer)

```crmscript theme={null}
Void SetQuickReplyId(Integer quickReplyId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuickReply thing;
Integer quickReplyId;
thing.SetQuickReplyId(quickReplyId);
```


## Related topics

- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [Save Quick Replies](/en/api/reference/restful/agent/list_agent/save-quick-replies.md)
- [quick_reply table](/en/database/tables/quick-reply.md)
- [Get Quick Replies](/en/api/reference/restful/agent/list_agent/get-quick-replies.md)
- [Get Preview Quick Reply](/en/api/reference/restful/agent/customerservice_agent/get-preview-quick-reply.md)
- [SuperOffice.WebApi.Data.QuickReply](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuickReply.md)
