ChatMentionEvent
Auto-generated API reference for ChatMentionEvent.
Interface: ChatMentionEvent
Defined in: chat-trigger.ts:69
A direct mention of the bot or a slash command.
#Extends
#Properties
#channel
channel:
ChatSurfaceChannel
Defined in: chat-trigger.ts:52
#Inherited from
#command?
optionalcommand?:string
Defined in: chat-trigger.ts:73
Slash command name without leading '/' (when applicable).
#eventId
eventId:
string
Defined in: chat-trigger.ts:55
Surface-native event id (Slack event_id, Discord interaction id, etc.).
#Inherited from
#receivedAt?
optionalreceivedAt?:string
Defined in: chat-trigger.ts:59
ISO 8601 timestamp from the surface, when available.
#Inherited from
#surface
surface:
ChatSurface
Defined in: chat-trigger.ts:51
#Inherited from
#text
text:
string
Defined in: chat-trigger.ts:71
#threadId?
optionalthreadId?:string
Defined in: chat-trigger.ts:57
Thread / parent message id when the event is in-thread.
#Inherited from
#type
type:
"mention"
Defined in: chat-trigger.ts:70
#user
user:
ChatSurfaceUser
Defined in: chat-trigger.ts:53