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

# Interface: SlackSocialConfig

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

## Properties

### announcements?

> `optional` **announcements?**: [`SocialAnnouncement`](../type-aliases/SocialAnnouncement.md)\[]

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

The versions to announce and their content (title, message, links).
Without it, every version is announced; with it, only the versions
matching an entry.

***

### changelog?

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

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

The changelog of the Slack message.

* `full`: commit bodies and PR/issue links included, rendered as rich text blocks
  (one per changelog section). Commit bodies follow `changelog.includeCommitBody`.
* `summary`: commit titles only, in a single section capped at `postMaxLength`.
* `none` (or `false`): no changelog.
  Can be overridden with the `--slack-format` CLI flag.

#### Default

```ts
'summary'
```

***

### channel?

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

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

Slack channel ID or name (e.g., "#releases" or "C1234567890").
Required when using token-based authentication.
Ignored (with warning) when webhookUrl is set - the channel is baked into the webhook URL.

***

### credentials?

> `optional` **credentials?**: [`SlackCredentials`](SlackCredentials.md)

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

Slack credentials (optional - falls back to environment variables)

***

### enabled?

> `optional` **enabled?**: `boolean`

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

Enable Slack posting

#### Default

```ts
false
```

***

### exclude?

> `optional` **exclude?**: [`SocialExclude`](SocialExclude.md)

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

Versions never announced, even when an announcement matches them

***

### noAuthors?

> `optional` **noAuthors?**: `boolean`

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

Hide the contributors block in Slack messages.
If config.noAuthors is true globally, contributors are always hidden regardless of this setting.

#### Default

```ts
false
```

***

### noPackages?

> `optional` **noPackages?**: `boolean`

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

Hide the packages block (list of bumped packages with their before → after versions).

#### Default

```ts
false
```

***

### onlyStable?

> `optional` **onlyStable?**: `boolean`

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

Skip Slack posting for prerelease versions (alpha, beta, rc, etc.)
Only stable versions will be posted to Slack

#### Default

```ts
true
```

***

### postMaxLength?

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

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

Maximum length (in characters) of the changelog rendered inside the Slack message.
When exceeded, `summary` drops the last commits, `full` cuts the changelog where the limit
is reached (even inside a commit body) with an ellipsis; the commits left out entirely are
announced with an "… and N more changes" line.
Defaults to 2500 in `summary` format (Slack's section limit is 3000) and to no limit
in `full` format, where the message is only bounded by Slack's 50 blocks.

***

### template?

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

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

Custom message template
Available variables: {{releaseTitle}}, {{projectName}}, {{newVersion}}, {{packageList}}, {{packageCount}}, {{changelog}}, {{releaseUrl}}, {{changelogUrl}}, {{contributors}}, {{packages}} (see `SocialTemplateVariables`)

***

### webhookUrl?

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

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

Slack Incoming Webhook URL. When set, takes priority over token-based auth.
Env fallback: SLACK_WEBHOOK_URL, RELIZY_SLACK_WEBHOOK_URL.
See: https://api.slack.com/messaging/webhooks
