---
description: Options used when fetching an invite from Discord.
---

# FetchInviteOptions

### Types

* [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)



## .guild

### Properties

|     Parameter     |  Type  |                      Description                      |  Default |
| :---------------: | :----: | :---------------------------------------------------: | :------: |
|        all        |  Json  |              return array of the all data             | \[Array] |
|         id        | Number |                    return guild id                    |          |
|        name       | String |                   return guild name                   |          |
|    description    | String |                return guild description               |          |
|     splashUrl     | String |      returns the URL of the splash in WebP format     |          |
|       banner      | String |      returns the URL of the banner in WebP format     |          |
|        icon       | String |       returns the URL of the icon in WebP format      |          |
| vanity\_url\_code | String | returns the standing invitation code if you have one. |   null   |



## .inviter

### Properties

| Parameter |  Type  |           Description          |
| :-------: | :----: | :----------------------------: |
|     id    | Number |   return id the inviter code   |
|  username | String |  return username the inviter.  |
|   avatar  | String |  return avatarURL the inviter  |
|   banner  | String |  return bannerURL the inviter  |
|    all    |  Json  | return all data in format JSON |
