Releases: InsanusMokrassar/ktgbotapi
Releases · InsanusMokrassar/ktgbotapi
0.38.4
This update contains including of Telegram Bot API 5.7
Core
:- Support of new fields
Sticker
- Support of new fields
StickerSet
- Support of new fields in creating of sticker set and sticker
- Support of new fields
Utils
:- Rename
PathedFile
to avoid clash with core file (fix of #529)
- Rename
0.38.3
Common
:Version
:MicroUtils
:0.9.1
->0.9.2
Klock
:2.4.10
->2.4.12
UUID
:0.3.1
->0.4.0
API
- New extensions
TelegramBot#send*
for media groups with contents
- New extensions
0.38.2
Common
:Version
:MicroUtils
:0.9.0
->0.9.1
API
- New extensions
TelegramBot#copyMessages
for media groups
- New extensions
0.38.1
Core
:MessageCallbackQuery
(and all implementers as well) has changed the type ofmessage
: now it isContentMessage<MessageContent>
instead ofMessage
- New type
ForwardFromPublicChatInfo
as extender ofForwardInfo
:ForwardFromChannelInfo
now extendsForwardFromPublicChatInfo
ForwardFromSupergroupInfo
now extendsForwardFromPublicChatInfo
- New type of events:
UserLoggedIn
Utils
:- (#511) New extensions properties (raw fields as in original API) for several types have been added:
Message
CallbackQuery
ChosenInlineResult
InlineQuery
Poll
- (#511) New extensions properties (raw fields as in original API) for several types have been added:
0.38.0
This update contains Telegram Bot API 5.6 implementation
This update contains migration onto Kotlin 1.6
This update has changed constructors of all CommonMessage
implementations
Common
:Version
:Kotlin
:1.5.31
->1.6.10
Coroutines
:1.5.2
->1.6.0
Serialization
:1.3.1
->1.3.2
Klock
:2.4.8
->2.4.10
Ktor
:1.6.5
->1.6.7
MicroUtils
:0.8.7
->0.9.0
Core
:- Add
SpoilerTextSource
(as part ofTelegram Bot API 5.6
update) - Add support of
protect_content
as a fieldprotectContent
in all send message requests and parameter in all
functions related to that requests (as part ofTelegram Bot API 5.6
update) - ALL IMPLEMENTERS OF
CommonMessage
HAS CHANGED THEIR CONSTRUCTOR: NOW THEY GEThasProtectedContent
instead of
forwardable
(inversed) fieldChannelContentMessageImpl
ChannelMediaGroupMessage
CommonMediaGroupMessage
GroupContentMessage
implementersConnectedFromChannelGroupContentMessageImpl
UnconnectedFromChannelGroupContentMessageImpl
AnonymousGroupContentMessageImpl
CommonGroupContentMessageImpl
PrivateContentMessageImpl
- Add
0.37.4
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
0.37.3
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
0.37.2
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
0.37.1
Common
:Version
:Serialization
:1.3.0
->1.3.1
Klock
:2.4.7
->2.4.8
MicroUtils
:0.8.1
->0.8.2
0.37.0 Telegram Bot API 5.4
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