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
)
Types
Companion
Link copied to clipboard
object
Companion
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
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
>