Package dev. inmo. tgbotapi. extensions. utils. formatting
Types
This builder can be used to provide building of TextSources List
Functions
Add bold using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.bold
Version of EntitiesBuilder.bold with new line at the end
Add botCommand using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.botCommand
Version of EntitiesBuilder.botCommand with new line at the end
Version of EntitiesBuilder.cashTag with new line at the end
Add code using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.code
Version of EntitiesBuilder.code with new line at the end
Add email using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.email
Version of EntitiesBuilder.email with new line at the end
Add hashtag using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.hashtag
Version of EntitiesBuilder.hashtag with new line at the end
Add italic using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.italic
Version of EntitiesBuilder.italic with new line at the end
Add link using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.link
Version of EntitiesBuilder.link with new line at the end
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)
Add mention using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.mention
Version of EntitiesBuilder.mention with new line at the end
Add phone using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.phone
Version of EntitiesBuilder.phone with new line at the end
Add pre using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.pre
Version of EntitiesBuilder.pre with new line at the end
Will add simple dev.inmo.tgbotapi.types.MessageEntity.textsources.regular
Will add simple dev.inmo.tgbotapi.types.MessageEntity.textsources.regular and "\n" at the end
Add strikethrough using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.strikethrough
Version of EntitiesBuilder.strikethrough with new line at the end
Crutch for support of strikethrough in default markdown. Simply add modifier, but it will not look like correct
Add underline using EntitiesBuilder.add with dev.inmo.tgbotapi.types.MessageEntity.textsources.underline
Version of EntitiesBuilder.underline with new line at the end
Crutch for support of underline in default markdown. Simply add modifier, but it will not look like correct