Skip to main content

Interface: BotMessageEvent

Properties

attachments?

optional attachments: MessageAttachment[];

Defined in

events/message.ts:82


blocks?

optional blocks: (Block | KnownBlock)[];

Defined in

events/message.ts:83


bot_id

bot_id: string;

Defined in

events/message.ts:73


channel

channel: string;

Defined in

events/message.ts:69


channel_type

channel_type: ChannelTypes;

Defined in

events/message.ts:70


edited?

optional edited: object;

ts

ts: string;

user

user: string;

Defined in

events/message.ts:84


event_ts

event_ts: string;

Defined in

events/message.ts:68


icons?

optional icons: object;

Index Signature

[size: string]: string

Defined in

events/message.ts:75


subtype

subtype: "bot_message";

Defined in

events/message.ts:67


text

text: string;

Defined in

events/message.ts:72


thread_ts?

optional thread_ts: string;

Defined in

events/message.ts:88


ts

ts: string;

Defined in

events/message.ts:71


type

type: "message";

Defined in

events/message.ts:66


user?

optional user: string;

Defined in

events/message.ts:81


username?

optional username: string;

Defined in

events/message.ts:74