Class RestApplication
Represents a REST-based entity that contains information about a Discord application created via the developer portal.
Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public class RestApplication : RestEntity<ulong>, IApplication, ISnowflakeEntity, IEntity<ulong>
Properties​
Name​
Gets the name of the application.
View Source​
Declaration
public string Name { get; }
Description​
Gets the description of the application.
View Source​
Declaration
public string Description { get; }
RPCOrigins​
Gets the RPC origins of the application.
View Source​
Declaration
public IReadOnlyCollection<string> RPCOrigins { get; }
Flags​
View Source​
Declaration
public ApplicationFlags Flags { get; }
IsBotPublic​
Gets if the bot is public.
View Source​
Declaration
public bool IsBotPublic { get; }
BotRequiresCodeGrant​
Gets if the bot requires code grant.
View Source​
Declaration
public bool BotRequiresCodeGrant { get; }
Team​
Gets the team associated with this application if there is one.
View Source​
Declaration
public ITeam Team { get; }
Owner​
Gets the partial user object containing info on the owner of the application.
View Source​
Declaration
public IUser Owner { get; }
CreatedAt​
Gets when the snowflake was created.
View Source​
Declaration
public DateTimeOffset CreatedAt { get; }
IconUrl​
Gets the icon URL of the application.
View Source​
Declaration
public string IconUrl { get; }
InstallParams​
View Source​
Declaration
public ApplicationInstallParams InstallParams { get; }
Tags​
View Source​
Declaration
public IReadOnlyCollection<string> Tags { get; }
Fields​
_iconId​
View Source​
Declaration
protected string _iconId
Methods​
UpdateAsync()​
View Source​
Declaration
public async Task UpdateAsync()
Returns​
System.Threading.Tasks.Task
ToString()​
Gets the name of the application.
View Source​
Declaration
public override string ToString()
Returns​
System.String
:
Name of the application.