DiscordApi class

Base class for accessing the Discord API

https://discord.com/developers/docs/intro

Constructors

DiscordApi({required String applicationId, required DiscordUserAgent userAgent, String? botToken, String? credentialsToken})
Access to the Discord API

Properties

applicationCommands ↔ ApplicationCommandsApi
Access to Application Commands API
latefinal
auditLogs ↔ AuditLogsApi
Access to the Audit Logs API
latefinal
channels ↔ ChannelsApi
Access to the Channels API
latefinal
emojis ↔ EmojisApi
Access to the Emojis API
latefinal
guilds ↔ GuildsApi
Access to the Guilds API
latefinal
guildScheduledEvents ↔ GuildScheduledEventsApi
Access to the Guild Scheduled Events API
latefinal
guildTemplates ↔ GuildTemplatesApi
Access to the Guild Templates API
latefinal
hashCode int
The hash code for this object.
no setterinherited
interactions ↔ InteractionsApi
Access to Interactions API
latefinal
invites ↔ InvitesApi
Access to the Invites API
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stageInstances ↔ StageInstancesApi
Access to the Stage Instances API
latefinal
stickers ↔ StickersApi
Access to the Stickers API
latefinal
users ↔ UsersApi
Access to the Users API
latefinal
voice ↔ VoiceApi
Access to the Voice API
latefinal
webhooks ↔ WebhooksApi
Access to the Webhooks API
latefinal

Methods

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 ==(Object other) bool
The equality operator.
inherited