InlineContainer
Properties
Link copied to clipboard
Color of the container's left side
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Unique identifier of this component, see Component.withUniqueId
Functions
Link copied to clipboard
inline fun actionRow(components: Collection<ActionRowChildComponent> = emptyList(), uniqueId: Int = -1, block: InlineActionRow.() -> Unit = {})
inline fun actionRow(vararg components: ActionRowChildComponent, uniqueId: Int = -1, block: InlineActionRow.() -> Unit = {})
Link copied to clipboard
fun fileDisplay(fileName: String, uniqueId: Int = -1, spoiler: Boolean = false, block: InlineFileDisplay.() -> Unit = {})
fun fileDisplay(file: FileUpload, uniqueId: Int = -1, spoiler: Boolean = false, block: InlineFileDisplay.() -> Unit = {})
See FileDisplay.fromFile.
Link copied to clipboard
inline fun mediaGallery(items: Collection<MediaGalleryItem> = emptyList(), uniqueId: Int = -1, block: InlineMediaGallery.() -> Unit = {})
inline fun mediaGallery(vararg items: MediaGalleryItem, uniqueId: Int = -1, block: InlineMediaGallery.() -> Unit = {})
See MediaGallery.
Link copied to clipboard
inline fun section(accessory: SectionAccessoryComponent? = null, components: Collection<SectionContentComponent> = emptyList(), uniqueId: Int = -1, block: InlineSection.() -> Unit = {})
inline fun section(accessory: SectionAccessoryComponent? = null, vararg components: SectionContentComponent, uniqueId: Int = -1, block: InlineSection.() -> Unit = {})
See Section.
Link copied to clipboard
inline fun separator(uniqueId: Int = -1, isDivider: Boolean = true, spacing: Separator.Spacing = Separator.Spacing.SMALL, block: InlineSeparator.() -> Unit = {})
See Separator.
Link copied to clipboard
inline fun text(content: String? = null, uniqueId: Int = -1, block: InlineTextDisplay.() -> Unit = {})
See TextDisplay.