# dev.inmo.tgbotapi.types.actions

docs

# Package dev.inmo.tgbotapi.types.actions

## Types

BotAction
Link copied to clipboard
interface BotAction
Content copied to clipboard

Use BotAction objects realisations to notify user about bot actions

BotActionSerializer
Link copied to clipboard
object BotActionSerializer : KSerializer< BotAction >
Content copied to clipboard
ChooseStickerAction
Link copied to clipboard
object ChooseStickerAction : BotAction
Content copied to clipboard

Will notify user that bot is uploading video note

CustomBotAction
Link copied to clipboard
class CustomBotAction constructor(val actionName: String ) : BotAction
Content copied to clipboard
FindLocationAction
Link copied to clipboard
object FindLocationAction : BotAction
Content copied to clipboard

Will notify user that bot is trying to find location

RecordVideoAction
Link copied to clipboard
object RecordVideoAction : BotAction
Content copied to clipboard

Will notify user that bot is recording some video

RecordVideoNoteAction
Link copied to clipboard
object RecordVideoNoteAction : BotAction
Content copied to clipboard

Will notify user that bot is recording video note

RecordVoiceAction
Link copied to clipboard
object RecordVoiceAction : BotAction
Content copied to clipboard

Will notify user that bot is recording some audio

TypingAction
Link copied to clipboard
object TypingAction : BotAction
Content copied to clipboard

Will notify user that bot is "typing" something

UploadDocumentAction
Link copied to clipboard
object UploadDocumentAction : BotAction
Content copied to clipboard

Will notify user that bot is uploading some document

UploadPhotoAction
Link copied to clipboard
object UploadPhotoAction : BotAction
Content copied to clipboard

Will notify user that bot is uploading some photo

UploadVideoAction
Link copied to clipboard
object UploadVideoAction : BotAction
Content copied to clipboard

Will notify user that bot is uploading some photo

UploadVideoNoteAction
Link copied to clipboard
object UploadVideoNoteAction : BotAction
Content copied to clipboard

Will notify user that bot is uploading video note

UploadVoiceAction
Link copied to clipboard
object UploadVoiceAction : BotAction
Content copied to clipboard

Will notify user that bot is uploading some audio

## Functions

asChooseStickerAction
Link copied to clipboard
inline fun BotAction . asChooseStickerAction (): ChooseStickerAction ?
Content copied to clipboard
asFindLocation
Link copied to clipboard
inline fun BotAction . asFindLocation (): FindLocationAction ?
Content copied to clipboard
asRecordVideo
Link copied to clipboard
inline fun BotAction . asRecordVideo (): RecordVideoAction ?
Content copied to clipboard
asRecordVideoNote
Link copied to clipboard
inline fun BotAction . asRecordVideoNote (): RecordVideoNoteAction ?
Content copied to clipboard
asRecordVoice
Link copied to clipboard
inline fun BotAction . asRecordVoice (): RecordVoiceAction ?
Content copied to clipboard
asTyping
Link copied to clipboard
inline fun BotAction . asTyping (): TypingAction ?
Content copied to clipboard
asUploadDocument
Link copied to clipboard
inline fun BotAction . asUploadDocument (): UploadDocumentAction ?
Content copied to clipboard
asUploadPhoto
Link copied to clipboard
inline fun BotAction . asUploadPhoto (): UploadPhotoAction ?
Content copied to clipboard
asUploadVideo
Link copied to clipboard
inline fun BotAction . asUploadVideo (): UploadVideoAction ?
Content copied to clipboard
asUploadVideoNote
Link copied to clipboard
inline fun BotAction . asUploadVideoNote (): UploadVideoNoteAction ?
Content copied to clipboard
asUploadVoice
Link copied to clipboard
inline fun BotAction . asUploadVoice (): UploadVoiceAction ?
Content copied to clipboard

## Properties

chooseSticker
Link copied to clipboard
val chooseSticker : ChooseStickerAction
Content copied to clipboard
findLocation
Link copied to clipboard
val findLocation : FindLocationAction
Content copied to clipboard
recordVideo
Link copied to clipboard
val recordVideo : RecordVideoAction
Content copied to clipboard
recordVideoNote
Link copied to clipboard
val recordVideoNote : RecordVideoNoteAction
Content copied to clipboard
recordVoice
Link copied to clipboard
val recordVoice : RecordVoiceAction
Content copied to clipboard
typing
Link copied to clipboard
val typing : TypingAction
Content copied to clipboard
uploadDocument
Link copied to clipboard
val uploadDocument : UploadDocumentAction
Content copied to clipboard
uploadPhoto
Link copied to clipboard
val uploadPhoto : UploadPhotoAction
Content copied to clipboard
uploadVideo
Link copied to clipboard
val uploadVideo : UploadVideoAction
Content copied to clipboard
uploadVideoNote
Link copied to clipboard
val uploadVideoNote : UploadVideoNoteAction
Content copied to clipboard
uploadVoice
Link copied to clipboard
val uploadVoice : UploadVoiceAction
Content copied to clipboard