> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# HookEvent

> Type alias exported by @botmesh/core.

```ts theme={null}
type HookEvent = 
  | "message"
  | "send"
  | "connection"
  | "group"
  | "call"
  | "presence"
  | "reaction"
  | "poll"
  | "status"
  | string & object;
```

Defined in: [core/types.ts:91](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/types.ts#L91)

Events hooks attach to with `bot.before`, `bot.after` and `bot.onError`. Custom names are allowed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.