# GatewayReplyResponse

`type` in `gateway` · v0.1.4

<https://docs.seedcord.org/packages/gateway/0.1.4/types/gateway-reply-response>

A reply that may attach files in any form discord.js accepts, on top of the portable `ReplyFile`. The reply verbs already take this, so name it only to type a variable or a helper's return. A `Notice` render or a paginator page returns the plain `ReplyResponse`, which takes a `ReplyFile` alone.

## Examples

```ts
// any discord.js file form
await this.reply({
    components: [container],
    files: [new AttachmentBuilder(createReadStream('./report.pdf'), { name: 'report.pdf' })]
});
```

## Declaration

```ts
type GatewayReplyResponse = ReplyResponse<GatewayFile>;
```
