EntitiesBuilder

class EntitiesBuilder(val separator: TextSource? = null)

This builder can be used to provide building of TextSources List

See also

Constructors

Link copied to clipboard
constructor(separator: TextSource? = null)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Version of EntitiesBuilder.bold with new line at the end

Version of EntitiesBuilder.bold with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard

Version of EntitiesBuilder.botCommand with new line at the end

Link copied to clipboard
Link copied to clipboard

Version of EntitiesBuilder.cashTag with new line at the end

Version of EntitiesBuilder.cashTag with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard

Version of EntitiesBuilder.code with new line at the end

Link copied to clipboard
Link copied to clipboard
inline fun EntitiesBuilder.customEmojiln(customEmojiId: CustomEmojiId, vararg parts: TextSource): EntitiesBuilder

Version of EntitiesBuilder.customEmoji with new line at the end

Version of EntitiesBuilder.customEmoji with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard
inline fun EntitiesBuilder.emailln(emailAddress: String): EntitiesBuilder

Version of EntitiesBuilder.email with new line at the end

Version of EntitiesBuilder.email with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard

Version of EntitiesBuilder.hashtag with new line at the end

Version of EntitiesBuilder.hashtag with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard
operator fun invoke(vararg source: TextSource): EntitiesBuilder
Link copied to clipboard

Version of EntitiesBuilder.italic with new line at the end

Version of EntitiesBuilder.italic with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard

Version of EntitiesBuilder.link with new line at the end

Link copied to clipboard
inline fun EntitiesBuilder.mentionln(whoToMention: String): EntitiesBuilder
inline fun EntitiesBuilder.mentionln(user: User, vararg parts: TextSource): EntitiesBuilder

Version of EntitiesBuilder.mention with new line at the end

Version of EntitiesBuilder.mention with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard

Version of EntitiesBuilder.phone with new line at the end

Version of EntitiesBuilder.phone with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard
operator fun plus(source: TextSource): EntitiesBuilder
operator fun plus(other: EntitiesBuilder): EntitiesBuilder
operator fun plus(text: String): EntitiesBuilder
operator fun plus(sources: Iterable<TextSource>): EntitiesBuilder
Link copied to clipboard
Link copied to clipboard
inline fun EntitiesBuilder.preln(code: String, language: String?): EntitiesBuilder

Version of EntitiesBuilder.pre with new line at the end

Link copied to clipboard
Link copied to clipboard

Version of EntitiesBuilder.spoiler with new line at the end

Version of EntitiesBuilder.spoiler with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard

Version of EntitiesBuilder.strikethrough with new line at the end

Version of EntitiesBuilder.strikethrough with new line at the end. Will reuse separator config from buildEntities

Link copied to clipboard
Link copied to clipboard

Version of EntitiesBuilder.underline with new line at the end

Version of EntitiesBuilder.underline with new line at the end. Will reuse separator config from buildEntities

Properties

Link copied to clipboard

It is not safe field which contains potentially changeable List

Link copied to clipboard
val separator: TextSource? = null