EmbedType enum

Embed types

Embed types are "loosely defined" and, for the most part, are not used by our clients for rendering. Embed attributes power what is rendered. Embed types should be considered deprecated and might be removed in a future API version.

https://discord.com/developers/docs/resources/channel#embed-object-embed-types

Inheritance

Constructors

EmbedType()
const

Values

rich → const EmbedType

generic embed rendered from embed attributes

image → const EmbedType

image embed

video → const EmbedType

video embed

gifv → const EmbedType

animated gif image embed rendered as a video embed

article → const EmbedType

article embed

link embed

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<EmbedType>
A constant List of the values in this enum, in order of their declaration.