Package dev. inmo. tgbotapi. types. MessageEntity. textsources
Types
BoldTextSource
Link copied to clipboard
data class BoldTextSource constructor(source: String, subsources: List<TextSource>) : MultilevelTextSource
Content copied to clipboard
BotCommandTextSource
Link copied to clipboard
CashTagTextSource
Link copied to clipboard
data class CashTagTextSource constructor(source: String, subsources: List<TextSource>) : MultilevelTextSource
Content copied to clipboard
CodeTextSource
Link copied to clipboard
EMailTextSource
Link copied to clipboard
data class EMailTextSource constructor(source: String, subsources: List<TextSource>) : MultilevelTextSource
Content copied to clipboard
HashTagTextSource
Link copied to clipboard
data class HashTagTextSource constructor(source: String, subsources: List<TextSource>) : MultilevelTextSource
Content copied to clipboard
ItalicTextSource
Link copied to clipboard
data class ItalicTextSource constructor(source: String, subsources: List<TextSource>) : MultilevelTextSource
Content copied to clipboard
MentionTextSource
Link copied to clipboard
data class MentionTextSource constructor(source: String, subsources: List<TextSource>) : MultilevelTextSource
Content copied to clipboard
PhoneNumberTextSource
Link copied to clipboard
data class PhoneNumberTextSource constructor(source: String, subsources: List<TextSource>) : 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: List<TextSource>) : 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: List<TextSource>) : MultilevelTextSource
Content copied to clipboard
UnderlineTextSource
Link copied to clipboard
data class UnderlineTextSource constructor(source: String, subsources: List<TextSource>) : 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 UserId.mention(parts: List<TextSource>): TextMentionTextSource
Content copied to clipboard
inline fun Identifier.mention(parts: List<TextSource>): TextMentionTextSource
Content copied to clipboard
inline fun mention(user: User, vararg parts: TextSource): TextMentionTextSource
Content copied to clipboard
inline fun mention(parts: List<TextSource>, userId: UserId): TextMentionTextSource
Content copied to clipboard
inline fun mention(parts: List<TextSource>, user: User): TextMentionTextSource
Content copied to clipboard
inline fun mention(parts: List<TextSource>, id: Identifier): TextMentionTextSource
Content copied to clipboard
phone
Link copied to clipboard
pre
Link copied to clipboard
regular
Link copied to clipboard
strikethrough
Link copied to clipboard
inline fun strikethrough(vararg parts: TextSource): StrikethroughTextSource
Content copied to clipboard
inline fun strikethrough(parts: List<TextSource>): StrikethroughTextSource
Content copied to clipboard
underline
Link copied to clipboard