Releases: InsanusMokrassar/ktgbotapi
Releases · InsanusMokrassar/ktgbotapi
0.31.0
THIS UPDATE CONTAINS BREAKING CHANGES
Common
:- ALL DEPRECATIONS CREATED SINCE 0.30.0 WERE REMOVED
Behaviour Builder
:- Extension
TelegramBot#buildBehaviour
have changed its return value: now it isJob
instead of
FlowsUpdatesFilter
- Extension
Utils
- New extensions
TelegramBot#longPolling
were added as new recommended way to start getting updates via long
polling- Old extensions
RequestsExecutor#startGettingFlowsUpdatesByLongPolling
has been deprecated
- Old extensions
- New extensions
0.30.13
Common
:Version
:MicroUtils
:0.4.15
->0.4.16
Core
:- New variable
FlowsUpdatesFilter#allUpdatesWithoutMediaGroupsGroupingFlow
which will contains updates without
SentMediaGroupUpdate
- New variable
Utils
:- Extensions for
ResendableContent
has been added - Extensions for
TextSource
has been added
- Extensions for
Behaviour Builder
:- Project has been created :)
0.30.12
0.30.11
Common
:Version
:MicroUtils
:0.4.11
->0.4.15
Klock
:2.0.1
->2.0.3
Ktor
:1.4.3
->1.5.0
Core
:- All bot actions got functions for short calling, like
recordVideo
forRecordVideoNote
- All bot actions got class-cast shortcuts
- All bot actions got functions for short calling, like
0.30.10
Common
:Version
:Kotlin
:1.4.20
->1.4.21
Klock
:2.0.0
->2.0.1
Ktor
:1.4.2
->1.4.3
MicroUtils
:0.4.6
->0.4.11
API Extensions
:- New function
buildBot
- New function
0.30.9
Common
:Version
:UUID
:0.2.2
->0.2.3
Coroutines
:1.4.1
->1.4.2
MicroUtils
:0.4.3
->0.4.6
Core
:- Add
BowlingDiceAnimationType
- Add
0.30.8
Common
:Version
:Kotlin
:1.4.10
->1.4.20
Klock
:1.12.1
->2.0.0
MicroUtils
:0.4.1
->0.4.3
0.30.7
Common
:Version
:MicroUtils
:0.4.0
->0.4.1
Core
:TelegramAPIUrlsKeeper
will fix ending of host url since this version- New mechanisms in
PowLimiter
andCommonLimiter
has been added - New builder
KtorRequestsExecutorBuilder
- New function
telegramBot
- New function
Utils
:- Simple function
telegramBot(TelegramAPIUrlsKeeper)
has been deprecated with replacement by almost the same
function inCore
- Simple function
0.30.6
Core
TextSource
properties has been renamed:asMarkdownSource
->markdown
asMarkdownV2Source
->markdownV2
asHtmlSource
->html
PrivateChat
overrideid
property with typeUserId
- Several new extensions and functions in links creation:
- New function
makeUsernameLink
with parameterString
- New extension
Username#link
and functionmakeLink(Username)
- New extension
- Function
makeLinkToMessage
now able to get any type of chat- New extension
Message#link
- New extension
- Old functions
makeLinkToAddStickerSet...
has been deprecated:makeLinkToAddStickerSet
makeLinkToAddStickerSetInMarkdownV2
makeLinkToAddStickerSetInMarkdown
makeLinkToAddStickerSetInHtml
- New function
0.30.5
Common
:Version
:MicroUtils
:0.3.3
->0.4.0
Core
:- Mechanism of
ChatMember
serialization has been changed- Since this version any
ChatMember
can be serialized (even outside in case it marked by@Serializable
) - Since this version any
ChatMember
(included in this project) can be deserialized in common way
- Since this version any
User
propertyid
has changed its type: now it isUserId
(under the hood it is the same asChatId
)
- Mechanism of