Package dev. inmo. tgbotapi. types. MessageEntity. textsources
Types
BoldTextSource
Link copied to clipboard
data class BoldTextSource constructor(source: String, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
BotCommandTextSource
Link copied to clipboard
CashTagTextSource
Link copied to clipboard
data class CashTagTextSource constructor(source: String, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
CodeTextSource
Link copied to clipboard
EMailTextSource
Link copied to clipboard
data class EMailTextSource constructor(source: String, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
HashTagTextSource
Link copied to clipboard
data class HashTagTextSource constructor(source: String, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
ItalicTextSource
Link copied to clipboard
data class ItalicTextSource constructor(source: String, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
MentionTextSource
Link copied to clipboard
data class MentionTextSource constructor(source: String, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
MultilevelTextSource
Link copied to clipboard
MutableTextSourcesList
Link copied to clipboard
PhoneNumberTextSource
Link copied to clipboard
data class PhoneNumberTextSource constructor(source: String, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
PreTextSource
Link copied to clipboard
data class PreTextSource constructor(source: String, language: String?) : TextSource
Content copied to clipboard
RegularTextSource
Link copied to clipboard
StrikethroughTextSource
Link copied to clipboard
data class StrikethroughTextSource constructor(source: String, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
TextLinkTextSource
Link copied to clipboard
data class TextLinkTextSource constructor(source: String, url: String) : TextSource
Content copied to clipboard
TextMentionTextSource
Link copied to clipboard
data class TextMentionTextSource constructor(source: String, user: User, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
TextSource
Link copied to clipboard
interface TextSource
Content copied to clipboard
TextSourceSerializer
Link copied to clipboard
TextSourcesList
Link copied to clipboard
UnderlineTextSource
Link copied to clipboard
data class UnderlineTextSource constructor(source: String, subsources: TextSourcesList) : MultilevelTextSource
Content copied to clipboard
URLTextSource
Link copied to clipboard
Functions
bold
Link copied to clipboard
botCommand
Link copied to clipboard
cashTag
Link copied to clipboard
code
Link copied to clipboard
email
Link copied to clipboard
hashtag
Link copied to clipboard
italic
Link copied to clipboard
link
Link copied to clipboard
mention
Link copied to clipboard
inline fun Identifier.mention(parts: TextSourcesList): TextMentionTextSource
Content copied to clipboard
inline fun mention(user: User, vararg parts: TextSource): TextMentionTextSource
Content copied to clipboard
inline fun mention(parts: TextSourcesList, userId: UserId): TextMentionTextSource
Content copied to clipboard
inline fun mention(parts: TextSourcesList, user: User): TextMentionTextSource
Content copied to clipboard
inline fun mention(parts: TextSourcesList, id: Identifier): TextMentionTextSource
Content copied to clipboard
phone
Link copied to clipboard
plus
Link copied to clipboard
inline operator fun TextSource.plus(other: List<TextSource>): List<TextSource>
Content copied to clipboard
inline operator fun List<TextSource>.plus(text: String): List<TextSource>
Content copied to clipboard
pre
Link copied to clipboard
regular
Link copied to clipboard
separateForCaption
Link copied to clipboard
separateForMessage
Link copied to clipboard
fun List<TextSource>.separateForMessage(limit: IntRange, numberOfParts: Int? = null): List<List<TextSource>>
Content copied to clipboard
separateForText
Link copied to clipboard
strikethrough
Link copied to clipboard
inline fun strikethrough(vararg parts: TextSource): StrikethroughTextSource
Content copied to clipboard
inline fun strikethrough(parts: TextSourcesList): StrikethroughTextSource
Content copied to clipboard
underline
Link copied to clipboard
Properties
DirectInvocationOfTextSourceConstructor
Link copied to clipboard