# DiscordInvite

Namespace: Discord

## Properties

| Name    | Description                                 | Type           |
| ------- | ------------------------------------------- | -------------- |
| Code    | The code for the invite                     | string         |
| Channel | The channel this invite was made from       | DiscordChannel |
| Inviter | The user who created the invite             | DiscordUser    |
| Guild   | The guild this invite was made for (if any) | MinimalGuild   |
| Type    | The type of invite this is                  | InviteType     |

## Methods

### Delete

Deletes the invite.

### Join

Joins the guild/group this invite points to.
