func DeleteInvite(client httd.Deleter, inviteCode string) (invite *Invite, err error) {
	_, body, err := client.Delete(&httd.Request{
		Ratelimiter: endpoint.Invites(),
		Endpoint:    endpoint.Invite(inviteCode),
	})
	if err != nil {
		return
	}

	err = unmarshal(body, &invite)
	return
}
// DeleteInvite [DELETE]    Delete an invite. Requires the MANAGE_CHANNELS permission. Returns an invite
//                          object on success.
// Endpoint                 /invites/{invite.code}
// Rate limiter             /invites
// Discord documentation    https://discordapp.com/developers/docs/resources/invite#delete-invite
// Reviewed                 2018-06-10
// Comment                  -
DeleteInvite [DELETE]    Delete an invite. Requires the MANAGE_CHANNELS permission. Returns an invite
object on success.
// DeleteInvite [ DELETE ] Delete an invite . Requires the MANAGE_CHANNELS permission . Returns an invite // object on success . // Endpoint / invites / { invite . code } // Rate limiter / invites // Discord documentation https : // discordapp . com / developers / docs / resources / invite#delete - invite // Reviewed 2018 - 06 - 10 // Comment -
func DeleteInvite(client httd.Deleter, inviteCode string) (invite *Invite, err error) {
	_, body, err := client.Delete(&httd.Request{
		Ratelimiter: endpoint.Invites(),
		Endpoint:    endpoint.Invite(inviteCode),
	})
	if err != nil {
		return
	}
	err = unmarshal(body, &invite)
	return
}
func DeleteInvite ( client httd . Deleter , inviteCode string ) ( invite * Invite , err error ) { _ , body , err := client . Delete ( & httd . Request { Ratelimiter : endpoint . Invites ( ) , Endpoint : endpoint . Invite ( inviteCode ) , } ) if err != nil { return } err = unmarshal ( body , & invite ) return }
DeleteInvite [DELETE]    Delete an invite.
DeleteInvite [ DELETE ] Delete an invite .