Skip to main content

@slack/web-api / ChatDeleteArguments

Interface: ChatDeleteArguments

Defined in: packages/web-api/src/types/request/chat.ts:181

Extends​

  • ChannelAndTS.AsUser.TokenOverridable

Properties​

as_user?​

optional as_user?: boolean;

Defined in: packages/web-api/src/types/request/chat.ts:38

Description​

Pass true to act as the authed user with `chat:write:user` scope. Bot users in this context are considered authed users. If unused or false, the message will be acted upon with `chat:write:bot` scope.

Inherited from​

AsUser.as_user

channel​

channel: string;

Defined in: packages/web-api/src/types/request/chat.ts:22

Description​

Channel ID for the message.

Inherited from​

ChannelAndTS.channel

token?​

optional token?: string;

Defined in: packages/web-api/src/types/request/common.ts:43

Description​

Overridable authentication token bearing required scopes.

Inherited from​

TokenOverridable.token

ts​

ts: string;

Defined in: packages/web-api/src/types/request/chat.ts:26

Description​

Timestamp of the message.

Inherited from​

ChannelAndTS.ts