TextContent

data class TextContent(text: String, textSources: TextSourcesList) : MessageContent, TextedInput

Functions

createResend
Link copied to clipboard
common
open override fun createResend(chatId: ChatIdentifier, disableNotification: Boolean, replyToMessageId: MessageIdentifier?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Request<ContentMessage<TextContent>>

Properties

text
Link copied to clipboard
common
open override val text: String
textSources
Link copied to clipboard
common
open override val textSources: TextSourcesList

Full list of TextSources

Extensions

toHtmlTexts
Link copied to clipboard
common
fun TextContent.toHtmlTexts(): List<String>
toMarkdownTexts
Link copied to clipboard
common
fun TextContent.toMarkdownTexts(): List<String>
toMarkdownV2Texts
Link copied to clipboard
common
fun TextContent.toMarkdownV2Texts(): List<String>