# fetchManyUsers

`function` in `gateway` · v0.1.0-next.3

<https://docs.seedcord.org/packages/gateway/0.1.0-next.3/functions/fetch-many-users>

Fetches multiple Discord users by IDs.

```ts
async fetchManyUsers(
    client: Client,
    userIds: string[],
    options?: FetchUserOptions
): Promise<User[]>
```

Fetches multiple Discord users by IDs.

Parameters.

- `client` `Client` — The Discord client instance
- `userIds` `string[]` — Array of Discord user IDs
- `options?` `FetchUserOptions` — Optional overrides threaded to each [`fetchUser`](/packages/gateway/0.1.0-next.3/functions/fetch-user) call

Returns `Promise<User[]>`.
