AttachmentFlag

Types

Link copied to clipboard
object Companion
Link copied to clipboard

This attachment has been edited using the remix feature on mobile.

Link copied to clipboard

Properties

Link copied to clipboard
val shift: Int

The position of the bit that is set in this AttachmentFlag. This is always in 0..30.

Link copied to clipboard
val value: Int

The raw value used by Discord.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
operator fun plus(flag: AttachmentFlag): AttachmentFlags

Returns an instance of AttachmentFlags that has all bits set that are set in this and flag.

operator fun plus(flags: AttachmentFlags): AttachmentFlags

Returns an instance of AttachmentFlags that has all bits set that are set in this and flags.

Link copied to clipboard
override fun toString(): String