//[docs](../../../index.md)/[dev.inmo.tgbotapi.types.actions](../index.md)/[BotAction](index.md)
# BotAction
[common] sealed class [BotAction](index.md)
Use BotAction objects realisations to notify user about bot actions
## Properties
| Name | Summary |
|---|---|
| [actionName](action-name.md)| [common] abstract val [actionName](action-name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
## Inheritors
| Name |
|---|
| [TypingAction](../-typing-action/index.md)|
| [UploadPhotoAction](../-upload-photo-action/index.md)|
| [RecordVideoAction](../-record-video-action/index.md)|
| [UploadVideoAction](../-upload-video-action/index.md)|
| [RecordAudioAction](../-record-audio-action/index.md)|
| [UploadAudioAction](../-upload-audio-action/index.md)|
| [UploadDocumentAction](../-upload-document-action/index.md)|
| [FindLocationAction](../-find-location-action/index.md)|
| [RecordVideoNoteAction](../-record-video-note-action/index.md)|
| [UploadVideoNoteAction](../-upload-video-note-action/index.md)|
## Extensions
| Name | Summary |
|---|---|
| [asFindLocation](../as-find-location.md)| [common]
Content
inline fun [BotAction](index.md).[asFindLocation](../as-find-location.md)(): [FindLocationAction](../-find-location-action/index.md)?
|
| [asFindLocationAction](../../dev.inmo.tgbotapi.extensions.utils/as-find-location-action.md)| [common]
Content
inline fun [BotAction](index.md).[asFindLocationAction](../../dev.inmo.tgbotapi.extensions.utils/as-find-location-action.md)(): [FindLocationAction](../-find-location-action/index.md)?
|
| [asRecordAudio](../as-record-audio.md)| [common]
Content
inline fun [BotAction](index.md).[asRecordAudio](../as-record-audio.md)(): [RecordAudioAction](../-record-audio-action/index.md)?
|
| [asRecordAudioAction](../../dev.inmo.tgbotapi.extensions.utils/as-record-audio-action.md)| [common]
Content
inline fun [BotAction](index.md).[asRecordAudioAction](../../dev.inmo.tgbotapi.extensions.utils/as-record-audio-action.md)(): [RecordAudioAction](../-record-audio-action/index.md)?
|
| [asRecordVideo](../as-record-video.md)| [common]
Content
inline fun [BotAction](index.md).[asRecordVideo](../as-record-video.md)(): [RecordVideoAction](../-record-video-action/index.md)?
|
| [asRecordVideoAction](../../dev.inmo.tgbotapi.extensions.utils/as-record-video-action.md)| [common]
Content
inline fun [BotAction](index.md).[asRecordVideoAction](../../dev.inmo.tgbotapi.extensions.utils/as-record-video-action.md)(): [RecordVideoAction](../-record-video-action/index.md)?
|
| [asRecordVideoNote](../as-record-video-note.md)| [common]
Content
inline fun [BotAction](index.md).[asRecordVideoNote](../as-record-video-note.md)(): [RecordVideoNoteAction](../-record-video-note-action/index.md)?
|
| [asRecordVideoNoteAction](../../dev.inmo.tgbotapi.extensions.utils/as-record-video-note-action.md)| [common]
Content
inline fun [BotAction](index.md).[asRecordVideoNoteAction](../../dev.inmo.tgbotapi.extensions.utils/as-record-video-note-action.md)(): [RecordVideoNoteAction](../-record-video-note-action/index.md)?
|
| [asTyping](../as-typing.md)| [common]
Content
inline fun [BotAction](index.md).[asTyping](../as-typing.md)(): [TypingAction](../-typing-action/index.md)?
|
| [asTypingAction](../../dev.inmo.tgbotapi.extensions.utils/as-typing-action.md)| [common]
Content
inline fun [BotAction](index.md).[asTypingAction](../../dev.inmo.tgbotapi.extensions.utils/as-typing-action.md)(): [TypingAction](../-typing-action/index.md)?
|
| [asUploadAudio](../as-upload-audio.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadAudio](../as-upload-audio.md)(): [UploadAudioAction](../-upload-audio-action/index.md)?
|
| [asUploadAudioAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-audio-action.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadAudioAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-audio-action.md)(): [UploadAudioAction](../-upload-audio-action/index.md)?
|
| [asUploadDocument](../as-upload-document.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadDocument](../as-upload-document.md)(): [UploadDocumentAction](../-upload-document-action/index.md)?
|
| [asUploadDocumentAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-document-action.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadDocumentAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-document-action.md)(): [UploadDocumentAction](../-upload-document-action/index.md)?
|
| [asUploadPhoto](../as-upload-photo.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadPhoto](../as-upload-photo.md)(): [UploadPhotoAction](../-upload-photo-action/index.md)?
|
| [asUploadPhotoAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-photo-action.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadPhotoAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-photo-action.md)(): [UploadPhotoAction](../-upload-photo-action/index.md)?
|
| [asUploadVideo](../as-upload-video.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadVideo](../as-upload-video.md)(): [UploadVideoAction](../-upload-video-action/index.md)?
|
| [asUploadVideoAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-video-action.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadVideoAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-video-action.md)(): [UploadVideoAction](../-upload-video-action/index.md)?
|
| [asUploadVideoNote](../as-upload-video-note.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadVideoNote](../as-upload-video-note.md)(): [UploadVideoNoteAction](../-upload-video-note-action/index.md)?
|
| [asUploadVideoNoteAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-video-note-action.md)| [common]
Content
inline fun [BotAction](index.md).[asUploadVideoNoteAction](../../dev.inmo.tgbotapi.extensions.utils/as-upload-video-note-action.md)(): [UploadVideoNoteAction](../-upload-video-note-action/index.md)?
|
| [requireFindLocationAction](../../dev.inmo.tgbotapi.extensions.utils/require-find-location-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireFindLocationAction](../../dev.inmo.tgbotapi.extensions.utils/require-find-location-action.md)(): [FindLocationAction](../-find-location-action/index.md)
|
| [requireRecordAudioAction](../../dev.inmo.tgbotapi.extensions.utils/require-record-audio-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireRecordAudioAction](../../dev.inmo.tgbotapi.extensions.utils/require-record-audio-action.md)(): [RecordAudioAction](../-record-audio-action/index.md)
|
| [requireRecordVideoAction](../../dev.inmo.tgbotapi.extensions.utils/require-record-video-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireRecordVideoAction](../../dev.inmo.tgbotapi.extensions.utils/require-record-video-action.md)(): [RecordVideoAction](../-record-video-action/index.md)
|
| [requireRecordVideoNoteAction](../../dev.inmo.tgbotapi.extensions.utils/require-record-video-note-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireRecordVideoNoteAction](../../dev.inmo.tgbotapi.extensions.utils/require-record-video-note-action.md)(): [RecordVideoNoteAction](../-record-video-note-action/index.md)
|
| [requireTypingAction](../../dev.inmo.tgbotapi.extensions.utils/require-typing-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireTypingAction](../../dev.inmo.tgbotapi.extensions.utils/require-typing-action.md)(): [TypingAction](../-typing-action/index.md)
|
| [requireUploadAudioAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-audio-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireUploadAudioAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-audio-action.md)(): [UploadAudioAction](../-upload-audio-action/index.md)
|
| [requireUploadDocumentAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-document-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireUploadDocumentAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-document-action.md)(): [UploadDocumentAction](../-upload-document-action/index.md)
|
| [requireUploadPhotoAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-photo-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireUploadPhotoAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-photo-action.md)(): [UploadPhotoAction](../-upload-photo-action/index.md)
|
| [requireUploadVideoAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-video-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireUploadVideoAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-video-action.md)(): [UploadVideoAction](../-upload-video-action/index.md)
|
| [requireUploadVideoNoteAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-video-note-action.md)| [common]
Content
inline fun [BotAction](index.md).[requireUploadVideoNoteAction](../../dev.inmo.tgbotapi.extensions.utils/require-upload-video-note-action.md)(): [UploadVideoNoteAction](../-upload-video-note-action/index.md)
|