Package dev.inmo.tgbotapi.types.actions

Types

BotAction
Link copied to clipboard
common
interface BotAction

Use BotAction objects realisations to notify user about bot actions

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

Will notify user that bot is uploading video note

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

Will notify user that bot is trying to find location

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

RecordVoiceAction
Link copied to clipboard
common
object RecordVoiceAction : BotAction

Will notify user that bot is recording some audio

TypingAction
Link copied to clipboard
common
object TypingAction : BotAction

Will notify user that bot is "typing" something

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

UploadVoiceAction
Link copied to clipboard
common
object UploadVoiceAction : BotAction

Will notify user that bot is uploading some audio

Functions

asChooseStickerAction
Link copied to clipboard
common
inline fun BotAction.asChooseStickerAction(): ChooseStickerAction?
asFindLocation
Link copied to clipboard
common
inline fun BotAction.asFindLocation(): FindLocationAction?
asRecordVideo
Link copied to clipboard
common
inline fun BotAction.asRecordVideo(): RecordVideoAction?
asRecordVideoNote
Link copied to clipboard
common
inline fun BotAction.asRecordVideoNote(): RecordVideoNoteAction?
asRecordVoice
Link copied to clipboard
common
inline fun BotAction.asRecordVoice(): RecordVoiceAction?
asTyping
Link copied to clipboard
common
inline fun BotAction.asTyping(): TypingAction?
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?
asUploadVoice
Link copied to clipboard
common
inline fun BotAction.asUploadVoice(): UploadVoiceAction?

Properties

chooseSticker
Link copied to clipboard
common
val chooseSticker: ChooseStickerAction
findLocation
Link copied to clipboard
common
val findLocation: FindLocationAction
recordVideo
Link copied to clipboard
common
val recordVideo: RecordVideoAction
recordVideoNote
Link copied to clipboard
common
val recordVideoNote: RecordVideoNoteAction
recordVoice
Link copied to clipboard
common
val recordVoice: RecordVoiceAction
typing
Link copied to clipboard
common
val typing: TypingAction
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
uploadVoice
Link copied to clipboard
common
val uploadVoice: UploadVoiceAction