EntitiesBuilder

class EntitiesBuilder

This builder can be used to provide building of TextSources List

See also

Functions

add
Link copied to clipboard
common
fun add(source: TextSource)
build
Link copied to clipboard
common
fun build(): TextSourcesList
invoke
Link copied to clipboard
common
operator fun invoke(vararg source: TextSource): Boolean
unaryPlus
Link copied to clipboard
common
operator fun TextSource.unaryPlus()
operator fun String.unaryPlus()
operator fun TextSourcesList.unaryPlus(): Boolean

Properties

entities
Link copied to clipboard
common
val entities: TextSourcesList
It is not safe field which contains potentially changeable List

Extensions

bold
Link copied to clipboard
common
inline fun EntitiesBuilder.bold(parts: TextSourcesList)
inline fun EntitiesBuilder.bold(noinline init: EntitiesBuilderBody)
inline fun EntitiesBuilder.bold(vararg parts: TextSource)
inline fun EntitiesBuilder.bold(text: String)
botCommand
Link copied to clipboard
common
inline fun EntitiesBuilder.botCommand(command: String)
cashTag
Link copied to clipboard
common
inline fun EntitiesBuilder.cashTag(parts: TextSourcesList)
inline fun EntitiesBuilder.cashTag(noinline init: EntitiesBuilderBody)
inline fun EntitiesBuilder.cashTag(vararg parts: TextSource)
inline fun EntitiesBuilder.cashTag(text: String)
code
Link copied to clipboard
common
inline fun EntitiesBuilder.code(code: String)
email
Link copied to clipboard
common
inline fun EntitiesBuilder.email(parts: TextSourcesList)
inline fun EntitiesBuilder.email(noinline init: EntitiesBuilderBody)
inline fun EntitiesBuilder.email(vararg parts: TextSource)
inline fun EntitiesBuilder.email(emailAddress: String)
hashtag
Link copied to clipboard
common
inline fun EntitiesBuilder.hashtag(parts: TextSourcesList)
inline fun EntitiesBuilder.hashtag(noinline init: EntitiesBuilderBody)
inline fun EntitiesBuilder.hashtag(vararg parts: TextSource)
inline fun EntitiesBuilder.hashtag(hashtag: String)
italic
Link copied to clipboard
common
inline fun EntitiesBuilder.italic(parts: TextSourcesList)
inline fun EntitiesBuilder.italic(noinline init: EntitiesBuilderBody)
inline fun EntitiesBuilder.italic(vararg parts: TextSource)
inline fun EntitiesBuilder.italic(text: String)
link
Link copied to clipboard
common
inline fun EntitiesBuilder.link(text: String, url: String)
inline fun EntitiesBuilder.link(url: String)
mention
Link copied to clipboard
common
inline fun EntitiesBuilder.mention(parts: TextSourcesList)
inline fun EntitiesBuilder.mention(noinline init: EntitiesBuilderBody)
inline fun EntitiesBuilder.mention(vararg parts: TextSource)
inline fun EntitiesBuilder.mention(whoToMention: String)
inline fun EntitiesBuilder.mention(parts: TextSourcesList, user: User)
inline fun EntitiesBuilder.mention(user: User, vararg parts: TextSource)
inline fun EntitiesBuilder.mention(text: String, user: User)
phone
Link copied to clipboard
common
inline fun EntitiesBuilder.phone(parts: TextSourcesList)
inline fun EntitiesBuilder.phone(noinline init: EntitiesBuilderBody)
inline fun EntitiesBuilder.phone(vararg parts: TextSource)
inline fun EntitiesBuilder.phone(number: String)
pre
Link copied to clipboard
common
inline fun EntitiesBuilder.pre(code: String, language: String?)
regular
Link copied to clipboard
common
inline fun EntitiesBuilder.regular(text: String)
strikethrough
Link copied to clipboard
common
inline fun EntitiesBuilder.strikethrough(parts: TextSourcesList)
inline fun EntitiesBuilder.strikethrough(noinline init: EntitiesBuilderBody)
inline fun EntitiesBuilder.strikethrough(vararg parts: TextSource)
inline fun EntitiesBuilder.strikethrough(text: String)
underline
Link copied to clipboard
common
inline fun EntitiesBuilder.underline(parts: TextSourcesList)
inline fun EntitiesBuilder.underline(noinline init: EntitiesBuilderBody)
inline fun EntitiesBuilder.underline(vararg parts: TextSource)
inline fun EntitiesBuilder.underline(text: String)