All Versions
185
Latest Version
Avg Release Cycle
5 days
Latest Release
-

Changelog History
Page 13

  • v0.27.9 Changes

    • Common
      • Versions updates:
        • Gradle Wrapper: 6.5-all -> 6.5.1-bin
        • Coroutines: 1.3.7 -> 1.3.8
        • Klock: 1.11.3 -> 1.11.14
        • UUID: 0.1.0 -> 0.1.1
  • v0.27.8 Changes

    • TelegramBotAPI:
      • UnknownUpdateType was renamed to UnknownUpdate
      • Refactoring and optimization of FlowsUpdatesFilter
      • Venue type was replaced to a new package: com.github.insanusmokrassar.TelegramBotAPI.types.venue.Venue
      • Venue type now implements Locationed and delegate realisation to its location field
      • FoursquareId and FoursquareType typealiases were added
    • TelegramBotAPI-extensions-utils:
      • Several new functions makeLinkToMessage was added
      • Foursquare data class was added
        • Extension Venue#foursquare was added
        • Factory function Venue with Foursquare parameter was added
  • v0.27.7 Changes

    • TelegramBotAPI:
      • Operator function unaryPlus was added to RowBuilder. Now it is possible to write row { +button }
      • Function flatMatrix was added for single-row columns
      • Operator extension RowBuilder#plus was added to be able to write things like row { this + button }
    • TelegramBotAPI-extensions-api:
      • Extensions RequestsExecutor#sendVenue with Location args were added
    • TelegramBotAPI-extensions-utils:
      • Function InlineKeyboardMarkup for flat keyboards was added
      • Function ReplyKeyboardMarkup for flat keyboards was added
  • v0.27.6 Changes

    • Common:
      • Versions:
        • Kotlin Coroutines: 1.3.6 -> 1.3.7
    • TelegramBotAPI:
      • Interface PossiblySentViaBot has been added
        • Additional interface PossiblySentViaBotCommonMessage was added for more explicit typing declaration for compiler
          • Currently, only ChannelMessage and CommonMessageImpl are implementing the interface PossiblySentViaBotCommonMessage. It could be changed in future
      • Factory buildMimeType was added
      • BuiltinMimeTypes was added
      • Abstraction ThumbedWithMimeTypeInlineQueryResult with thumbMimeType field was added
        • InlineQueryResultGif and InlineQueryResultMpeg4Gif now extend ThumbedWithMimeTypeInlineQueryResult instead of ThumbedInlineQueryResult
    • TelegramBotAPI-extensions-utils:
      • New extensions onlyCommonMessages, onlySentViaBot and withoutSentViaBot was added
  • v0.27.5 Changes

    • Common:
      • Versions:
        • Klock: 1.11.1 -> 1.11.3
    • TelegramotAPI:
      • Fix: for sending requests caption and text lengths limits were updated
      • New variant of row was added
      • makeLinkToMessage extensions has been deprecated (replaced into TelegramBotAPI-extensions-utils)
      • Next things was deprecated and replaced into TelegramBotAPI-extensions-utils:
        • All String formatting public extensions and functions
        • All extensions like CaptionedInput#toHtmlCaptions
        • All helper extensions for List<BaseMessageUpdate>
        • All RequestsExecutor#executeAsync and RequestsExecutor#executeUnsafe
      • BotCommand now more strictly check commands which passed to it
        • Regex BotCommandNameRegex was added
    • TelegramBotAPI-extensions-api:
      • A lot of RequesstExecutor#getChat extensions was added for more explicit types showing
      • New RequesstExecutor#setMyCommands extension was added
      • New field BotBuilder#ktorClientEngineFactory introduced
        • Field BotBuilder#ktorClientEngine now is deprecated
    • TelegramBotAPI-extensions-utils:
      • safely function was introduced. It is in PreviewFeature state currently
      • makeLinkToMessage extensions has been added
      • makeLinkToAddStickerSet function and its variations were added
      • Next tools was added from TelegramBotAPI:
        • All String formatting extensions and functions
        • All extensions like CaptionedInput#toHtmlCaptions
        • All helper extensions for List<BaseMessageUpdate>
          • Several new extensions for SentMediaGroupUpdate were added:
            • SentMediaGroupUpdate#forwardInfo
            • SentMediaGroupUpdate#replyTo
            • SentMediaGroupUpdate#chat
            • SentMediaGroupUpdate#mediaGroupId
          • Several List<MediaGroupMessage>.createResend extensions were added
        • RequestsExecutor#executeAsync and RequestsExecutor#executeUnsafe
  • v0.27.4 Changes

    • TelegramBotAPI-extensions-utils:
      • Several extensions for updates was added:
        • onlyBaseMessageUpdates
        • onlySentMessageUpdates
        • onlyEditMessageUpdates
        • onlyMediaGroupsUpdates
        • onlySentMediaGroupUpdates
        • onlyEditMediaGroupUpdates
      • Renames in chat filters extensions:
        • filterBaseMessageUpdates -> filterBaseMessageUpdatesByChatId and filterBaseMessageUpdatesByChat
        • filterSentMediaGroupUpdates -> filterSentMediaGroupUpdatesByChatId and filterSentMediaGroupUpdatesByChat
  • v0.27.3 Changes

    • TelegramBotAPI:
      • UpdateDeserializationStrategy is publicly available now
      • All setWebhook extensions was marked as deprecated, renamed and replaced into TelegramBotAPI-extensions-utils
      • Typealias ExceptionHandler was added - it will be used for handleSafely
      • SetWebhook factories signatures was changed (backward compatibility was not broken)
      • executeUnsafe now working differently
        • Now it is possible to pass exceptions handler into executeUnsafe
      • BasketballDiceAnimationType was added
      • UnknownDiceAnimationType now is deprecated due to renaming - currently it is typealias for CustomDiceAnimationType
        • CustomDiceAnimationType now is data class instead of common class
      • FlowsUpdatesFilter will use size 64 by default for internal broadcast channels
    • TelegramBotAPI-extensions-api:
      • Long Polling extensions now are deprecated in this project. It was replaced into TelegramBotAPI-extensions-utils
      • Several telegramBot functions was renamed into telegramBotWithCustomClientConfig
      • Add one more setWebhookInfo realisation
    • TelegramBotAPI-extensions-utils:
      • Extension toTelegramUpdate was added
      • Long Polling extensions were added
      • Updates utils were added
      • New extensions startListenWebhooks, setWebhookInfoAndStartListenWebhooks and includeWebhookHandlingInRoute was added
      • New extension CoroutineScope#updateHandlerWithMediaGroupsAdaptation was added
      • New extension flowsUpdatesFilter was added
    • TelegramBotAPI-all:
      • Project was created
  • v0.27.2 Changes

    • Common:
      • Versions:
        • Coroutines: 1.3.5 -> 1.3.6
        • Klock: 1.10.5 -> 1.11.1
    • TelegramBotAPI:
      • Expected class MimeType was added
        • Field MimeTyped#mimeType now typed by MimeType instead of String
      • MediaGroupMemberInputMedia children now can be deserialized (but only those ones who are declared inside library)
    • TelegramBotAPI-extensions-utils:
      • Chat events splitters added:
        • Extension Flow<ChatEventMessage>#onlyChannelEvents was added
        • Extension Flow<ChatEventMessage>#onlyGroupEvents was added
        • Extension Flow<ChatEventMessage>#onlySupergroupEvents was added
  • v0.27.1 Changes

    • TelegramBotAPI:
      • Interface Explained and subsinterfaces ExplainedInput and ExplainedOutput was added
        • Class QuizPoll now implement ExplainedInput
        • In QuizPoll#caption and QuizPoll#captionEntities are deprecated now
        • Class SendQuizPoll now implement ExplainedOutput
        • In SendQuizPoll#caption is deprecated now
      • explanationLimit range was added as future replacement of quizPollExplanationLimit
        • quizPollExplanationLimit now is deprecated
      • Extensions toMarkdownExplanations, toMarkdownV2Explanations and toHtmlExplanations was added
      • Typealias FullTextSourcesList was added
        • All extensions fullEntitiesList now return FullTextSourcesList
        • All extensions of List<TextSource> now are extensions for FullTextSourcesList
    • TelegramBotAPI-extensions-api:
      • sendQuizPoll now is using explanation parameter instead of caption
  • v0.27.0 Changes

    • Common:
      • Versions updates:
        • Kotlin: 1.3.71 -> 1.3.72
        • Klock: 1.10.3 -> 1.10.5
    • TelegramBotAPI:
      • Typealias LongSeconds was added for correct explanation of seconds in Long primitive type
      • Several new fields was added:
        • explanationField
        • explanationEntitiesField
        • openPeriodField
        • closeDateField
      • Extension List<TextPart>#justTextSources was added for mapping of List<TextPart> to List<TextSource>
      • Field SendPoll#closeInfo was added
        • Range openPeriodPollSecondsLimit was added and used in all SendPoll requests for checking income data
      • SendQuizPoll now able to use fields caption and parseMode for explanation functionality
        • quizPollExplanationLimit was added for checking QuizPoll explanation size
      • Field TextLinkTextSource#url was added
      • Field TextMentionTextSource#user was added
      • Sealed class ScheduledCloseInfo was added
        • Class ExactScheduledCloseInfo was added for cases with close_date
        • Class ApproximateScheduledCloseInfo was added for cases with open_period
      • Field Poll#scheduledCloseInfo was added
      • Sealed class MultipleAnswersPoll was added
        • Class RegularPoll now extends MultipleAnswersPoll
      • Dice class was replaced into new package
      • Sealed class DiceAnimationType was added
        • Field Dice#animationType was added as emoji API representation
        • SendDice now receive animationType as second parameter
      • For List<TextSource> was added several extensions:
        • toMarkdownCaptions
        • toMarkdownTexts
        • toMarkdownV2Captions
        • toMarkdownV2Texts
        • toHtmlCaptions
        • toHtmlTexts
    • TelegramBotAPI-extensions-api:
      • All RequestsExecutor#sendDice extensions now accept DiceAnimationType? as second parameter
      • All RequestsExecutor#sendRegularPoll extensions now accept ScheduledCloseInfo fourth parameter
      • All RequestsExecutor#sendQuizPoll extensions now accept additional parameters caption: String and parseMode: ParseMode for explanation functionality and closeInfo: ScheduledCloseInfo? for autoclose poll functionality
    • TelegramBotAPI-extensions-utils:
      • Several shortcuts for ScheduledCloseInfo was added:
        • closePollExactAt
        • closePollExactAfter
        • closePollAfter