Package dev.inmo.tgbotapi.requests

Types

DeleteMessage
Link copied to clipboard
common
data class DeleteMessage(chatId: ChatIdentifier, messageId: MessageIdentifier) : SimpleRequest<Boolean> , MessageAction
DownloadFile
Link copied to clipboard
common
class DownloadFile(filePath: String) : Request<ByteArray>
ForwardMessage
Link copied to clipboard
common
data class ForwardMessage(fromChatId: ChatIdentifier, toChatId: ChatIdentifier, messageId: MessageIdentifier, disableNotification: Boolean) : SimpleRequest<PossiblyForwardedMessage> , MessageAction
GetUpdates
Link copied to clipboard
common
data class GetUpdates(offset: UpdateIdentifier?, limit: Int, timeout: Seconds?, allowed_updates: List<String>?) : SimpleRequest<List<Update>>
Request updates from Telegram Bot API system.
SetPassportDataErrors
Link copied to clipboard
common
data class SetPassportDataErrors(user: UserId, errors: List<PassportElementError>) : SimpleRequest<Boolean>
StopPoll
Link copied to clipboard
common
data class StopPoll(chatId: ChatIdentifier, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup?) : MessageAction, SimpleRequest<Poll> , ReplyMarkup