getTargetUserAsMemberOrNull

Requests to get the target User of this invite as a Member of the Guild, returns null if the user isn't present, the invite did not target a guild, or the invite did not target a user.

Throws

if anything went wrong during the request.