Package dev. inmo. tgbotapi. extensions. utils. formatting
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun createFormattedText( entities: TextSourcesList, partLength: Int = textLength.last, mode: ParseMode = defaultParseMode): List<String>
Content copied to clipboard
Link copied to clipboard
fun createHtmlText(entities: TextSourcesList, partLength: Int = textLength.last): List<String>
Content copied to clipboard
Link copied to clipboard
fun createMarkdownText(entities: TextSourcesList, partLength: Int = textLength.last): List<String>
Content copied to clipboard
Link copied to clipboard
fun createMarkdownV2Text(entities: TextSourcesList, partLength: Int = textLength.last): List<String>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun makeDeepLink(username: Username, startParameter: String): String
Content copied to clipboard
Link copied to clipboard
Link which can be used as by any user to get access to Message. Returns null in case when there are no known way to build link (for PrivateChats, for example)
Link copied to clipboard
inline fun makeTelegramDeepLink(username: Username, startParameter: String): String
Content copied to clipboard
inline fun makeTelegramDeepLink(username: String, startParameter: String): String
Content copied to clipboard
Link copied to clipboard
inline fun makeTelegramStartattach(username: Username, data: String? = null): String
Content copied to clipboard
inline fun makeTelegramStartattach(username: String, data: String? = null): String
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun makeUsernameStartattachLink(username: String, data: String? = null): String
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Crutch for support of strikethrough in default markdown. Simply add modifier, but it will not look like correct
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Crutch for support of underline in default markdown. Simply add modifier, but it will not look like correct
Link copied to clipboard
Properties
Link copied to clipboard