IClientOAuth2Application class abstract

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

Implemented types

Constructors

IClientOAuth2Application()

Properties

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

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 nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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