Recent Releases of https://github.com/InsanusMokrassar/ktgbotapi
https://github.com/InsanusMokrassar/ktgbotapi - 28.0.1
Version:Kotlin:2.2.0->2.2.10MicroUtils:0.26.2->0.26.3Ktor:3.2.2->3.2.3
Core:- Let all
OptionallyMessageThreadRequestinheritors to use@EncodeDefaultannotation to fix default value passing
- Let all
- Kotlin
Published by InsanusMokrassar 9 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 28.0.0
THIS UPDATE CONTAINS BREAKING CHANGES
Core:- Add
firstOfextension
- Add
BehaviourBuilder:- All builders for behaviours got boolean
useDefaultSubcontextInitialAction - Add opportunity to pass
BehaviourContextDatainDefaultBehaviourContextconstructor andcopymethod - By default, commands to other bots will be ignored in triggers and waiters
- All builders for behaviours got boolean
- Kotlin
Published by InsanusMokrassar 10 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 27.1.2
Core:- Try to fix cancelling on timeout for long polling
- Since this update phrase
Something web wrongwill not happen from this library ����
- Kotlin
Published by InsanusMokrassar 10 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 27.1.1
Version:MicroUtils:0.26.1->0.26.2
Core:- Make
BusinessLocation#locationoptional (fix of #990)
- Make
- Kotlin
Published by InsanusMokrassar 10 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 27.1.0
Core:- Improve support of local bot api servers files. Next call factories will try to resolve file locally before real call:
- DownloadFileRequestCallFactory.kt (for DownloadFile.kt as well)
- DownloadFileChannelRequestCallFactory.kt (for DownloadFileStream.kt as well)
- Kotlin
Published by InsanusMokrassar 10 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 27.0.0
THIS UPDATE MAY CONTAIN BREAKING CHANGES. IN CASE OF ANY MIGRATION PROBLEMS FEEL FREE TO ASK IN OUR CHAT
Version:Kotlin:2.1.20->2.2.0Serialization:1.8.1->1.9.0Ktor:3.1.3->3.2.2MicroUtils:0.25.7->0.26.1KSLog:1.4.1->1.5.0
Common:- In most
dataclasses with non-public constructors has been addedConsistentCopyVisibilityannotation, preventing public nature in difference with constructor - Absence of several API methods for requests has been fixed
- In most
- Kotlin
Published by InsanusMokrassar 11 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 26.1.0
THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.1
THIS UPDATE MAY CONTAINS BREAKING CHANGES
- Kotlin
Published by InsanusMokrassar 11 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 26.0.0
THIS UPDATE CONTAINS BREAKING CHANGES IN BEHAVIOUR BUILDER AND CORE. BE CAREFUL ON UPDATE
Version:Serialization:1.8.0->1.8.1Coroutines:1.10.1->1.10.2Ktor:3.1.1->3.1.3MicroUtils:0.25.3->0.25.7
Core:- POTENTIALLY BREAKING CHANGE Long polling has been reworked a bit
- BREAKING CHANGE
RequestsExecutorgot propertyRequestsExecutor.Log: KSLog
BehaviourContext:- BREAKING CHANGE All triggers and waiters become non-suspend functions
- BREAKING CHANGE Behaviour of counted extensions (commands, data callback queries, etc.) has been changed a bit: now each one will create subcontext and work in it
- New extension
BehaviourContext.launchInNewSubContextwhich will launch some job in subcontext of receiver
- Kotlin
Published by InsanusMokrassar 12 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 25.0.1
THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.0
Core:- Previously named
Giftnow presented byGift.Regular - Fixes in
MultipartRequestCallFactoryfor correct handling of allMultipartRequest.Commoninheritors Usernamenow can be safely created withUsername.prepare- Add extensions
String.splitFor(Text|Caption|StoryCaption)for preparing several texts for several messages/captions/story captions
- Previously named
- Kotlin
Published by InsanusMokrassar 12 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 25.0.0
THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.0
Core:- Previously named
Giftnow presented byGift.Regular - Fixes in
MultipartRequestCallFactoryfor correct handling of allMultipartRequest.Commoninheritors Usernamenow can be safely created withUsername.prepare- Add extensions
String.splitFor(Text|Caption|StoryCaption)for preparing several texts for several messages/captions/story captions
- Previously named
- Kotlin
Published by InsanusMokrassar 12 months ago
https://github.com/InsanusMokrassar/ktgbotapi - 24.0.2
Version:Kotlin:2.1.10->2.1.20Ktor:3.1.0->3.1.1MicroUtils:0.24.7->0.25.3
DefaultKTgBotAPIKSLogwill dropCancellationExceptions by default- You may configure
DefaultKTgBotAPIKSLogin simple way withSetDefaultKTgBotAPIKSLog BehaviourBuilder:FSM:- Fix chains cancelling on their ends
- Kotlin
Published by InsanusMokrassar about 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 24.0.1
Core:- Now you may upload photos with
EditChatMessageMedia
- Now you may upload photos with
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 24.0.0
THIS UPDATE CONTAINS BREAKING CHANGES IN subcontextUpdatesFilter WORK. TAKE CARE IN MIGRATION
Version:MicroUtils:0.24.6->0.24.7
Core:ForumContentMessagegot propertythreadCreatingInfowhich represents information about topic where message has been sent
BehaviourBuilder:- Fix of overall
subcontextUpdatesFilterbehaviour. In fact, this update will fix its affection on scenaries
- Fix of overall
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 23.2.1
Core:- Fix of
yearfield inBirthdate
- Fix of
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 23.2.0
THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 8.3
Version:MicroUtils:0.24.5->0.24.6Ktor:3.0.3->3.1.0
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 23.1.2
Version:Kotlin:2.1.0->2.1.10Serialization:1.7.3->1.8.0MicroUtils:0.24.4->0.24.5KSLog:1.4.0->1.4.1
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 23.1.1
Version:MicroUtils:0.24.0->0.24.4
Core:- Replace
removeFirstwithremoveAt(0)increateTextSources
- Replace
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 23.1.0
THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 8.2
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 23.0.0
Version:Coroutines:1.9.0->1.10.1MicroUtils:0.23.2->0.24.0KSLog:1.3.6->1.4.0Ktor:3.0.2->3.0.3
Core:- All old factory methods for
TextSources took suffixTextSource. For example:regular->regularTextSource. That has been for excluding names resolution ambiguity with extensions forEntitiesBuilder
- All old factory methods for
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 22.0.0
THIS UPDATE CONTAINS BREAKING CHANGES
IN THIS UPDATE HAS BEEN REWORKED EVENTS API IN WEBAPPS
THIS UPDATE ADDING SUPPORT OF BOT API 8.0 AND BOT API 8.1
Version:MicroUtils:0.23.1->0.23.2Ktor:3.0.1->3.0.2
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 21.0.1
Core:- Improvements in
Update.sourceUserextension - Add extension
PrivateChat.toUser - Builder methods of
TextSources (likeprewhich returnsPreTextSource) lost suppression ofredundant inlinedue to its redundancy - Add
mentionbuilders forEntitiesBuilderwithUserIdas variant instead ofUser
- Improvements in
BehaviourBuilder:- Add support of several rounds for
CombinedSubcontextInitialAction. Now it will try hard to execute all itsSubActionwhile all actions will not be completed successfully OR all left actions will not complete with errors
- Add support of several rounds for
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 21.0.0
Version:Kotlin:2.0.21->2.1.0MicroUtils:0.23.0->0.23.1
BehaviourBuilder:- Add special
val data: BehaviourContextDatainto all realizations ofBehaviourContext - Add
CombinedSubcontextInitialActionand functionsbuildSubcontextInitialAction/buildSubcontextInitialActionWithSubActions - Add
subcontextInitialActionfor all the functions-builders ofBehaviourContextandadditionalSubcontextInitialActionto all triggers
- Add special
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 20.0.1
Core:
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 20.0.0
THIS UPDATE CONTAINS SUPPORT OF BOTS API 7.11
All:- ALL SEND METHODS GOT PARAMETER
allowPaidBroadcastWHICH POTENTIALLY MAY SPEND MONEYS FROM BOT BALANCE
- ALL SEND METHODS GOT PARAMETER
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 19.0.0
THIS UPDATE CONTAINS BREAKING CHANGES
THIS UPDATE CONTAINS UPGRADE UP TO KTOR 3.0 (thanks to @d1snin)
Version:Ktor:2.3.12->3.0.1MicroUtils:0.22.7->0.23.0
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 18.2.3
Core:- Add default middleware
ExceptionsThrottlerTelegramBotMiddleware - Make
TelegramBotMiddlewaresPipelinesHandlerto be defaultTelegramBotPipelinesHandler - Make
DefaultKtorRequestsExecutornow usesrunCatchinginstead ofrunCatchingSafely onRequestResultPresentedlambda now accepts non-nullableresult
- Add default middleware
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 18.2.2
Version:Kotlin:2.0.20->2.0.21MicroUtils:0.22.4->0.22.7
Core:- Fixes in blockquotes serializations
- Now
RawMessageEntityis public. It is still underWarningannotation and is subject of changes
BehaviourBuilder:- Add
CommonMessageFilterExcludeCommandto filter commands in messages - Add
minusoperation forSimpleFilters
- Add
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 18.2.1
Version:Serialization:1.7.2->1.7.3Coroutines:1.8.1->1.9.0MicroUtils:0.22.2->0.22.4
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 18.2.0
THIS UPDATE CONTAINS SUPPORT OF BOTS API 7.10
Core:- Customize
GiveawayCreatedto use stars in some cases GiveawayInfolost parameterpremiumMonthsbecause of it is no included by defaultGiveawayPublicResultslost parameterpublicWinnersbecause of its abcence in Telegram Bot API- Fix
GiveawayPublicResultsto be correctly deserializable - Fix
GiveawayPrivateResultsto be correctly deserializable - Fixes in deserialization of updates with giveaways
- Customize
BehaviourBuilder:- Extension
buildBehaviourWithLongPollingwill not report absence of/privacyhandling
- Extension
WebApp:MainButtonhas been deprecated in favor toBottomButton. Their functionality is equal
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 18.1.0
BehaviourBuilder:- Add
createSubContextAndDoSynchronouslyWithUpdatesFilteras old logic ofcreateSubContextAndDoWithUpdatesFilter createSubContextAndDoWithUpdatesFilterhas been renamed tocreateSubContextAndDoAsynchronouslyWithUpdatesFilter
- Add
- Kotlin
Published by InsanusMokrassar over 1 year ago
https://github.com/InsanusMokrassar/ktgbotapi - 18.0.0
THIS UPDATE CONTAINS BREAKING CHANGES
This update contains solution for issue #888, made by @Nik-mmzd
Migration (step-by-step)
Replace in a whole project:
RestrictedChatMember->RestrictedMemberChatMemberBannedChatMember->RestrictedChatMember
Changes:
Version:Kotlin:2.0.10->2.0.20Serialization:1.7.1->1.7.2MicroUtils:0.22.0->0.22.2KSLog:1.3.5->1.3.6Ktor:2.3.11->2.3.12
Core:RestrictedChatMemberhas been renamed toRestrictedMemberChatMemberBannedChatMemberhas been renamed toRestrictedChatMemberKickedChatMembernow implementsRestrictedChatMember(due to rename)- All
ChatMembers now usePreviewUsers instead ofUsers
Utils:- Add a lot of extensions like
ChatMember.isMember - Add a lot of extensions like
ChatMemberUpdated.joinedChat
- Add a lot of extensions like
- Kotlin
Published by InsanusMokrassar almost 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 17.0.0
THIS UPDATE CONTAINS SUPPORT OF BOTS API 7.9
- Add support of subscriptions links handling
- Add support of info about sender chat. It is important, that for channels will be actual
senderChatinstead offromfield due toUsertype of the last one. You also may use extensionsMessage.sender_chatorAny.withSenderChatMessageOrNullto access sender chat - Add
Reaction.Paid
Additional changes:
Core:- Add top level interfaces
OptionallyWithUserandOptionallyFromUser. OldWithUserandFromUserinterfaces extending them with following overrides ofuserandfromfields
- Add top level interfaces
API:- Change order of delay and sending action in SendActionDSL (thanks to DRSchlaubi, PR #833). Besides, there has been changed way to create parallel sending of action and it must not lead to memory leaks anymore
- Kotlin
Published by InsanusMokrassar almost 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 16.0.0
THIS UPDATE CONTAINS KOTLIN UPDATE UP TO 2.0
Version:Kotlin:1.9.23->2.0.10Serialization:1.6.3->1.7.1MicroUtils:0.21.2->0.22.0KSLog:1.3.4->1.3.5
- Kotlin
Published by InsanusMokrassar almost 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 15.3.0
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.8
Core:OptionallyBusinessConnectionRequestnow extendsWithOptionalBusinessConnectionId- Add
hasMainWebAppinExtendedBot
API:- Add
BusinessConnectionIdto pin/unpin methods
- Add
WebApp:- Add
shareToStoryinWebApp
- Add
- Kotlin
Published by InsanusMokrassar almost 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 15.2.0
API:- Enabled an
explicit modeforAPImodule (PR #876)
- Enabled an
WebApps:- Built-in
onClickandoffClickofMainButtonbecome public (PR #875) - Old
MainButton.onClickextension has been removed to avoid collisions of types
- Built-in
- Kotlin
Published by InsanusMokrassar almost 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 15.1.0
THIS UPDATE CONTAINS BREAKING CHANGES
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.7 (thanks to bpavuk)
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.6 (with participation and help of bpavuk)
- Add support of paid media
- Update web apps
Version:MicroUtils:0.21.1->0.21.2
Core:TelegramMediahas been separated onto two interfaces:TelegramFreeMediaandTelegramPaidMediaTelegramFreeMediahas replacedTelegramMediaon all old places where it have been usedPhotohas been renamed toPhotoFile
BehaviourBuilder:- Add notification when handling of
/privacycommand is absence - Add several extensions to simplify setting up
/privacyreaction
- Add notification when handling of
- Kotlin
Published by InsanusMokrassar almost 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 15.0.0
THIS UPDATE CONTAINS BREAKING CHANGES
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.5
Version:MicroUtils:0.21.0->0.21.1
- A lot of
editmethods and classes has been changed to support business connection id
- Kotlin
Published by InsanusMokrassar almost 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 14.1.0
Version:Coroutines:1.8.0->1.8.1Ktor:2.3.10->2.3.11MicroUtils:0.20.45->0.21.0KSLog:1.3.3->1.3.4
BehaviourBuilder:BehaviourContextupdates listening job will be weakly subscribed. It means thatBehaviourContextscope will not be prevented from cancelling by this job anymoreBehaviourContext.doInContextwill not stop automatically currentBehaviourContextjob anymoreBehaviourContext.createSubContextAndDoWithUpdatesFilterwill usesupervisorScopeinstead ofLinkedSupervisorScope. That will prevent scope leaking in runtime
- Kotlin
Published by InsanusMokrassar almost 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 14.0.1
- In
coreandapimodules related to invoices changed their APIs to suite current API
- Kotlin
Published by InsanusMokrassar almost 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 14.0.0
Add support of Telegram Bots API 7.4
THIS UPDATE CONTAINS BREAKING CHANGES
Core:TelegramPaymentChargeIdhas been added as value class and replaced raw strings inSuccessfulPaymenttype oftelegramPaymentChargeId
- All the methods/classes related to sending of messages got
effectIdparameter - All the methods/classes related to sending of photos/animations/videos got
showCaptionAboveMediaparameter
- Kotlin
Published by InsanusMokrassar about 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 13.0.0
Add support of Telegram Bots API 7.3
THIS UPDATE CONTAINS BREAKING CHANGES
Core:- For polls,
textSourcesnow meansquestiontext sources. ForQuizPollthere areexplanationandexplanationTextSourcesfor hinting
- For polls,
API:- A lot of API related to
Polls has been changed to include opportunity to passParseModeandTextSources list
- A lot of API related to
- Kotlin
Published by InsanusMokrassar about 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 12.0.1
Version:Ktor:2.3.9->2.3.10MicroUtils:0.20.39->0.20.45UUID:0.8.2->0.8.4
- Kotlin
Published by InsanusMokrassar about 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 12.0.0
Add support of Telegram Bots API 7.2
THIS UPDATE CONTAINS A LOT OF BREAKING CHANGES
- Kotlin
Published by InsanusMokrassar about 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 11.0.0
THIS UPDATE CONTAINS REMOVES OF DEPRECATED THINGS
THIS UPDATE CONTAINS A LOT OF BREAKING CHANGES
Core:MessageIdnow isvalue class.MessageIdentifierbecome deprecatedMessageThreadIdnow isvalue classInlineQueryIdentifiernow isvalue classMediaGroupIdentifierhas been renamed toMediaGroupIdand now isvalue classCallbackQueryIdentifierhas been renamed toCallbackQueryIdand now isvalue classWebAppQueryIdnow isvalue classPreCheckoutQueryIdnow isvalue classFileUniqueIdhas been renamed toTgFileUniqueIdand now isvalue classUpdateIdentifierhas been renamed toUpdateIdand now isvalue classInlineMessageIdentifierhas been renamed toInlineMessageIdand now isvalue classShippingQueryIdentifierhas been renamed toShippingQueryIdand now isvalue classIdentifierhas been renamed toRawChatIdand now isvalue classShippingOptionIdentifierhas been renamed toShippingOptionIdand now isvalue classPollIdentifierhas been renamed toPollIdand now isvalue classStickerSetNamenow isvalue class
- Kotlin
Published by InsanusMokrassar about 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 10.1.1
Version:Serialization:1.6.2->1.6.3MicroUtils:0.20.34->0.20.37Korlibs:5.3.1->5.3.2
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 10.1.0
Add support of Telegram Bots API 7.1
Version:Coroutines:1.7.3->1.8.0MicroUtils:0.20.32->0.20.34
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 10.0.1
Version:Ktor:2.3.7->2.3.8MicroUtils:0.20.26->0.20.32Korlibs:5.3.0->5.3.1KSLog:1.3.1->1.3.2
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 10.0.0
Add support of Telegram Bots API 7.0
IN THIS UPDATE KLOCK DEPENDENCY CHANGED TO com.soywiz.korge:korlibs-time UP TO 5.3.0 VERSION
IN THIS UPDATE KRYPTO DEPENDENCY CHANGED TO com.soywiz.korge:korlibs-crypto UP TO 5.3.0 VERSION
Version:MicroUtils:0.20.23->0.20.26Korlibs:4.0.10->5.3.0
Core:Messagenow inherited by two variants:AccessibleMessageandInaccessibleMessage
Common:- In most places
disableWebPagePreviewhas been replaced by newLinkPreviewOptions - In most places arguments
replyToMessageIdandallowSendingWithoutReplyhas been replaced withReplyParameters - In
replyextension two parameters have been added:replyInChatIdandreplyInThreadId
- In most places
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.4.3
IetfLanguageCode has been renamed to IetfLang in MicroUtils
Version:Kotlin:1.9.21->1.9.22MicroUtils:0.20.19->0.20.23
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.4.2
Version:Serialization:1.6.1->1.6.2Ktor:2.3.6->2.3.7MicroUtils:0.20.15->0.20.19UUID:0.8.1->0.8.2
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.4.1
- Replace warning about two bots from
LongPollingtoDefaultKtorRequestsExecutor
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.4.0
Version:Kotlin:1.9.20->1.9.21Serialization:1.6.0->1.6.1Ktor:2.3.5->2.3.6MicroUtils:0.20.12->0.20.15
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.3.0
This release become possible thanks to Anton Lakotka
THIS RELEASE CONTAINS UPDATES UP TO RELEASE CANDIDATES VERSIONS
UPDATE MAY HAVE BREAKING CHANGES
SINCE THIS UPDATE IT WILL BE REQUIRED TO USE JDK 17+ FOR DEVELOPMENT
Version:Kotlin:1.8.22->1.9.20Serialization:1.5.1->1.6.0KorLibs:4.0.3->4.0.10UUID:0.7.1->0.8.1Ktor:2.3.4->2.3.5MicroUtils:0.19.9->0.20.12
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.2.4
Utils:- New extensions
*.parseCommandsWithNamedArgs
- New extensions
BehaviourBuilder:- In expectaters and triggers of
commandsadd*WithNamedArgsvariants - In expectaters and triggers of
commandsadd opportunity to use custom separator
- In expectaters and triggers of
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.2.3
Core:- Fix in
VoiceContent#createResend
- Fix in
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.2.2
Core:- Fix of #793: Add
PreviewChat
- Fix of #793: Add
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.2.1
Version:Ktor:2.3.3->2.3.4
Core:- All
ChatMemberinheritors have fixesstatusfield
- All
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.2.0
Add support of Telegram Bots API 6.9
- Rename
ChatAdministratorRightsImpl->ChatCommonAdministratorRights - All the request chat keyboards has changed their parameters
ChatAdministratorRightstoChatCommonAdministratorRights
- Kotlin
Published by InsanusMokrassar over 2 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.1.2
Core:- Fix of
MessageContentserialization
- Fix of
- Kotlin
Published by InsanusMokrassar almost 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.1.1
Core:- Potential fix of incorrect parsing in
RawMessageEntity
- Potential fix of incorrect parsing in
- Kotlin
Published by InsanusMokrassar almost 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.1.0
This update contains adding of Telegram Bot API 6.8 support
Version:Coroutines:1.7.2->1.7.3Ktor:2.3.2->2.3.3MicroUtils:0.19.7->0.19.9
- Kotlin
Published by InsanusMokrassar almost 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 9.0.0
THIS UPDATE CONTAINS BREAKING CHANGES: USERNAMES OF BOTS NOW BECAME NULLABLE
Version:Coroutines:1.6.4->1.7.1Ktor:2.3.1->2.3.2MicroUtils:0.19.4->0.19.7
Core:- All bots now have nullable usernames just like common users (#772)
- Decrease possible errors in updates handling by additional handling of update deserialization wrapping (#773)
- New interface
GetUpdatesRequest. You may implement it to show default telegram bot ktor executor that this request is an updates request and should be handled in a different way- Now it is possible to get raw updates with
GetUpdatesRawrequest
- Now it is possible to get raw updates with
Utils:- Improve extension
Update.sourceChatto add opportunity to select some chats by logic different with the default
- Improve extension
- Kotlin
Published by InsanusMokrassar almost 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 8.1.0
PARTIALLY BREAKING CHANGES: Exclude .*Impl classcasts from ClassCastsNew
Version:MicroUtils:0.19.2->0.19.4
Utils:- Add deep links formatting for internal
tg://prefix (thanks to @klimatov) - Exclude
.*Implclasscasts fromClassCastsNew
- Add deep links formatting for internal
- Kotlin
Published by InsanusMokrassar almost 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 8.0.1
Version:UUID:0.7.0->0.7.1Ktor:2.3.0->2.3.1MicroUtils:0.19.1->0.19.2
- Kotlin
Published by InsanusMokrassar almost 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 8.0.0
THIS UPDATE CONTAINS BREAKING CHANGES
ALL PROJECT DEPRECATIONS HAVE BEEN REMOVED
IN THIS UPDATE KORLIBS HAVE BEEN UPDATED TO VERSION 4.0.2. SINCE THAT VERSION A LOT OF PACKAGES HAVE BEEN RENAMED.
MIGRATIONS USED IN THIS LIB:
com.soywiz.klock->korlibs.timecom.soywiz.krypto->korlibs.cryptoVersions:Korlibs:3.4.0->4.0.3MicroUtils:0.18.4->0.19.1
- Kotlin
Published by InsanusMokrassar about 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 7.1.3
Versions:Serialization:1.5.0->1.5.1MicroUtils:0.18.1->0.18.4
Core:- Actualize kdocs in
InputFile
- Actualize kdocs in
BehaviourBuilder:- Now it is possible to use
waitMediaContent/waitMediaContentMessage/onMediaContent - Add
onMention/waitMentionfunctionality - Add opportunity to map content with extensions to
Flow
- Now it is possible to use
- Kotlin
Published by InsanusMokrassar about 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 7.1.2
Versions:MicroUtils:0.18.0->0.18.1
Core:- Now it is possible to serialize
Stickers
- Now it is possible to serialize
- Kotlin
Published by InsanusMokrassar about 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 7.1.1
Versions:Kotlin:1.8.20->1.8.21MicroUtils:0.17.8->0.18.0
Utils:- Fixes in
makeLinkToMessage
- Fixes in
- Kotlin
Published by InsanusMokrassar about 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 7.1.0
This update contains changes according to the Telegram Bot API 6.7
API:- Rename
editMessageCaptiontoeditMessageMediadue to wrong old naming - Add
editextensions forInlineMessageIdentifiers
- Rename
BehaviourBuilder:BehaviourContextextensionsonDeepLinkandwaitDeepLinksnow can be used withRegexorStringas first parameters
- Kotlin
Published by InsanusMokrassar about 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 7.0.2
This update brings experimental support of linuxX64 and mingwX64 platforms
Versions:Kotlin:1.8.10->1.8.20MicroUtils:0.17.5->0.17.8Ktor:2.2.4->2.3.0
Core:- New
RequestsExecutor-MultipleClientKtorRequestsExecutor - Old
KtorRequestsExecutorhas been renamed toDefaultKtorRequestsExecutor KtorRequestsExecutornow isexpect class- On
JS,JVMandMinGWX64platforms it isDefaultKtorRequestsExecutor - On
LinuxX64platform it isMultipleClientKtorRequestsExecutor
- On
- New
- Kotlin
Published by InsanusMokrassar about 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 7.0.1
Core:- New interface
WithChatwhich containschatfieldMessagenow inheritsWithChatChatMemberUpdatednow inheritsWithChat
- New interface
Utils:- Improvements in
same-notations
- Improvements in
- Kotlin
Published by InsanusMokrassar about 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 7.0.0
This update contains support of Telegram Bot API 6.6
THIS VERSION CONTAINS BREAKING CHANGES:
- All previous deprecations have been removed
- Fully reworked mechanism of stickers creating and adding
- All separations of stickers types like
Animetedhave been replaces with typeStickerFormat - New
InputStickertype (and all subtypes) as replacements for old raw fields in methods
- All separations of stickers types like
- Reworked mechanism of files uploading
Other changes
Versions:MicroUtils:0.17.3->0.17.5
- Kotlin
Published by InsanusMokrassar about 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 6.1.0
Versions:MicroUtils:0.17.2->0.17.3
API:- Fix of #732
- Kotlin
Published by InsanusMokrassar about 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 6.0.3
Versions:MicroUtils:0.17.1->0.17.2
Core:UserinCallbackQuerynow isCommonUseras well as infromUserinInlineQuerynow isCommonUseras well as infrom
BehaviourBuilder:- Fixes in
DeepLinktriggers and waiters
- Fixes in
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 6.0.2
Core:- Long polling now uses media groups debounce as in webhooks
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 6.0.1
Versions:Ktor:2.2.3->2.2.4MicroUtils:0.17.0->0.17.1
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 6.0.0
Versions:Kotlin:1.7.22->1.8.10MicroUtils:0.16.10->0.17.0Serialization:1.4.1->1.5.0uuid:0.6.0->0.7.0
Core:*.linkextensions have been deprecated with renaming to avoid collisions withlinkmethods
API:- Add
TelegramBot.resendmethods
- Add
BehaviourBuilder:- Add triggers and waiters for
VisualMediaGroupPartContent
- Add triggers and waiters for
Utils:*.linkextensions have been deprecated with renaming to avoid collisions withlinkmethods
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 5.2.1
Core:- All the
CallbackQueryes now will receiveCommonUserinstead ofUserdue inability of bots to trigger any inline interaction with others bots
- All the
API:- Now
sentMessageFlowwill take each sent message inhandleLiveLocation
- Now
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 5.2.0
Versions:MicroUtils:0.16.8->0.16.10
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 5.1.1
Core:- Add opportunity to get user link with
makeUserLink
- Add opportunity to get user link with
BehaviourBuilder:- Fixes in content waiting expectators
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 5.1.0
Bot API 6.5 support
Core:ChatPermissionsnow is interface and have two main realizations:ChatPermissions.GranularandChatPermissions.CommonRestrictedChatMembernow implementsChatPermissionstoo
API:- Now it is possible to pass all long polling parameters in all places used it
Issues:- Fix of #697
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 5.0.2
Versions:MicroUtils:0.16.6->0.16.8Ktor:2.2.2->2.2.3
BehaviourBuilder:- Fixes in
BehaviourContext.onEditedContentMessage- now it will trigger callback on channel post edits too
- Fixes in
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 5.0.1
Versions:MicroUtils:0.16.4->0.16.6Ktor:2.2.1->2.2.2
Core:- Fixes in
SendMediaGrouprequest - Fixes in
SetChatAdministratorCustomTitlerequest (thanks to @madhead)
- Fixes in
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 5.0.0
Bot API 6.4 support!
- Long-polling improvements
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.2.4
Core:- Fixes in webhook parts adapter
BehaviourBuilderWithFSM:- Fixes in
DefaultBehaviourContextWithFSM
- Fixes in
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.2.3
Versions:MicroUtils:0.16.2->0.16.4
Core:- Simplify default
RequestsLimiter(ExceptionsOnlyLimiter) (thanks to @y9san9 for help)
- Simplify default
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.2.2
Versions:MicroUtils:0.16.0->0.16.2
Core:- Fix of #694: add opportunity to create
ChatIdandChatIdWithThreadIdfromIdChatIdentifier
- Fix of #694: add opportunity to create
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.2.1
Versions:MicroUtils:0.15.0->0.16.0Ktor:2.1.3->2.2.1
Utils:- Improve support of
makeLinkToMessageextensions
- Improve support of
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.2.0
Versions:Kotlin:1.7.21->1.7.22MicroUtils:0.14.4->0.15.0
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.1.3
Versions:MicroUtils:0.14.2->0.14.4
Core:ContentMessage,CommonMessage,PossiblyMediaGroupMessageandPossiblySentViaBotCommonMessagegotoutvarianceUserIdnow isChatIdinstead ofIdChatIdentififer
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.1.2
Versions:MicroUtils:0.14.1->0.14.2
BehaviourBuilder:- Fixes in
CallbackQuerywaiters
- Fixes in
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.1.1
Core:- Add opportunity to create
IdChatIdentifierwith optionalthreadId - New serializer
FullChatIdentifierSerializerwith serialization ofChatIdWithThreadId
- Add opportunity to create
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.1.0
Versions:Kotlin:1.7.20->1.7.21MicroUtils:0.14.0->0.14.1Korlibs:3.3.1->3.4.0UUID:0.5.0->0.6.0
Core:- All the chats identifiers has been rewritten as value classes
- New chat identifier:
ChatIdWithThreadId RawMessagewill createChatIdWithThreadIdchat id under the hood by default- All the methods which potentially using
threadIdwill try to take it fromchatId
API:- All default
threadIdnull values has been replaced with auto-calculated threadId from chats/chat ids
- All default
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 4.0.0
!!! THIS UPDATE CONTAINS FULL REWORK OF MEDIA GROUPS FUNCTIONALITY !!!
THIS UPDATE CONTAINS BREAKING CHANGES
Common:- All the media groups have been rewritten. Since this update, there are no separated messages types for media groups,
but new type of content (
MediaGroupContent) has been introduced - Bot API 6.3 support
- All the media groups have been rewritten. Since this update, there are no separated messages types for media groups,
but new type of content (
Versions:MicroUtils:0.13.2->0.14.0
Core:- New requests
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 3.3.1
Versions:Ktor:2.1.2->2.1.3Klock:3.2.0->3.3.1MicroUtils:0.13.1->0.13.2
Utils:- New extensions on
CommonMessage:hasCommandsandhasNoCommands. Useful for theinitialFilterparameter in behaviour builder triggers.
- New extensions on
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 3.3.0
THIS VERSION CONTAINS UPGRADE KOTLIN (AND ALL RELATED LIBRARIES) UP TO 1.7.20
Versions:Kotlin:1.7.10->1.7.20Kotlin Serialization:1.4.0->1.4.1Korlibs:3.1.0->3.2.0MicroUtils:0.12.17->0.13.1
Core:- Add opportunity to create command text source and add command in entities builder
via
BotCommamd(thanks to d1shin)
- Add opportunity to create command text source and add command in entities builder
via
API:- New extensions
TelegramBot#getStickerSetOrNullandTelegramBot#getStickerSetOrThrow- Old
TelegramBot#getStickerSethas been deprecated
- Old
- New extensions
Behaviour Builder:- Add opportunity to use triggers and waiters with
BotCommand(thanks to d1shin)
- Add opportunity to use triggers and waiters with
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 3.2.7
Versions:MicroUtils:0.12.13->0.12.17Ktor:2.1.1->2.1.2
Utils:- Next classes become typealiases instead of classes:
ReplyKeyboardBuilderReplyKeyboardRowBuilderInlineKeyboardBuilderInlineKeyboardRowBuilder
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 3.2.6
Core:- Fixes in
ChatMemberSerializer#serializemethod - Migration of
EntitiesBuilderfromUtilstoCore
- Fixes in
API:- All the extensions related to text messages (replies, sending, editing) got their duplicates with
buildEntitieslambda and separator
- All the extensions related to text messages (replies, sending, editing) got their duplicates with
Utils:- Migration of
EntitiesBuilderfromUtilstoCore
- Migration of
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 3.2.5
Common:- Improve support of new exceptions recovering mechanism
- Kotlin
Published by InsanusMokrassar over 3 years ago
https://github.com/InsanusMokrassar/ktgbotapi - 3.2.4
API:- New
edit's with chats and message ids
- New
- Kotlin
Published by InsanusMokrassar over 3 years ago