Skip to main content

Interface: ChatDeleteArguments

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

Extends

  • ChannelAndTS.AsUser.TokenOverridable

Properties

as_user?

optional as_user: boolean;

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

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:19

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:23

Description

Timestamp of the message.

Inherited from

ChannelAndTS.ts