All Versions
186
Latest Version
Avg Release Cycle
5 days
Latest Release
-
Changelog History
Page 7
Changelog History
Page 7
-
v0.37.4 Changes
Common
:Version
:MicroUtils
:0.8.7
->0.8.9
Core
:- New
SupergroupEvent
subtype:MigratedToSupergroup
. This event is sent when a group is converted to a supergroup while bot is in the group. - Helper extenstion functions on
ChatEvent
to cast it toMigratedToSupergroup
.
- New
-
v0.37.3 Changes
Core
:- Fixes in hierarchy (and creating) of messages from channels
0.37.2
changelog:โก๏ธ This update contains Telegram Bot API 5.5 implementation
Common
:Version
:MicroUtils
:0.8.2
->0.8.7
Core
:- New request type:
ChatSenderRequest
- New request
BanChatSenderChat
- New request
UnbanChatSenderChat
- New request
ExtendedPrivateChat
got new properties:hasPrivateForwards
andallowCreateUserIdLink
(same ashasPrivateForwards
)- All
ContentMessage
got fieldforwardable
(old constructors marked asDeprecated
) FromChannelGroupContentMessage
has been divided for two interfaces (and corresponding classes):ConnectedFromChannelGroupContentMessage
(andConnectedFromChannelGroupContentMessageImpl
) for connected to the group channels messagesUnconnectedFromChannelGroupContentMessage
(andUnconnectedFromChannelGroupContentMessageImpl
) for unconnected channels
- New request type:
API
:- New extensions
TelegramBot#banChatSenderChat
- New extensions
TelegramBot#unbanChatSenderChat
- New extensions
Utils
:- Fix of
EntitiesBuilder#linkln
- Fix of
-
v0.37.2 Changes
Common
:Version
:MicroUtils
:0.8.2
->0.8.7
Core
:- New request type:
ChatSenderRequest
- New request
BanChatSenderChat
- New request
UnbanChatSenderChat
- New request
ExtendedPrivateChat
got new properties:hasPrivateForwards
andallowCreateUserIdLink
(same ashasPrivateForwards
)- All
ContentMessage
got fieldforwardable
(old constructors marked asDeprecated
) ChannelContentMessage
has been divided for two interfaces (and corresponding classes):ConnectedChannelContentMessage
(andConnectedChannelContentMessageImpl
) for connected to the group channels messagesUnconnectedChannelContentMessage
(andUnconnectedChannelContentMessageImpl
) for unconnected channels
- New request type:
API
:- New extensions
TelegramBot#banChatSenderChat
- New extensions
TelegramBot#unbanChatSenderChat
- New extensions
Utils
:- Fix of
EntitiesBuilder#linkln
- Fix of
-
v0.37.1 Changes
Common
:Version
:Serialization
:1.3.0
->1.3.1
Klock
:2.4.7
->2.4.8
MicroUtils
:0.8.1
->0.8.2
-
v0.37.0 Changes
๐ ALL DEPRECATIONS WERE REMOVED
Common
:Version
:Klock
:2.4.6
->2.4.7
Ktor
:1.6.4
->1.6.5
MicroUtils
:0.7.3
->0.8.1
Core
:- Replacement of simple
CreateChatInviteLink
andEditChatInviteLink
with several new:CreateChatInviteLinkSimple
CreateChatInviteLinkWithLimitedMembers
CreateChatInviteLinkWithJoinRequest
EditChatInviteLinkSimple
EditChatInviteLinkWithLimitedMembers
EditChatInviteLinkWithJoinRequest
- New
BotAction
:ChooseStickerAction
- Now requester will throw exceptions related to responses decoding directly instead of wrapping in
RequestException
- Replacement of simple
BehaviourBuilder FSM
:- Incompatible changes (now generics are used in state machines)
strictlyOn
andonStateOrSubstate
now are part ofBehaviourContextWithFSMBuilder
-
v0.36.1 Changes
Common
:Version
:MicroUtils
:0.7.2
->0.7.3
API
:- Fix
getMyCommands
overloads conflict when no arguments provided
- Fix
Utils
:buildEntities
DSL now have parameterseparator
to specifyTextSource
that will be inserted between other sources
-
v0.36.0 Changes
๐ ALL PREVIOUS DEPRECATIONS HAVE BEEN REMOVED ๐ฆ ALL EXTENSION PACKAGES HAS BEEN RENAMES. Old packages are still available, but will be removed in next major update:
tgbotapi.extensions.api
->tgbotape.api
tgbotapi.extensions.utils
->tgbotape.utils
๐
tgbotapi.extensions.behaviour_builder
->tgbotape.behaviour_builder
Common
:Version
:Serialization
:1.2.2
->1.3.0
MicroUtils
:0.5.28
->0.7.2
Klock
:2.4.3
->2.4.6
Ktor
:1.6.3
->1.6.4
Core
:PrivateContentMessageImpl#paymentInfo
now is deprecated and will always be nullPayInlineKeyboardButton#pay
now is deprecatedRowBuilder
andMatrixBuilder
now are open and available for extendingMatrixBuilder#matrix
will return read-only new list instead of original internalmutMatrix
- Introduced new type of events
SuccessfulPaymentEvent
instead of putting of payment inside of message - New type of events union:
PublicChatEvent
.CommonEvent
is still union of anyChatEvent
- New
AbstractFlowsUpdatesFilter
with defaultlazy
realization for all typed flows FlowsUpdatesFilter
fun now haveonBufferOverflow
andupstreamUpdatesFlow
as incoming paramsDefaultFlowsUpdatesFilter
now use additionalupstreamUpdatesFlow
as source of updates
Utils
:- Two new dsl:
inlineKeyboard
for creatingInlineKeyboardMarkup
replyKeyboard
for creatingReplyKeyboardMarkup
- Cast helpers for
Message
(thanks to madhead):asPossiblyReplyMessage
: tries to cast aMessage
toPossiblyReplyMessage
, returnsnull
if the message is not of that typerequirePossiblyReplyMessage
: casts aMessage
toPossiblyReplyMessage
, fails if the message is not of that typewhenPossiblyReplyMessage
: tries to cast aMessage
toPossiblyReplyMessage
and runs the given block of code with it, if the cast is successful
- New type
WithUser
for unioning of all types withuser
FromUser
now extendsWithUser
- Cast helpers for type
WithUser
:asWithUser
,whenWithUser
,requireWithUser
- Two new dsl:
๐
Behaviour Builder
:- New expecters and waiters:
waitShippingQueries
/onShippingQuery
waitPreCheckoutQueries
/onPreCheckoutQuery
waitChosenInlineResult
/onChosenInlineResult
waitPollUpdates
/onPollUpdates
- New expecters and waiters:
๐
Behaviour Builder FSM extension
:
-
v0.35.9 Changes
Common
:Version
:Kotlin
:1.5.30
->1.5.31
Klock
:2.4.1
->2.4.2
MicroUtils
:0.5.25
->0.5.28
Core
:- New
BotAction
implementation -CustomBotAction
LocationContent
has been divided to two different types:LiveLocationContent
andStaticLocationContent
- New
API
:- Two new extensions:
TelegramBot#answer
withCallbackQuery
andInlineQuery
- Two new extensions:
- ๐
Behaviour Builder
:- All triggers have been changed to use two filters: filter for in subcontext data and filter for incoming data
- New waiters for edited content
- New extension
BehaviourContext#followLocation
- New factory-functions:
BehaviourContextReceiver
BehaviourContextAndTypeReceiver
BehaviourContextAndTwoTypesReceiver
- Old API for triggers with the flags like
includeFilterByChatInBehaviourSubContext
have been deprecated
-
v0.35.8 Changes
Common
:Version
:MicroUtils
:0.5.24
->0.5.25
UUID
:0.3.0
->0.3.1
Core
:MultipartRequestCallFactory
now will use file name as multipartfilename
parameter instead of generated file id- New extension
MPPFile#asMultipartFile
API
- Fixes in
TelegramBot#withAction
- Fixes in
- ๐
Behaviour Builder
:- New extensions
BehaviourContext#commandWithArgs
andBehaviourContext#onCommandWithArgs
- New extensions
-
v0.35.7 Changes
Common
:Version
:Kotlin
:1.5.21
->1.5.30
Klock
:2.3.3
->2.4.1
Ktor
:1.6.2
->1.6.3
Coroutines
:1.5.1
->1.5.2
MicroUtils
:0.5.21
->0.5.24