Method CreateChannelInviteAsync
- Namespace
 - DSharpPlus.Net
 
- Assembly
 - DSharpPlus.dll
 
CreateChannelInviteAsync(ulong, int, int, bool, bool, string, DiscordInviteTargetType?, ulong?, ulong?)
public ValueTask<DiscordInvite> CreateChannelInviteAsync(ulong channelId, int maxAge, int maxUses, bool temporary, bool unique, string reason, DiscordInviteTargetType? targetType = null, ulong? targetUserId = null, ulong? targetApplicationId = null)
Parameters
channelIdulongmaxAgeintmaxUsesinttemporarybooluniqueboolreasonstringtargetTypeDiscordInviteTargetType?targetUserIdulong?targetApplicationIdulong?