1 | import { LocaleAware, TokenOverridable } from './common';
|
2 | export interface RTMConnectArguments extends TokenOverridable {
|
3 | /**
|
4 | * @description Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events.
|
5 | * @see {@link https://api.slack.com/docs/presence-and-status#batching batch presence}.
|
6 | */
|
7 | batch_presence_aware?: boolean;
|
8 | /**
|
9 | * @description Only deliver presence events when requested by subscription.
|
10 | * @see {@link Only deliver presence events when requested by subscription. presence subscriptions}.
|
11 | */
|
12 | presence_sub?: boolean;
|
13 | }
|
14 | export interface RTMStartArguments extends RTMConnectArguments, LocaleAware {
|
15 | /** @description Returns MPIMs to the client in the API response. */
|
16 | mpim_aware?: boolean;
|
17 | /**
|
18 | * @description Exclude latest timestamps for channels, groups, mpims, and ims.
|
19 | * Automatically sets `no_unreads` to `true`.
|
20 | */
|
21 | no_latest?: boolean;
|
22 | /** @description Skip unread counts for each channel (improves performance). */
|
23 | no_unreads?: boolean;
|
24 | /** @description Return timestamp only for latest message object of each channel (improves performance). */
|
25 | simple_latest?: boolean;
|
26 | }
|
27 | //# sourceMappingURL=rtm.d.ts.map |
\ | No newline at end of file |