Package dev. inmo. tgbotapi. requests
Types
DeleteMessage
Link copied to clipboard
data class DeleteMessage(chatId: ChatIdentifier, messageId: MessageIdentifier) : SimpleRequest<Boolean> , MessageAction
Content copied to clipboard
DownloadFile
Link copied to clipboard
DownloadFileStream
Link copied to clipboard
class DownloadFileStream(filePath: String) : Request<ByteReadChannelAllocator>
Content copied to clipboard
ForwardMessage
Link copied to clipboard
data class ForwardMessage(fromChatId: ChatIdentifier, toChatId: ChatIdentifier, messageId: MessageIdentifier, disableNotification: Boolean) : SimpleRequest<PossiblyForwardedMessage> , MessageAction
Content copied to clipboard
GetUpdates
Link copied to clipboard
data class GetUpdates(offset: UpdateIdentifier?, limit: Int, timeout: Seconds?, allowed_updates: List<String>?) : SimpleRequest<List<Update>>
Content copied to clipboard
SetPassportDataErrors
Link copied to clipboard
data class SetPassportDataErrors(user: UserId, errors: List<PassportElementError>) : SimpleRequest<Boolean>
Content copied to clipboard
StopPoll
Link copied to clipboard
data class StopPoll(chatId: ChatIdentifier, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup?) : MessageAction, SimpleRequest<Poll> , ReplyMarkup
Content copied to clipboard