ClientOAuth2Application class

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

Inheritance

Properties

createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
description String
The app's description.
read / write, final, late, inherited
flags int
The app's flags.
read / write, final, late
hashCode int
The hash code for this object. [...]
read-only, inherited
icon String
The app's icon hash.
read / write, final, late, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
name String
The app's name.
read / write, final, late, inherited
owner User
The app's owner.
read / write, final, late
rpcOrigins List<String>
The app's RPC origins.
read / write, final, late, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getInviteUrl([int permissions = 0]) 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
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited