toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.message.textsources
/
TextLinkTextSource
Text
Link
Text
Source
@
Serializable
data
class
TextLinkTextSource
constructor
(
val
source
:
String
,
val
url
:
String
)
:
TextSource
See also
link
Members
Members & Extensions
Constructors
Text
Link
Text
Source
Link copied to clipboard
constructor
(
source
:
String
,
url
:
String
)
Properties
as
Text
Link copied to clipboard
open
val
asText
:
String
html
Link copied to clipboard
open
override
val
html
:
String
markdown
Link copied to clipboard
open
override
val
markdown
:
String
markdown
V2
Link copied to clipboard
open
override
val
markdownV2
:
String
source
Link copied to clipboard
open
override
val
source
:
String
url
Link copied to clipboard
val
url
:
String
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
>