--- title: TextEntityType description: constructors and methods of type TextEntityType image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Type: TextEntityType [Back to types index](index.md) Represent part of the text which needs to be formatted in some unusual way ### Possible values (constructors): [textEntityTypeMention](../constructors/textEntityTypeMention.md) [textEntityTypeHashtag](../constructors/textEntityTypeHashtag.md) [textEntityTypeBotCommand](../constructors/textEntityTypeBotCommand.md) [textEntityTypeUrl](../constructors/textEntityTypeUrl.md) [textEntityTypeEmail](../constructors/textEntityTypeEmail.md) [textEntityTypeBold](../constructors/textEntityTypeBold.md) [textEntityTypeItalic](../constructors/textEntityTypeItalic.md) [textEntityTypeCode](../constructors/textEntityTypeCode.md) [textEntityTypePre](../constructors/textEntityTypePre.md) [textEntityTypePreCode](../constructors/textEntityTypePreCode.md) [textEntityTypeTextUrl](../constructors/textEntityTypeTextUrl.md) [textEntityTypeMentionName](../constructors/textEntityTypeMentionName.md) ### Methods that return an object of this type (methods):