discord_api library
Classes
- DiscordActivity
- DiscordActivityAssets
- DiscordActivityButton
- DiscordActivityParty
- DiscordActivitySecrets
- DiscordActivityTimestamps
- DiscordAllowedMentions
- DiscordApplication
- DiscordAttachment
- DiscordAuditLog
- DiscordAuditLogChange
- DiscordAuditLogEntry
- DiscordAuthorizationInformation
- DiscordBan
- DiscordCdnHelper
- DiscordChannel
- DiscordChannelMention
- DiscordClient
- DiscordClientStatus
- active sessions are indicated with an "online", "idle", or "dnd" string per platform. If a user is offline or invisible, the corresponding field is not present.
- DiscordConnection
- DiscordDioProvider
- DiscordEmbed
- DiscordEmbedAuthor
- DiscordEmbedField
- DiscordEmbedImage
- DiscordEmbedProvider
- DiscordEmbedThumbnail
- DiscordEmbedVideo
- DiscordEmoji
- DiscordErrors
- DiscordFollowedChannel
- DiscordGuild
- DiscordGuildMember
- DiscordGuildPreview
- DiscordGuildScheduledEvent
- DiscordGuildScheduledEventEntityMetadata
- DiscordGuildScheduledEventUser
- DiscordGuildTemplate
- DiscordGuildWidget
- DiscordGuildWidgetSettings
- DiscordHttpClient
- DiscordIntegration
- DiscordIntegrationAccount
- DiscordIntegrationApplication
- DiscordInvite
- DiscordInviteMetadata
- DiscordInviteStageInstance
- DiscordMessage
- DiscordMessageActivity
- DiscordMessageComponent
- Base class for Discord Components.
- DiscordMessageComponentActionRow
-
An Action Row is a non-interactive container component for other
types of components. It has a
type: 1
and a sub-array ofcomponents
of other types. - DiscordMessageComponentButton
- Buttons are interactive components that render on messages. They can be clicked by users, and send an interaction to your app when clicked.
- DiscordMessageComponentSelectMenu
- Select menus are another interactive component that renders on messages. On desktop, clicking on a select menu opens a dropdown-style UI; on mobile, tapping a select menu opens up a half-sheet with the options.
- DiscordMessageComponentSelectMenuOption
- DiscordMessageComponentTextInput
- Text inputs are an interactive component that render on modals. They can be used to collect short-form or long-form text.
- DiscordMessageInteraction
- DiscordMessageReference
- DiscordOptionalAuditEntryInfo
- DiscordOverwrite
- DiscordPresenceUpdate
- DiscordReaction
- DiscordRole
- DiscordRoleTags
- DiscordSnowflake
- DiscordStageInstance
- DiscordSticker
- Represents a sticker that can be sent in messages.
- DiscordStickerItem
- The smallest amount of data required to render a sticker. A partial sticker object.
- DiscordStickerPack
- DiscordTeam
- DiscordTeamMember
- DiscordThreadMember
- DiscordThreadMetadata
- DiscordToken
- DiscordTokenWebhook
- DiscordUser
- DiscordVoiceRegion
- DiscordVoiceState
- DiscordWebhook
- DiscordWelcomeScreen
- DiscordWelcomeScreenChannel
Enums
- DiscordActivityFlag
- DiscordActivityType
- Enum of Activity Types
- DiscordApiScope
- DiscordApplicationFlag
- DiscordAuditLogChangeKey
- DiscordChannelType
- DiscordConnectionVisibilityType
- DiscordEmbedType
- DiscordExplicitContentFilterLevel
- DiscordGuildFeature
- DiscordGuildPremiumTier
- DiscordGuildScheduledEventEntityType
- DiscordGuildScheduledEventPrivacyLevel
- DiscordGuildScheduledEventStatus
-
Once
status
is set toCOMPLETED
orCANCELED
, thestatus
can no longer be updated. - DiscordImageFormat
- DiscordIntegrationExpirationBehavior
- DiscordInviteTargetType
- DiscordMembershipState
- DiscordMentionType
- DiscordMessageActivityType
- DiscordMessageComponentButtonStyle
- DiscordMessageComponentTextInputStyle
- DiscordMessageComponentType
- DiscordMessageFlag
- DiscordMessageInteractionType
- DiscordMessageNotificationsLevel
- DiscordMessageType
- Type 19 and 20 are only in API v8. In v6, they are still type 0. Type 21 is only in API v9.
- DiscordMfaLevel
- DiscordNsfwLevel
- DiscordOverwriteType
- DiscordPremiumType
- DiscordStagePrivacyLevel
- DiscordStatus
- DiscordStickerFormatType
- DiscordStickerType
- DiscordSystemChannelFlag
- DiscordUserFlag
- DiscordVerificationLevel
- DiscordVideoQualityMode
Extensions
Functions
-
discordApplicationFlagsAsEnum(
int? flags) → List< DiscordApplicationFlag> -
discordAuditLogChangeKeyFromValue(
String s) → DiscordAuditLogChangeKey -
discordGuildFeaturesFromValues(
List< String> features) → List<DiscordGuildFeature> -
discordImageFormatFromValue(
String s) → DiscordImageFormat -
discordUserFlagsAsEnum(
int? flags) → List< DiscordUserFlag>