//[docs](../../../index.md)/[dev.inmo.tgbotapi.types.MessageEntity.textsources](../index.md)/[CodeTextSource](index.md)
# CodeTextSource
[common] data class [CodeTextSource](index.md)constructor(**source**: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) : [TextSource](../../dev.inmo.tgbotapi.CommonAbstracts/-text-source/index.md)
## See also
common
| | |
|---|---|
| [code](../code.md)| |
## Constructors
| | |
|---|---|
| [CodeTextSource](-code-text-source.md)| [common] fun [CodeTextSource](-code-text-source.md)(source: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html))
|
## Properties
| Name | Summary |
|---|---|
| [asText](index.md#%5Bdev.inmo.tgbotapi.types.MessageEntity.textsources%2FCodeTextSource%2FasText%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081)| [common] open val [asText](index.md#%5Bdev.inmo.tgbotapi.types.MessageEntity.textsources%2FCodeTextSource%2FasText%2F%23%2FPointingToDeclaration%2F%5D%2FProperties%2F625018081): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
| [html](html.md)| [common] open override val [html](html.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
| [markdown](markdown.md)| [common] open override val [markdown](markdown.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
| [markdownV2](markdown-v2.md)| [common] open override val [markdownV2](markdown-v2.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
| [source](source.md)| [common] open override val [source](source.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|