Package dev.inmo.tgbotapi.types.actions

Types

Link copied to clipboard
interface BotAction

Use BotAction objects realisations to notify user about bot actions

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

Will notify user that bot is uploading video note

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

Will notify user that bot is trying to find location

Link copied to clipboard
object RecordVideoAction : BotAction

Will notify user that bot is recording some video

Link copied to clipboard
object RecordVideoNoteAction : BotAction

Will notify user that bot is recording video note

Link copied to clipboard
object RecordVoiceAction : BotAction

Will notify user that bot is recording some audio

Link copied to clipboard
object TypingAction : BotAction

Will notify user that bot is "typing" something

Link copied to clipboard
object UploadDocumentAction : BotAction

Will notify user that bot is uploading some document

Link copied to clipboard
object UploadPhotoAction : BotAction

Will notify user that bot is uploading some photo

Link copied to clipboard
object UploadVideoAction : BotAction

Will notify user that bot is uploading some photo

Link copied to clipboard
object UploadVideoNoteAction : BotAction

Will notify user that bot is uploading video note

Link copied to clipboard
object UploadVoiceAction : BotAction

Will notify user that bot is uploading some audio

Functions

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

Properties

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