# PageContext

`interface` in `http` · v0.3.1

<https://docs.seedcord.org/packages/http/0.3.1/interfaces/page-context>

The context passed to a source loader. The raw payload carries a guild id with no guild object, so a loader that requires guild data fetches it through `core.rest`.

```ts
interface PageContext
```

## Properties

### core

```ts
core: Core;
```

### guildId

```ts
guildId: string | null;
```

The guild id, or `null` in a DM.

### interaction

```ts
interaction: Repliables;
```

The interaction that triggered this load (a command or a nav click).

### user

```ts
user: APIUser;
```

The acting user, always present.
