Encoding enum

The type of encoding to receive/send payloads to discord.

Inheritance

Constructors

Encoding()
const

Values

etf → const Encoding

ETF (External Term Format) encoding It's more performant on a ton of servers, use it if you want to optimise your bot scaling.

json → const Encoding

JSON (JavaScript Object Notation) is an universal data transferring model, it can be used on production too.

Properties

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

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<Encoding>
A constant List of the values in this enum, in order of their declaration.
[etf, json]