All Versions
88
Latest Version
Avg Release Cycle
5 days
Latest Release
126 days ago

Changelog History
Page 5

  • v0.24.1 Changes

    • TelegramBotAPI:
      • UpdateReceiver was replaced to the package com.github.insanusmokrassar.TelegramBotAPI.updateshandlers
      • All functions inside com.github.insanusmokrassar.TelegramBotAPI.utils.extensions.UpdatesPolling are deprecated and will be removed in some soon versions. Their replacement are able inside TelegramBotAPI-extensions-api
      • UpdatesFilter is interface for now
        • Previous UpdatesFilter class was renamed to SimpleUpdatesFilter and for backward compatibility was added builder function UpdatesFilter, which will be removed in near releases
        • FlowsUpdatesFilter now implements UpdatesFilter
      • BaseSentMessageUpdate and BaseEditMessageUpdate interfaces was added
        • EditChannelPostUpdate now is implementing BaseEditMessageUpdate interface
        • EditMessageUpdate now is implementing BaseEditMessageUpdate interface
        • ChannelPostUpdate now is implementing BaseSentMessageUpdate interface
        • MessageUpdate now is implementing BaseSentMessageUpdate interface
      • UpdatesPoller and all its usages, childs and childs usages now are deprecated
      • GetUpdates#timeout type now is Seconds (in fact it is Int as previously)
      • KtorRequestsExecutor now is using a copy of incoming HttpClient object and install HttpTimeout feature
        • AbstractRequestCallFactory now setting up a custom delay in case if request is GetUpdates
    • TelegramBotAPI-extensions-api:
      • All functions from com.github.insanusmokrassar.TelegramBotAPI.utils.extensions.UpdatesPolling now available in package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.updates.UpdatesPolling
      • Now new method of getting updates available: startGettingUpdates with UpdatesFilter as incoming first parameter
      • startGettingUpdates with receiver and allowedUpdates parameters now will handle updates by itself
  • v0.24.0 Changes

    • TelegramBotAPI:
      • All suspend functions for RequestsExecutor was removed (due to replacement into [TelegramBotAPI extensions project](TelegramBotAPI-extensions-api/README.md))
      • ForwardFromChannelInfo#channelChat now is ChannelChat instead of Chat
    • TelegramBotAPI-extensions-api:
      • Most part of sending media messages functions was removed and replaced with their InputFile args analogs
  • v0.23.3 Changes

    API Extensions

    • Project created
    • For SendPhoto was added new functions for uploading of MultipartFile
    • deleteWebhook extension for RequestsExecutor was added

    Telegram Bot API

    • All RequestsExecutor extensions related to Telegram Bots API was replaced into API Extensions project
  • v0.23.2 Changes

    • ๐Ÿ›  Fixes in InputMedia - media field was not included to serialization
  • v0.23.1 Changes

    • ๐Ÿ”– Versions updates:
      • Klock 1.8.6 -> 1.8.7
      • Ktor 1.3.0 -> 1.3.1
    • โšก๏ธ Now it is possible to get updates by polling with custom executor engine
    • CommonMultipartFileRequest now is internal
    • โž• Added LiveLocation class for more useful tracking live locations
    • InvoiceOfPayment is renamed to InvoiceContent and now is MessageContent instead of PaymentInfo
    • SendInvoice now return ContentMessage<InvoiceContent>
    • paymentInfo inside of CommonMessageImpl now can be set only to SuccessfulPaymentInfo
    • Added RecordVideoNoteAction and UploadVideoNoteAction for record_video_note and upload_video_note actions
    • For most part of messages was added RequestsExecutor extensions for more useful way of usage
    • toInputFile extensions now will return more exact types
    • โšก๏ธ Now it is possible to send broadcast channels size for FlowsUpdatesFilter
  • v0.23.0 Changes

    • ๐Ÿ“Š Poll now is sealed class
      • RegularPoll type was added to represent polls with type regular
      • QuizPoll type was added to represent polls with type quiz
      • UnknownPollType type was added to represent polls which are unknown in current version
    • AnonymousPollOption was renamed to SimplePollOption
    • SendPoll was rewritten as sealed class
      • SendRegularPoll was created and represent sendPoll method with type regular
      • SendQuizPoll was created and represent sendPoll method with type quiz
    • ๐Ÿ“Š Poll#createRequest extension was added
    • โšก๏ธ PollAnswerUpdate type of update was added
      • PollAnswer type was added
      • UpdatesFilter now support work with PollAnswerUpdate
    • language field in PreTextSource now correctly passed from telegram MessageEntities
    • KeyboardButton now is sealed class
      • Fixed problem of incorrect representation of this class (any type of request can be created separately)
      • Added new types of KeyboardButton:
        • UnknownKeyboardButton
        • SimpleKeyboardButton
        • RequestContactKeyboardButton
        • RequestLocationKeyboardButton
        • RequestPollKeyboardButton
      • Added new type KeyboardButtonPollType:
        • UnknownKeyboardButtonPollType
        • RegularKeyboardButtonPollType
        • QuizKeyboardButtonPollType
    • User now is sealed class
      • CommonUser was added as representation of default User
      • Bot was added as representation of bot user (it is sealed class)
        • ExtendedBot with additional info
        • CommonBot with simple info
      • GetMe now return ExtendedBot object
      • Now extension javaLocale is extension for CommonUser
  • v0.22.2 Changes

    • cashtag entity type was added
    • Several Unknown* realizations was added:
      • UnknownUpdateType
      • UnknownMessageType
      • UnknownChatType
      • UnknownCallbackQueryType
    • โšก๏ธ UpdatesFilter now have one additional income callback: unknownUpdateTypeCallback
      • createSimpleUpdateFilter can receive one more callback: unknownCallback (for unknownUpdateTypeCallback)
  • v0.22.1 Changes

    • All MediaContent instances now can create their InputMedia analog
    • ๐Ÿ†• New annotation PreviewFeature was added to mark new thing as preview for the time while they can work incorrectly
    • โž• Added links utils:
      • makeLinkToMessage have two signatures - for direct creating using username and for abstract creating using chat id
  • v0.22.0 Changes

    • KtorCallFactory must return HttpStatement instead of HttpClientCall
    • ๐Ÿ—„ SendMessage was renamed to SendTextMessage and previous SendMessage is deprecated
    • All AbleToBe* interfaces was renamed to Possibly*
      • AbleToBeEditedMessage -> PossiblyEditedMessage
      • AbleToBeForwardedMessage -> PossiblyForwardedMessage
      • AbleToBeMarkedUp -> PossiblyMarkedUp
      • AbleToBeEditedMessage -> PossiblyEditedMessage
    • ForwardedMessage type was renamed to ForwardInfo
      • AnonymousForwardedMessage -> AnonymousForwardInfo
      • UserForwardedMessage -> UserForwardInfo
      • ForwardedFromChannelMessage -> ForwardFromChannelInfo
      • PossiblyForwardedMessage#forwarded field now renamed to forwardInfo
    • All serializers in library now are internal. If you have used some of them or I have marked as internal by a mistake - don't hesitate to say this.
    • EditChatMessage now have generic type and extends SimpleRequest<ContentMessage<GenericType>>
    • ResendableContent now extends Request<out Message> instead of Request<Message>
    • Most part of requests have changed return type. They are listed below:

      • ForwardMessage
      • GetChatAdministrators
      • EditChatMessageLiveLocation
      • StopChatMessageLiveLocation
      • EditChatMessageText
      • EditChatMessageCaption
      • EditChatMessageMedia
      • EditChatMessageReplyMarkup
      • SendAnimation
      • SendAudio
      • SendContact
      • SendLocation
      • SendTextMessage
      • SendPoll
      • SendVenue
      • SendGame
      • SendDocument
      • SendMediaGroup
      • SendPhoto
      • SendVideo
      • SendVideoNote
      • SendVoice
      • SendSticker
    • ๐Ÿ”„ Changed type of createResend

      • GameContent
      • LocationContent
      • PollContent
      • TextContent
      • VenueContent
      • AnimationContent
      • AudioContent
      • DocumentContent
      • ContactContent
      • PhotoContent
      • VideoContent
      • VideoNoteContent
      • VoiceContent
      • StickerContent
    • ๐Ÿ”– Version updates:

      • Ktor 1.2.6 -> 1.3.0
  • v0.21.0 Changes

    • All MessageEntity'es now are replaced with TextPart
    • โž• Added support of strikethrough and underline
      • Added UnderlineTextSource
      • Added StrikethroughTextSource
      • Added support in RawMessageEntity
    • โž• Added support of MarkdownV2
    • ๐Ÿ‘ป Now will not be thrown exception when there is income unknown type of RawMessageEntity. Instead of this will be created RegularTextSource with the same text
    • ๐Ÿ›  Fixed problem that usually string formatting did not trigger escaping of control characters
    • Actualized work with pre type of text - now it is possible to use language for formatting of text
    • โœ‚ Removed constructor of TextMentionTextSource, which was deprecated previously
    • All TelegramMediaFile instances now have field fileUniqueId, which represents file_unique_id field from API
    • Now ChatPhoto have two additional fields: smallFileUniqueId and bigFileUniqueId
    • Now any administrator object instance have customTitle nullable field
    • โž• Added the new request SetChatAdministratorCustomTitle to manage the custom titles of administrators promoted by the bot.
    • โž• Added the field slowModeDelay to the ExtendedSupergroupChat objects.

    • CaptionedInput now have extension fullEntitiesList which will return list of TextPart with RegularSource's

    • TextPart added - it will be used as part of some text and can be not related to telegram bot

    • MultilevelTextSource was added - it is type of TextSource, which can have subsources as parts of this text

    • ๐ŸŽ In all TextSources all fields now are lazy for avoiding of potential risk for performance issues

    • โšก๏ธ Updates in versions:

      • Coroutines 1.3.2 -> 1.3.3
      • Klock 1.8.0 -> 1.8.6
      • UUID 0.0.6 -> 0.0.7