Package dev.inmo.tgbotapi.requests

Types

DeleteMessage
Link copied to clipboard
common
data class DeleteMessage(chatId: ChatIdentifier, messageId: Long) : 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: Long, disableNotification: Boolean) : SimpleRequest<PossiblyForwardedMessage> , MessageAction
GetUpdates
Link copied to clipboard

Request updates from Telegram Bot API system. It is important, that the result updates WILL NOT include dev.inmo.tgbotapi.types.update.MediaGroupUpdates.MediaGroupUpdate objects due to the fact, that it is internal abstraction and in fact any dev.inmo.tgbotapi.types.message.abstracts.MediaGroupMessage is just a common dev.inmo.tgbotapi.types.message.abstracts.Message

common
data class GetUpdates(offset: Long?, limit: Int, timeout: Int?, allowed_updates: List<String>?) : SimpleRequest<List<Update>>
StopPoll
Link copied to clipboard
common
data class StopPoll(chatId: ChatIdentifier, messageId: Long, replyMarkup: InlineKeyboardMarkup?) : MessageAction, SimpleRequest<Poll> , ReplyMarkup