1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-23 10:38:43 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.types.actions/index.md
2021-03-17 15:18:37 +00:00

13 KiB

//docs/dev.inmo.tgbotapi.types.actions

Package dev.inmo.tgbotapi.types.actions

Types

Name Summary
BotAction [common]
Content
sealed class BotAction
More info
Use BotAction objects realisations to notify user about bot actions


FindLocationAction [common]
Content
object FindLocationAction : BotAction
More info
Will notify user that bot is trying to find location


RecordAudioAction [common]
Content
object RecordAudioAction : BotAction
More info
Will notify user that bot is recording some audio


RecordVideoAction [common]
Content
object RecordVideoAction : BotAction
More info
Will notify user that bot is recording some video


RecordVideoNoteAction [common]
Content
object RecordVideoNoteAction : BotAction
More info
Will notify user that bot is recording video note


TypingAction [common]
Content
object TypingAction : BotAction
More info
Will notify user that bot is "typing" something


UploadAudioAction [common]
Content
object UploadAudioAction : BotAction
More info
Will notify user that bot is uploading some audio


UploadDocumentAction [common]
Content
object UploadDocumentAction : BotAction
More info
Will notify user that bot is uploading some document


UploadPhotoAction [common]
Content
object UploadPhotoAction : BotAction
More info
Will notify user that bot is uploading some photo


UploadVideoAction [common]
Content
object UploadVideoAction : BotAction
More info
Will notify user that bot is uploading some photo


UploadVideoNoteAction [common]
Content
object UploadVideoNoteAction : BotAction
More info
Will notify user that bot is uploading video note


Functions

Name Summary
asFindLocation [common]
Content
inline fun BotAction.asFindLocation(): FindLocationAction?


asRecordAudio [common]
Content
inline fun BotAction.asRecordAudio(): RecordAudioAction?


asRecordVideo [common]
Content
inline fun BotAction.asRecordVideo(): RecordVideoAction?


asRecordVideoNote [common]
Content
inline fun BotAction.asRecordVideoNote(): RecordVideoNoteAction?


asTyping [common]
Content
inline fun BotAction.asTyping(): TypingAction?


asUploadAudio [common]
Content
inline fun BotAction.asUploadAudio(): UploadAudioAction?


asUploadDocument [common]
Content
inline fun BotAction.asUploadDocument(): UploadDocumentAction?


asUploadPhoto [common]
Content
inline fun BotAction.asUploadPhoto(): UploadPhotoAction?


asUploadVideo [common]
Content
inline fun BotAction.asUploadVideo(): UploadVideoAction?


asUploadVideoNote [common]
Content
inline fun BotAction.asUploadVideoNote(): UploadVideoNoteAction?


Properties

Name Summary
findLocation [common] val findLocation: FindLocationAction
recordAudio [common] val recordAudio: RecordAudioAction
recordVideo [common] val recordVideo: RecordVideoAction
recordVideoNote [common] val recordVideoNote: RecordVideoNoteAction
typing [common] val typing: TypingAction
uploadAudio [common] val uploadAudio: UploadAudioAction
uploadDocument [common] val uploadDocument: UploadDocumentAction
uploadPhoto [common] val uploadPhoto: UploadPhotoAction
uploadVideo [common] val uploadVideo: UploadVideoAction
uploadVideoNote [common] val uploadVideoNote: UploadVideoNoteAction