toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.message.textsources
/
MultilevelTextSource
Multilevel
Text
Source
@
Serializable
(
with
=
TextSourceSerializer::class
)
sealed
interface
MultilevelTextSource
:
TextSource
Inheritors
BlockquoteTextSource
BoldTextSource
CashTagTextSource
CustomEmojiTextSource
EMailTextSource
ExpandableBlockquoteTextSource
HashTagTextSource
ItalicTextSource
MentionTextSource
PhoneNumberTextSource
SpoilerTextSource
StrikethroughTextSource
TextMentionTextSource
UnderlineTextSource
Members
Members & Extensions
Properties
as
Text
Link copied to clipboard
open
val
asText
:
String
html
Link copied to clipboard
abstract
val
html
:
String
markdown
Link copied to clipboard
abstract
val
markdown
:
String
markdown
V2
Link copied to clipboard
abstract
val
markdownV2
:
String
source
Link copied to clipboard
abstract
val
source
:
String
subsources
Link copied to clipboard
abstract
val
subsources
:
List
<
TextSource
>
Functions
plus
Link copied to clipboard
operator
fun
TextSource
.
plus
(
other
:
TextSource
)
:
List
<
TextSource
>
operator
fun
TextSource
.
plus
(
text
:
String
)
:
List
<
TextSource
>
operator
fun
TextSource
.
plus
(
other
:
List
<
TextSource
>
)
:
List
<
TextSource
>
to
Raw
Message
Entities
Link copied to clipboard
fun
TextSource
.
toRawMessageEntities
(
offset
:
Int
=
0
)
:
List
<
RawMessageEntity
>