Missing invite properties (#2615)
This commit is contained in:
@@ -16,6 +16,11 @@ namespace Discord
|
||||
/// </summary>
|
||||
IGuild Guild { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the id of the guild this event is scheduled in.
|
||||
/// </summary>
|
||||
ulong GuildId { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the optional channel id where this event will be hosted.
|
||||
/// </summary>
|
||||
|
||||
@@ -60,5 +60,20 @@ namespace Discord
|
||||
/// </summary>
|
||||
public string PrivacyPolicy { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets application's default custom authorization url. <see langword="null" /> if disabled.
|
||||
/// </summary>
|
||||
public string CustomInstallUrl { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the application's role connection verification entry point. <see langword="null" /> if not set.
|
||||
/// </summary>
|
||||
public string RoleConnectionsVerificationUrl { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the hex encoded key for verification in interactions.
|
||||
/// </summary>
|
||||
public string VerifyKey { get; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
using System;
|
||||
|
||||
namespace Discord
|
||||
{
|
||||
/// <summary>
|
||||
@@ -80,7 +82,7 @@ namespace Discord
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// An <see cref="System.Int32" /> representing the approximated online member count of the guild that the
|
||||
/// invite points to; <c>null</c> if one cannot be obtained.
|
||||
/// invite points to; <see langword="null" /> if one cannot be obtained.
|
||||
/// </returns>
|
||||
int? PresenceCount { get; }
|
||||
/// <summary>
|
||||
@@ -88,7 +90,7 @@ namespace Discord
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// An <see cref="System.Int32" /> representing the approximated total member count of the guild that the
|
||||
/// invite points to; <c>null</c> if one cannot be obtained.
|
||||
/// invite points to; <see langword="null" /> if one cannot be obtained.
|
||||
/// </returns>
|
||||
int? MemberCount { get; }
|
||||
/// <summary>
|
||||
@@ -105,5 +107,19 @@ namespace Discord
|
||||
/// The type of the linked user that is linked to this invite.
|
||||
/// </returns>
|
||||
TargetUserType TargetUserType { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the embedded application to open for this voice channel embedded application invite.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// A partial <see cref="IApplication"/> object. <see langword="null" /> if <see cref="TargetUserType"/>
|
||||
/// is not <see cref="TargetUserType.EmbeddedApplication"/>.
|
||||
/// </returns>
|
||||
IApplication Application { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the expiration date of this invite. <see langword="null" /> if the invite never expires.
|
||||
/// </summary>
|
||||
DateTimeOffset? ExpiresAt { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user