toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.message.textsources
/
BotCommandTextSource
Bot
Command
Text
Source
@
Serializable
data
class
BotCommandTextSource
constructor
(
val
source
:
String
)
:
TextSource
See also
bot
Command
Members
Members & Extensions
Constructors
Bot
Command
Text
Source
Link copied to clipboard
constructor
(
source
:
String
)
Properties
as
Text
Link copied to clipboard
open
val
asText
:
String
command
Link copied to clipboard
val
command
:
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
username
Link copied to clipboard
val
username
:
Username
?
Functions
plus
Link copied to clipboard
inline operator
fun
TextSource
.
plus
(
other
:
TextSource
)
:
List
<
TextSource
>
inline operator
fun
TextSource
.
plus
(
text
:
String
)
:
List
<
TextSource
>
inline operator
fun
TextSource
.
plus
(
other
:
List
<
TextSource
>
)
:
List
<
TextSource
>