Package dev.inmo.tgbotapi.types.actions

Types

BotAction
Link copied to clipboard
common
sealed class BotAction
Use BotAction objects realisations to notify user about bot actions
FindLocationAction
Link copied to clipboard
common
object FindLocationAction : BotAction
Will notify user that bot is trying to find location
RecordAudioAction
Link copied to clipboard
common
object RecordAudioAction : BotAction
Will notify user that bot is recording some audio
RecordVideoAction
Link copied to clipboard
common
object RecordVideoAction : BotAction
Will notify user that bot is recording some video
RecordVideoNoteAction
Link copied to clipboard
common
object RecordVideoNoteAction : BotAction
Will notify user that bot is recording video note
TypingAction
Link copied to clipboard
common
object TypingAction : BotAction
Will notify user that bot is "typing" something
UploadAudioAction
Link copied to clipboard
common
object UploadAudioAction : BotAction
Will notify user that bot is uploading some audio
UploadDocumentAction
Link copied to clipboard
common
object UploadDocumentAction : BotAction
Will notify user that bot is uploading some document
UploadPhotoAction
Link copied to clipboard
common
object UploadPhotoAction : BotAction
Will notify user that bot is uploading some photo
UploadVideoAction
Link copied to clipboard
common
object UploadVideoAction : BotAction
Will notify user that bot is uploading some photo
UploadVideoNoteAction
Link copied to clipboard
common
object UploadVideoNoteAction : BotAction
Will notify user that bot is uploading video note

Functions

asFindLocation
Link copied to clipboard
common
inline fun BotAction.asFindLocation(): FindLocationAction?
asRecordAudio
Link copied to clipboard
common
inline fun BotAction.asRecordAudio(): RecordAudioAction?
asRecordVideo
Link copied to clipboard
common
inline fun BotAction.asRecordVideo(): RecordVideoAction?
asRecordVideoNote
Link copied to clipboard
common
inline fun BotAction.asRecordVideoNote(): RecordVideoNoteAction?
asTyping
Link copied to clipboard
common
inline fun BotAction.asTyping(): TypingAction?
asUploadAudio
Link copied to clipboard
common
inline fun BotAction.asUploadAudio(): UploadAudioAction?
asUploadDocument
Link copied to clipboard
common
inline fun BotAction.asUploadDocument(): UploadDocumentAction?
asUploadPhoto
Link copied to clipboard
common
inline fun BotAction.asUploadPhoto(): UploadPhotoAction?
asUploadVideo
Link copied to clipboard
common
inline fun BotAction.asUploadVideo(): UploadVideoAction?
asUploadVideoNote
Link copied to clipboard
common
inline fun BotAction.asUploadVideoNote(): UploadVideoNoteAction?

Properties

findLocation
Link copied to clipboard
common
val findLocation: FindLocationAction
recordAudio
Link copied to clipboard
common
val recordAudio: RecordAudioAction
recordVideo
Link copied to clipboard
common
val recordVideo: RecordVideoAction
recordVideoNote
Link copied to clipboard
common
val recordVideoNote: RecordVideoNoteAction
typing
Link copied to clipboard
common
val typing: TypingAction
uploadAudio
Link copied to clipboard
common
val uploadAudio: UploadAudioAction
uploadDocument
Link copied to clipboard
common
val uploadDocument: UploadDocumentAction
uploadPhoto
Link copied to clipboard
common
val uploadPhoto: UploadPhotoAction
uploadVideo
Link copied to clipboard
common
val uploadVideo: UploadVideoAction
uploadVideoNote
Link copied to clipboard
common
val uploadVideoNote: UploadVideoNoteAction