---
url: https://relizy.dev/typedoc/interfaces/SlackOptions.md
---
[relizy](../index.md) / SlackOptions

# Interface: SlackOptions

Defined in: [packages/relizy/src/types.ts:1842](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1842)

## Properties

### announcement?

> `optional` **announcement?**: `object`

Defined in: [packages/relizy/src/types.ts:1890](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1890)

Announcement of a single version (`social.slack.announcements`): its
message, shown before the changelog, and its links, replacing the buttons
of the rich blocks format

#### links

> **links**: [`SocialLink`](SocialLink.md)\[]

#### message?

> `optional` **message?**: `string`

***

### changelog

> **changelog**: `string` | [`SlackReleaseSection`](SlackReleaseSection.md)\[]

Defined in: [packages/relizy/src/types.ts:1850](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1850)

Changelog of a single version (markdown), or the sections of a release of several versions

***

### changelogFormat?

> `optional` **changelogFormat?**: [`SlackChangelogFormat`](../type-aliases/SlackChangelogFormat.md)

Defined in: [packages/relizy/src/types.ts:1876](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1876)

Changelog rendering of the message

#### Default

```ts
'summary'
```

***

### channel?

> `optional` **channel?**: `string`

Defined in: [packages/relizy/src/types.ts:1854](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1854)

Slack channel ID or name. Required when using token-based auth.

***

### contributors?

> `optional` **contributors?**: `string`\[]

Defined in: [packages/relizy/src/types.ts:1880](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1880)

Contributor names (plain strings, no email/handle). Empty array or undefined → no contributors block.

***

### dryRun?

> `optional` **dryRun?**: `boolean`

Defined in: [packages/relizy/src/types.ts:1895](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1895)

Run without side effects

#### Default

```ts
false
```

***

### packages?

> `optional` **packages?**: [`SlackPackageEntry`](SlackPackageEntry.md)\[]

Defined in: [packages/relizy/src/types.ts:1884](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1884)

Packages bumped in this release. Empty array or undefined → no packages block.

***

### postMaxLength?

> `optional` **postMaxLength?**: `number`

Defined in: [packages/relizy/src/types.ts:1871](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1871)

Maximum chars of the changelog rendered in the message.
Defaults to 2500 in `summary` format and to no limit in `full` format.

***

### template?

> `optional` **template?**: `string`

Defined in: [packages/relizy/src/types.ts:1866](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1866)

Custom message template

***

### token?

> `optional` **token?**: `string`

Defined in: [packages/relizy/src/types.ts:1858](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1858)

Slack Bot Token. Ignored if webhookUrl is set.

***

### variables

> **variables**: [`SocialTemplateVariables`](SocialTemplateVariables.md)

Defined in: [packages/relizy/src/types.ts:1846](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1846)

Variables of the template, and of the header of the rich blocks format

***

### webhookUrl?

> `optional` **webhookUrl?**: `string`

Defined in: [packages/relizy/src/types.ts:1862](https://github.com/LouisMazel/relizy/blob/b6643ceb9b0195df93c3f9f14cf5200f7ccc2322/packages/relizy/src/types.ts#L1862)

Slack Incoming Webhook URL. Takes priority over token.
