Search Results for

    Show / Hide Table of Contents

    Class RestApplication

    Represents a REST-based entity that contains information about a Discord application created via the developer portal.

    Inheritance
    Object
    RestEntity<UInt64>
    RestApplication
    Implements
    IEntity<UInt64>
    IApplication
    ISnowflakeEntity
    IEntity<UInt64>
    Inherited Members
    RestEntity<UInt64>.Id
    Namespace: Discord.Rest
    Assembly: Discord.Net.Rest.dll
    Syntax
    public class RestApplication : RestEntity<ulong>, IEntity<ulong>, IApplication, ISnowflakeEntity, IEntity<ulong>

    Fields

    | Improve this Doc View Source

    _iconId

    Declaration
    protected string _iconId
    Field Value
    Type Description
    String

    Properties

    | Improve this Doc View Source

    ApproximateGuildCount

    Declaration
    public int? ApproximateGuildCount { get; }
    Property Value
    Type Description
    Nullable<Int32>
    | Improve this Doc View Source

    BotRequiresCodeGrant

    Declaration
    public bool? BotRequiresCodeGrant { get; }
    Property Value
    Type Description
    Nullable<Boolean>
    | Improve this Doc View Source

    CreatedAt

    Declaration
    public DateTimeOffset CreatedAt { get; }
    Property Value
    Type Description
    DateTimeOffset
    | Improve this Doc View Source

    CustomInstallUrl

    Declaration
    public string CustomInstallUrl { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Description

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Flags

    Gets the application's public flags.

    Declaration
    public ApplicationFlags Flags { get; }
    Property Value
    Type Description
    ApplicationFlags
    | Improve this Doc View Source

    Guild

    Gets the partial guild object of the application's developer's support server. null if not set.

    Declaration
    public PartialGuild Guild { get; }
    Property Value
    Type Description
    PartialGuild
    | Improve this Doc View Source

    IconUrl

    Declaration
    public string IconUrl { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    InstallParams

    Gets a collection of install parameters for this application; null if disabled.

    Declaration
    public ApplicationInstallParams InstallParams { get; }
    Property Value
    Type Description
    ApplicationInstallParams
    | Improve this Doc View Source

    InteractionsEndpointUrl

    Declaration
    public string InteractionsEndpointUrl { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    IsBotPublic

    Declaration
    public bool? IsBotPublic { get; }
    Property Value
    Type Description
    Nullable<Boolean>
    | Improve this Doc View Source

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Owner

    Gets the partial user object containing info on the owner of the application.

    Declaration
    public IUser Owner { get; }
    Property Value
    Type Description
    IUser
    | Improve this Doc View Source

    PrivacyPolicy

    Declaration
    public string PrivacyPolicy { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    RedirectUris

    Declaration
    public IReadOnlyCollection<string> RedirectUris { get; }
    Property Value
    Type Description
    IReadOnlyCollection<String>
    | Improve this Doc View Source

    RoleConnectionsVerificationUrl

    Declaration
    public string RoleConnectionsVerificationUrl { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    RPCOrigins

    Declaration
    public IReadOnlyCollection<string> RPCOrigins { get; }
    Property Value
    Type Description
    IReadOnlyCollection<String>
    | Improve this Doc View Source

    Tags

    Declaration
    public IReadOnlyCollection<string> Tags { get; }
    Property Value
    Type Description
    IReadOnlyCollection<String>
    | Improve this Doc View Source

    Team

    Gets the team associated with this application if there is one.

    Declaration
    public ITeam Team { get; }
    Property Value
    Type Description
    ITeam
    | Improve this Doc View Source

    TermsOfService

    Declaration
    public string TermsOfService { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    VerifyKey

    Declaration
    public string VerifyKey { get; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    ToString()

    Gets the name of the application.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Name of the application.

    | Improve this Doc View Source

    UpdateAsync()

    Declaration
    public async Task UpdateAsync()
    Returns
    Type Description
    Task

    Implements

    IEntity<TId>
    IApplication
    ISnowflakeEntity
    IEntity<TId>

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2023 3.12.0