1 package net.pterodactylus.sone.text
4 * {@link Part} implementation that can hold a link. A link contains of three
5 * attributes: the link itself, the text that is shown instead of the link, and
6 * an explanatory text that can be displayed e.g. as a tooltip.
8 data class LinkPart(val link: String, override val text: String, val title: String) : Part {
10 constructor(link: String, text: String) : this(link, text, link)