toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.actions
/
CustomBotAction
Custom
Bot
Action
@
Serializable
(
with
=
BotActionSerializer::class
)
class
CustomBotAction
constructor
(
val
actionName
:
String
)
:
BotAction
Members
Members & Extensions
Constructors
Custom
Bot
Action
Link copied to clipboard
constructor
(
actionName
:
String
)
Properties
action
Name
Link copied to clipboard
open
override
val
actionName
:
String
Functions
as
Choose
Sticker
Action
Link copied to clipboard
inline
fun
BotAction
.
asChooseStickerAction
(
)
:
ChooseStickerAction
?
as
Find
Location
Link copied to clipboard
inline
fun
BotAction
.
asFindLocation
(
)
:
FindLocationAction
?
as
Record
Video
Link copied to clipboard
inline
fun
BotAction
.
asRecordVideo
(
)
:
RecordVideoAction
?
as
Record
Video
Note
Link copied to clipboard
inline
fun
BotAction
.
asRecordVideoNote
(
)
:
RecordVideoNoteAction
?
as
Record
Voice
Link copied to clipboard
inline
fun
BotAction
.
asRecordVoice
(
)
:
RecordVoiceAction
?
as
Typing
Link copied to clipboard
inline
fun
BotAction
.
asTyping
(
)
:
TypingAction
?
as
Upload
Document
Link copied to clipboard
inline
fun
BotAction
.
asUploadDocument
(
)
:
UploadDocumentAction
?
as
Upload
Photo
Link copied to clipboard
inline
fun
BotAction
.
asUploadPhoto
(
)
:
UploadPhotoAction
?
as
Upload
Video
Link copied to clipboard
inline
fun
BotAction
.
asUploadVideo
(
)
:
UploadVideoAction
?
as
Upload
Video
Note
Link copied to clipboard
inline
fun
BotAction
.
asUploadVideoNote
(
)
:
UploadVideoNoteAction
?
as
Upload
Voice
Link copied to clipboard
inline
fun
BotAction
.
asUploadVoice
(
)
:
UploadVoiceAction
?