IClientOAuth2Application class Null safety

The client's OAuth2 app, if the client is a bot.

Implemented types

Constructors

IClientOAuth2Application()

Properties

client INyxx
Reference to NyxxWebsocket
read-only
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
description String
The app's description.
read-only, inherited
flags int?
The app's flags.
read-only
hashCode int
The hash code for this object.
read-only, inherited
icon String?
The app's icon hash.
read-only, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
name String
The app's name.
read-only, inherited
owner IUser
The app's owner.
read-only
rpcOrigins List<String>?
The app's RPC origins.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getInviteUrl([int? permissions]) String
Creates an OAuth2 URL with the specified permissions.
iconUrl({String format = "png", int size = 512}) String?
Returns url to apps icon
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
inherited