Releases: vendelieu/telegram-bot
Releases · vendelieu/telegram-bot
8.0.0
- Reorganized project structure (imports may be broken).
- Removed deprecated methods, sendAsync > sendReturning.
- Removed deprecated annotation parameters (rateLimits, guard, etc.) use separate annotations.
- Added
dice
method withDiceEmoji
parameter. - Fixed non-latin text parsing #346.
- Added new plugin parameter
autoAnswerCallback
to control auto-answering of callback queries by default. - Added compiler plugin that helps to autocomplete with
send()
actions from function context parameters. - Changed
Action
interface from chains toChainAction
to distinguish betweenChainAction
andAction
.
7.9.0
- Supported Telegram API 8.3.
- Added
isAccessible
andaccessibleOrNull()
toMaybeInaccessibleMessage
to make easier handling. - Added
handleLoggingProvider
parameter to plugin, to give option to disable handling of logging provider. - Added warnings when helper annotations used for inappropriate handlers.
7.8.0
7.7.1
7.7.0
- Added
ktorJvmEngine
parameter to plugin with option to choose ktor engine. - Added
onHandlerException
for spring starter bot configuration, to cover exceptions thrown by update handler. - Added extension for
String
for escaping formatting,escapeFormatting(parseMode)
,escapeMarkdown
,
escapeMarkdownV2
,escapeHTML
.
7.6.2
7.6.1
7.6.0
7.5.0
- Supported Telegram API 8.0.
- Extend/add annotations for utility handler mechanisms (guard, rateLimits, argParser), add ability to tag a class to
affect all methods within it. - Added
autoAnswer
to@CommandHandler.CallbackQuery
, to answer callback queries automatically before handler. - Logging has been moved to the ktor logging utility (nothing much has changed, just removed some unnecessary
dependencies). WebApp.initData
checkString
extension function moved toktgram-utils
module.