Package dev. inmo. tgbotapi. extensions. utils. formatting
Types
EntitiesBuilder
Link copied to clipboard
class EntitiesBuilder
Content copied to clipboard
EntitiesBuilderBody
Link copied to clipboard
Functions
bold
Link copied to clipboard
inline fun EntitiesBuilder.bold(vararg parts: TextSource): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.bold(noinline init: EntitiesBuilderBody): EntitiesBuilder
Content copied to clipboard
boldMarkdown
Link copied to clipboard
boldMarkdownV2
Link copied to clipboard
botCommand
Link copied to clipboard
buildEntities
Link copied to clipboard
cashTagHtml
Link copied to clipboard
cashTagMarkdown
Link copied to clipboard
cashTagMarkdownV2
Link copied to clipboard
code
Link copied to clipboard
codeMarkdown
Link copied to clipboard
codeMarkdownV2
Link copied to clipboard
commandHTML
Link copied to clipboard
commandMarkdown
Link copied to clipboard
commandMarkdownV2
Link copied to clipboard
createFormattedText
Link copied to clipboard
fun createFormattedText(entities: TextSourcesList, partLength: Int = textLength.last, mode: ParseMode = defaultParseMode): List<String>
Content copied to clipboard
createHtmlText
Link copied to clipboard
fun createHtmlText(entities: TextSourcesList, partLength: Int = textLength.last): List<String>
Content copied to clipboard
createMarkdownText
Link copied to clipboard
fun createMarkdownText(entities: TextSourcesList, partLength: Int = textLength.last): List<String>
Content copied to clipboard
createMarkdownV2Text
Link copied to clipboard
fun createMarkdownV2Text(entities: TextSourcesList, partLength: Int = textLength.last): List<String>
Content copied to clipboard
email
Link copied to clipboard
inline fun EntitiesBuilder.email(vararg parts: TextSource): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.email(noinline init: EntitiesBuilderBody): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.email(parts: TextSourcesList): EntitiesBuilder
Content copied to clipboard
emailMarkdown
Link copied to clipboard
emailMarkdownV2
Link copied to clipboard
hashTag
Link copied to clipboard
inline fun EntitiesBuilder.hashtag(vararg parts: TextSource): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.hashtag(noinline init: EntitiesBuilderBody): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.hashtag(parts: TextSourcesList): EntitiesBuilder
Content copied to clipboard
hashTagHTML
Link copied to clipboard
hashTagMarkdown
Link copied to clipboard
hashTagMarkdownV2
Link copied to clipboard
italic
Link copied to clipboard
inline fun EntitiesBuilder.italic(vararg parts: TextSource): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.italic(noinline init: EntitiesBuilderBody): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.italic(parts: TextSourcesList): EntitiesBuilder
Content copied to clipboard
italicHTML
Link copied to clipboard
italicMarkdown
Link copied to clipboard
italicMarkdownV2
Link copied to clipboard
link
Link copied to clipboard
inline fun EntitiesBuilder.link(text: String, url: String): EntitiesBuilder
Content copied to clipboard
linkMarkdown
Link copied to clipboard
linkMarkdownV2
Link copied to clipboard
makeLinkToMessage
Link copied to clipboard
fun makeLinkToMessage(username: Username, messageId: MessageIdentifier): String
Content copied to clipboard
fun makeLinkToMessage(chat: UsernameChat, messageId: MessageIdentifier): String?
Content copied to clipboard
fun makeLinkToMessage(username: String, messageId: MessageIdentifier): String
Content copied to clipboard
makeUsernameLink
Link copied to clipboard
mention
Link copied to clipboard
inline fun EntitiesBuilder.mention(vararg parts: TextSource): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.mention(noinline init: EntitiesBuilderBody): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.mention(whoToMention: String): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.mention(parts: TextSourcesList): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.mention(user: User, vararg parts: TextSource): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.mention(text: String, user: User): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.mention(parts: TextSourcesList, user: User): EntitiesBuilder
Content copied to clipboard
mentionHTML
Link copied to clipboard
mentionMarkdown
Link copied to clipboard
mentionMarkdownV2
Link copied to clipboard
phone
Link copied to clipboard
inline fun EntitiesBuilder.phone(vararg parts: TextSource): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.phone(noinline init: EntitiesBuilderBody): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.phone(parts: TextSourcesList): EntitiesBuilder
Content copied to clipboard
phoneMarkdown
Link copied to clipboard
phoneMarkdownV2
Link copied to clipboard
pre
Link copied to clipboard
preMarkdown
Link copied to clipboard
preMarkdownV2
Link copied to clipboard
regular
Link copied to clipboard
regularHtml
Link copied to clipboard
regularMarkdown
Link copied to clipboard
regularMarkdownV2
Link copied to clipboard
strikethrough
Link copied to clipboard
inline fun EntitiesBuilder.strikethrough(vararg parts: TextSource): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.strikethrough(noinline init: EntitiesBuilderBody): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.strikethrough(parts: TextSourcesList): EntitiesBuilder
Content copied to clipboard
strikethroughHTML
Link copied to clipboard
strikethroughMarkdown
Link copied to clipboard
strikethroughMarkdownV2
Link copied to clipboard
textMentionHTML
Link copied to clipboard
textMentionMarkdown
Link copied to clipboard
textMentionMarkdownV2
Link copied to clipboard
toHtmlCaptions
Link copied to clipboard
toHtmlExplanations
Link copied to clipboard
toHtmlTexts
Link copied to clipboard
toMarkdownCaptions
Link copied to clipboard
toMarkdownExplanations
Link copied to clipboard
toMarkdownTexts
Link copied to clipboard
toMarkdownV2Captions
Link copied to clipboard
toMarkdownV2Explanations
Link copied to clipboard
toMarkdownV2Texts
Link copied to clipboard
underline
Link copied to clipboard
inline fun EntitiesBuilder.underline(vararg parts: TextSource): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.underline(noinline init: EntitiesBuilderBody): EntitiesBuilder
Content copied to clipboard
inline fun EntitiesBuilder.underline(parts: TextSourcesList): EntitiesBuilder
Content copied to clipboard
underlineHTML
Link copied to clipboard
underlineMarkdown
Link copied to clipboard
underlineMarkdownV2
Link copied to clipboard
Properties
htmlBoldControl
Link copied to clipboard
htmlCodeControl
Link copied to clipboard
htmlItalicControl
Link copied to clipboard
htmlPreControl
Link copied to clipboard
htmlStrikethroughControl
Link copied to clipboard
htmlUnderlineControl
Link copied to clipboard
markdownBoldControl
Link copied to clipboard
markdownCodeControl
Link copied to clipboard
markdownItalicControl
Link copied to clipboard
markdownPreControl
Link copied to clipboard
markdownV2ItalicEndControl
Link copied to clipboard
markdownV2ItalicUnderlineDelimiter
Link copied to clipboard
markdownV2StrikethroughControl
Link copied to clipboard
markdownV2UnderlineControl
Link copied to clipboard
markdownV2UnderlineEndControl
Link copied to clipboard
stickerSetLink
Link copied to clipboard