Skip to main content

Interface: ChatDeleteArguments

Extends

  • ChannelAndTS.AsUser.TokenOverridable

Properties

as_user?

optional as_user: boolean;

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

Defined in

packages/web-api/src/types/request/chat.ts:35


channel

channel: string;

Description

Channel ID for the message.

Inherited from

ChannelAndTS.channel

Defined in

packages/web-api/src/types/request/chat.ts:19


token?

optional token: string;

Description

Overridable authentication token bearing required scopes.

Inherited from

TokenOverridable.token

Defined in

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


ts

ts: string;

Description

Timestamp of the message.

Inherited from

ChannelAndTS.ts

Defined in

packages/web-api/src/types/request/chat.ts:23