//[docs](../../../index.md)/[dev.inmo.tgbotapi.extensions.utils.formatting](../index.md)/[EntitiesBuilder](index.md) # EntitiesBuilder [common] class [EntitiesBuilder](index.md) This builder can be used to provide building of [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)s [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html) ## See also common | | | |---|---| | [buildEntities](../build-entities.md)| | ## Functions | Name | Summary | |---|---| | [add](add.md)| [common]
Content
fun [add](add.md)(source: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))


| | [build](build.md)| [common]
Content
fun [build](build.md)(): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>


| | [invoke](invoke.md)| [common]
Content
operator fun [invoke](invoke.md)(vararg source: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)


| | [unaryPlus](unary-plus.md)| [common]
Content
operator fun [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md).[unaryPlus](unary-plus.md)()
operator fun [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html).[unaryPlus](unary-plus.md)()
operator fun [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>.[unaryPlus](unary-plus.md)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)


| ## Properties | Name | Summary | |---|---| | [entities](entities.md)| [common] val [entities](entities.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>It is not safe field which contains potentially changeable [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)
| ## Extensions | Name | Summary | |---|---| | [bold](../bold.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[bold](../bold.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>)
inline fun [EntitiesBuilder](index.md).[bold](../bold.md)(vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[bold](../bold.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [botCommand](../bot-command.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[botCommand](../bot-command.md)(command: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [cashTag](../cash-tag.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[cashTag](../cash-tag.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>)
inline fun [EntitiesBuilder](index.md).[cashTag](../cash-tag.md)(vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[cashTag](../cash-tag.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [code](../code.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[code](../code.md)(code: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [email](../email.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[email](../email.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>)
inline fun [EntitiesBuilder](index.md).[email](../email.md)(vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[email](../email.md)(emailAddress: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [hashtag](../hashtag.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[hashtag](../hashtag.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>)
inline fun [EntitiesBuilder](index.md).[hashtag](../hashtag.md)(vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[hashtag](../hashtag.md)(hashtag: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [italic](../italic.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[italic](../italic.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>)
inline fun [EntitiesBuilder](index.md).[italic](../italic.md)(vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[italic](../italic.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [link](../link.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[link](../link.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), url: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
inline fun [EntitiesBuilder](index.md).[link](../link.md)(url: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [mention](../mention.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[mention](../mention.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>)
inline fun [EntitiesBuilder](index.md).[mention](../mention.md)(vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[mention](../mention.md)(whoToMention: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
inline fun [EntitiesBuilder](index.md).[mention](../mention.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>, user: [User](../../dev.inmo.tgbotapi.types/-user/index.md))
inline fun [EntitiesBuilder](index.md).[mention](../mention.md)(user: [User](../../dev.inmo.tgbotapi.types/-user/index.md), vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[mention](../mention.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), user: [User](../../dev.inmo.tgbotapi.types/-user/index.md))


| | [phone](../phone.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[phone](../phone.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>)
inline fun [EntitiesBuilder](index.md).[phone](../phone.md)(vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[phone](../phone.md)(number: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [pre](../pre.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[pre](../pre.md)(code: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), language: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?)


| | [regular](../regular.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[regular](../regular.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [strikethrough](../strikethrough.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[strikethrough](../strikethrough.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>)
inline fun [EntitiesBuilder](index.md).[strikethrough](../strikethrough.md)(vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[strikethrough](../strikethrough.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


| | [underline](../underline.md)| [common]
Content
inline fun [EntitiesBuilder](index.md).[underline](../underline.md)(parts: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)>)
inline fun [EntitiesBuilder](index.md).[underline](../underline.md)(vararg parts: [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md))
inline fun [EntitiesBuilder](index.md).[underline](../underline.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))


|