All Versions
46
Latest Version
Avg Release Cycle
46 days
Latest Release
814 days ago

Changelog History
Page 4

  • v14.5.0 Changes

    June 06, 2018

    โž• Added

    • ๐Ÿ†• New enum member MessageEntityType.PhoneNumber
    • ๐Ÿ†• New enum member MessageEntityType.Unknown

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ป Exception during deserialization of unknown message entity type
  • v14.4.0 Changes

    May 17, 2018

    ๐Ÿ”„ Changed

    • MakeRequestAsync throws ApiRequestException with ErrorCode = HttpStatusCode.Unauthorized and Message = apiResponse.Description ("Unauthorized"), to be consistent with Telegram Bot API
    • TelegramBotClient ctor does not check API token format: Telegram Bot API does not provide token format specification
    • โœ… TestApiAsync return false when ApiRequestException.ErrorCode == 401 (API Token is modified or recalled)
    • Stop catching user exceptions from event handlers
    • ๐Ÿ‘‰ Make Message.IsForward property obsolete

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ EditMessageTextAsync pass ParseMode to request
  • v14.3.0 Changes

    May 05, 2018

    โž• Added

    • Implicit cast of IEnumerable<InlineKeyboardButton>[] to InlineKeyboardMarkup
    • Implicit cast of InlineKeyboardButton[] to InlineKeyboardMarkup
    • ๐Ÿ‘ป Exception InvalidGameShortNameException
    • ๐Ÿ‘ป Exception InvalidQueryIdException

    ๐Ÿ”„ Changed

    • Made callbackGame parameter of InlineKeyboardButton.WithCallBackGame optional
    • โšก๏ธ Newtonsoft.Json updated to version 11.0.2

    ๐Ÿ›  Fixed

    • Assigining param foursquareId of SendInvoiceAsync method to its request
    • Access modifier of abstract class BadRequestException and ForbiddenException ctors to protected

    โœ‚ Removed

    • Parameterless ctor of InlineKeyboardMarkup
    • ๐Ÿ‘ป Exception BotBlockedException
    • ๐Ÿ‘ป Exception BotRestrictedException
    • ๐Ÿ‘ป Exception MissingParameterException
    • ๐Ÿ‘ป Exception NotEnoughRightsException
    • ๐Ÿ‘ป Exception WrongChatTypeException
  • v14.2.0-rc Changes

    February 24, 2018

    โž• Added

    • Property Message.MediaGroupId
    • ๐Ÿ“œ Property ICaptionInlineQueryResult.ParseMode
    • ๐Ÿ“œ Property ParseMode to inline query results with a caption
      • InlineQueryResultPhoto
      • InlineQueryResultGif
      • InlineQueryResultCachedMpeg4Gif
      • InlineQueryResultVideo
      • InlineQueryResultAudio
      • InlineQueryResultVoice
      • InlineQueryResultDocument
      • InlineQueryResultCachedPhoto
      • InlineQueryResultCachedGif
      • InlineQueryResultCachedMpeg4Gif
      • InlineQueryResultCachedDocument
      • InlineQueryResultVideo
      • InlineQueryResultCachedVoice
      • InlineQueryResultCachedAudio
  • v14.1.0-rc Changes

    February 24, 2018

    โž• Added

    • ๐Ÿ‘Œ Support for Bot API v3.6
    • Override equality comparison for User type
    • ๐Ÿ“œ Property ParseMode to file requests with a caption
      • SendVideoRequest
      • SendPhotoRequest
      • SendAudioRequest
      • SendDocumentRequest
      • SendVoiceRequest
    • ๐Ÿ“œ Property InputMediaBase.ParseMode
    • ๐Ÿ‘ Property SendVideoRequest.SupportsStreaming
    • ๐Ÿ‘ Property InputMediaVideo.SupportsStreaming
    • Property Message.ConnectedWebsite
    • ๐Ÿ“œ Parameter parseMode to methods
      • ITelegramBotClient.SendVideoAsync
      • ITelegramBotClient.SendAudioAsync
      • ITelegramBotClient.SendPhotoAsync
      • ITelegramBotClient.SendDocumentAsync
      • ITelegramBotClient.SendVoiceAsync
    • ๐Ÿ‘ Parameter supportsStreaming to method ITelegramBotClient.SendVideoAsync
    • ๐Ÿ†• New members to enum MessageType
      • WebsiteConnected
      • ChatMembersAdded
      • ChatMemberLeft
      • ChatTitleChanged
      • ChatPhotoChanged
      • MessagePinned
      • ChatPhotoDeleted
      • GroupCreated
      • SupergroupCreated
      • ChannelCreated
      • MigratedToSupergroup
      • MigratedFromGroup
    • ๐Ÿ‘ป Exception MessageIsNotModifiedException

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Changed InputMessageContent to abstract class InputMessageContentBase
    • Access modifier of parameterless ctors of all InlineQueryResult and InputMessageContent types to private

    ๐Ÿ›  Fixed

    • ๐Ÿ“‡ Renamed InputVenueMessageContent.Name to InputVenueMessageContent.Title
    • Property Message.Type returns correct value after group chat migration

    โœ‚ Removed

    • Enum member MessageType.Service
  • v14.0.0-rc Changes

    January 04, 2018

    โž• Added

    • Type InvalidParameterException
    • Type FileBase

    ๐Ÿ”„ Changed

    • ๐Ÿšš Moved all types in namespace Telegram.Bot.Types.InputMessageContents to namespace Telegram.Bot.Types.InlineQueryResults
    • โšก๏ธ Value names of enums MessageType and UpdateType

    โœ‚ Removed

    • Property File.Stream
    • Property FilePath from Types Audio, Document, PhotoSize, Sticker, Video, VideoNote, and Voice
    • Property Message.NewChatMember
  • v14.0.0-beta Changes

    January 03, 2018

    โž• Added

    • โœ… More PaymentTests cases
    • Type IKeyboardButton
    • Implicit cast of string[] to ReplyKeyboardMarkup
    • Implicit cast of string[][] to ReplyKeyboardMarkup
    • Inline query results
      • Type ICaptionInlineQueryResult
      • Type IInputMessageContentResult
      • Type ILocationInlineQueryResult
      • Type IThumbnailInlineQueryResult
      • Type IThumbnailUrlInlineQueryResult
      • Type ITitleInlineQueryResult
      • Constructor with required parameters in InlineQueryResult and all derived classes
      • Property InlineQueryResultVoice.Caption

    ๐Ÿ”„ Changed

    • All keyboard button classes inherit IKeyboardButton interface
    • ๐Ÿšš All keyboard buttons moved to namespace Telegram.Bot.Types.ReplyMarkups.Buttons
    • ๐Ÿ“‡ Renamed type ReplyMarkup to ReplyMarkupBase
    • ๐Ÿ“‡ Renamed type ForceReply to ForceReplyMarkup
    • InlineQueryResult to abstract

    โœ‚ Removed

    • All specific KeyboardButton types
    • All specific InlineKeyboardButton types
    • Implicit cast of InlineKeyboardButton to KeyboardButton
    • Type InlineQueryResultNew
    • Type InlineQueryResultCached
    • Property InlineQueryResult.Title
    • Property InlineQueryResult.InputMessageContent
    • Property InlineQueryResultAudio.FileId
    • JSON serialization attribute Required.Always of property InlineQueryResultAudio.Duration

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ Invalid default value for SwitchInlineQueryCurrentChat in InlineKeyboardSwitchInlineQueryCurrentChatButton constructor
  • v14.0.0-alpha0 Changes

    December 31, 2017

    โž• Added

    • Request classes
      • Type GetUpdatesRequest
      • Type SetWebhookRequest
      • Type DeleteWebhookRequest
      • Type GetWebhookInfoRequest
      • Type GetMeRequest
      • Type SendMessageRequest
      • Type ForwardMessageRequest
      • Type SendPhotoRequest
      • Type SendAudioRequest
      • Type SendDocumentRequest
      • Type SendVideoRequest
      • Type SendVoiceRequest
      • Type SendVideoNoteRequest
      • Type SendLocationRequest
      • Type EditMessageLiveLocationRequest
      • Type EditInlineMessageLiveLocationRequest
      • Type StopMessageLiveLocationRequest
      • Type StopInlineMessageLiveLocationRequest
      • Type SendVenueRequest
      • Type SendContactRequest
      • Type SendChatActionRequest
      • Type GetUserProfilePicturesRequest
      • Type KickChatMemberRequest
      • Type UnbanChatmemberRequest
      • Type RestrictChatMemberRequest
      • Type PromoteChatMemberRequest
      • Type ExportChatInviteLinkRequest
      • Type SetChatPhotoRequest
      • Type DeleteChatPhotoRequest
      • Type SetChatTitleRequest
      • Type SetChatDescriptionRequest
      • Type PinChatMessageRequest
      • Type UnpinChatMessageRequest
      • Type LeaveChatRequest
      • Type GetChatRequest
      • Type GetChatAdministratorsRequest
      • Type GetChatMembersCountRequest
      • Type GetChatMemberRequest
      • Type SetChatStickerSetRequest
      • Type DeleteChatStickerSetRequest
      • Type AnswerCallbackQueryRequest
      • Type EditMessageTextRequest
      • Type EditInlineMessageTextRequest
      • Type EditMessageCaptionRequest
      • Type EditInlineMessageCaptionRequest
      • Type EditMessageReplyMarkupRequest
      • Type EditInlineMessageReplyMarkupRequest
      • Type DeleteMessageRequest
      • Type SendStickerRequest
      • Type GetStickerSetRequest
      • Type SetStickerPositionInSetRequest
      • Type AnswerInlineQueryRequest
      • Type DeleteStickerFromSetRequest
      • Type AddStickerToSetRequest
      • Type CreateNewStickerSetRequest
      • Type SendInvoiceRequest
      • Type AnswerShippingQueryRequest
      • Type AnswerPreCheckoutQueryRequest
      • Type SendGameRequest
      • Type SetGameScoreRequest
      • Type SetInlineGameScoreRequest
      • Type GetGameHighScoresRequest
      • Type GetInlineGameHighScoresRequest
      • Type GetFileRequest
      • Type FileRequestBase
      • Type UploadStickerFileRequest
      • Type INotifiableMessage
      • Type IReplyMessage
      • Type IFormattableMessage
      • Type IInlineMessage
      • Type IReplyMarkupMessage
      • Type IInlineReplyMarkupMessage
    • Type IInputFile
    • Type InputFileStream
    • Type InputTelegramFile
    • Type InputOnlineFile
    • Type InputFileConverter

    ๐Ÿ”„ Changed

    • โšก๏ธ Type of parameter allowedUpdates in method SetWebhookAsync changed to IEnumerable<UpdateType>
    • โšก๏ธ Type of parameter allowedUpdates in method GetUpdatesAsync changed to IEnumerable<UpdateType>
    • Type of parameter offset in method GetUserProfilePhotosAsync changed to int
    • Type of parameter replyMarkup in methods EditMessageLiveLocationAsync changed to InlineKeyboardMarkup
    • Type of parameter replyMarkup in methods StopMessageLiveLocationAsync changed to InlineKeyboardMarkup
    • Type of parameter replyMarkup in method EditMessageTextAsync changed to InlineKeyboardMarkup
    • Type of parameter replyMarkup in method EditMessageCaptionAsync changed to InlineKeyboardMarkup
    • Type of parameter replyMarkup in method EditMessageReplyMarkupAsync changed to InlineKeyboardMarkup
    • Type of parameter replyMarkup in method SendGameAsync changed to InlineKeyboardMarkup
    • Type of parameter replyMarkup in method SendInvoiceAsync changed to InlineKeyboardMarkup
    • Type of parameter prices in method SendInvoiceAsync changed to IEnumerable<LabeledPrice>
    • Type of parameter shippingOptions in method AnswerShippingQueryAsync changed to IEnumerable<ShippingOption>
    • Type of parameter chatId in method SendInvoiceAsync changed to int
    • Type of parameter chatId in method SendGameAsync changed to long
    • Type of parameter chatId in methods SetGameScoreAsync changed to long
    • Type of parameter chatId in methods GetGameHighScoresAsync changed to long
    • Type parameter of type SendMediaGroupRequest changed to Message[]
    • โœ… Return type of method GetChatIdFromTesterAsync in TestFixture changed to Task<long>
    • โœ… Type of property TesterPrivateChatId on type PaymentTestsFixture changed to long
    • Replace method EditInlineMessageTextAsync with overload for EditMessageTextAsync
    • Replace method EditInlineMessageCaptionAsync with overload for EditMessageCaptionAsync
    • Replace method EditInlineMessageReplyMarkupAsync with overload for EditMessageReplyMarkupAsync
    • Reorder parameters of method SendInvoiceAsync
    • Divide AnswerShippingQueryAsync method into two overloads
    • Divide AnswerPreCheckoutQueryAsync method into two overloads
    • Method CreateNewStickerSetAsnyc renamed to CreateNewStickerSetAsync
    • Method return type changed from Task<bool> to Task:
      • Method DeleteWebhookAsync
      • Method KickChatMemberAsync
      • Method LeaveChatAsync
      • Method UnbanChatMemberAsync
      • Method AnswerCallbackQueryAsync
      • Method RestrictChatMemberAsync
      • Method PromoteChatMemberAsync
      • Method StopMessageLiveLocationAsync
      • Method EditMessageTextAsync
      • Method EditMessageCaptionAsync
      • Method EditMessageReplyMarkupAsync
      • Method EditMessageLiveLocationAsync
      • Method DeleteMessageAsync
      • Method AnswerInlineQueryAsync
      • Method AnswerShippingQueryAsync
      • Method AnswerPreCheckoutQueryAsync
      • Method SetGameScoreAsync
      • Method CreateNewStickerSetAsync
      • Method AddStickerToSetAsync
      • Method SetStickerPositionInSetAsync
      • Method DeleteStickerFromSetAsync
      • Method SetChatPhotoAsync
      • Method DeleteChatPhotoAsync
      • Method SetChatTitleAsync
      • Method SetChatDescriptionAsync
      • Method PinChatMessageAsync
      • Method UnpinChatMessageAsync
      • Method SetChatStickerSetAsync
      • Method DeleteChatStickerSetAsync
    • Type of StickerSet.Stickers from List<Sticker> to Sticker[]
    • Type of ChatMember properties to nullable e.g. bool to bool?
    • Type of Message.Entities from List<MessageEntity> to MessageEntity[]
    • Type of Message.CaptionEntities from List<MessageEntity> to MessageEntity[]
    • Type of Message.EntityValues from List<string> to IEnumerable<string>
    • Type InputMediaType to InputMedia
    • Type InputMediaTypeConverter to InputMediaConverter
    • ๐Ÿ”„ Changed member type from FileToSend to an implementation of IInputFile
      • Parameter certificate of method SetWebhookAsync
      • Parameter photo of method SendPhotoAsync
      • Parameter video of method SendVideoAsync
      • Parameter videoNote of method SendVideoNoteAsync
      • Parameter document of method SendDocumentAsync
      • Parameter sticker of method SendStickerAsync
      • Parameter pngSticker of method UploadStickerFileAsync
      • Parameter pngSticker of method CreateNewStickerSetAsync
      • Parameter pngSticker of method AddStickerToSetAsync
      • Parameter photo of method SetChatPhotoAsync
      • Parameter audio of method SendAudioAsync

    โœ‚ Removed

    • Type FileToSend
    • Interface IResponse
    • Type parameter constraint from interface IRequest
    • Redundant parameter editMessage in methods SetGameScoreAsync
    • ๐Ÿ“œ Redundant custom converter ParseModeConverter
    • โšก๏ธ Value All from UpdateType enum
    • Value Unknown from FileType enum
    • 0๏ธโƒฃ Default value of parameter url of method SetWebhookAsync
    • Property Width of VideoNote
    • Property Height of VideoNote
    • Property Zoom of MaskPosition

    ๐Ÿ›  Fixed

    • Method SetWebhookAsync interface ITelegramBotClient returns bool on success
    • Passing wrong chatId value in method GetGameHighScoresAsync
    • Passing wrong chatId value in method SendGameAsync
    • Passing wrong chatId value in method SendInvoiceAsync
    • Passing wrong replyMarkup value in method SendGameAsync
    • Passing wrong replyMarkup value in method SendInvoiceAsync
    • Passing wrong replyMarkup value in method EditMessageLiveLocationAsync
    • Passing wrong replyMarkup value in method EditMessageReplyMarkupAsync
    • Passing wrong replyMarkup value in method EditMessageCaptionAsync
    • Passing wrong replyMarkup value in method EditMessageTextAsync
    • Passing wrong replyMarkup value in method StopMessageLiveLocationAsync
    • Passing wrong pngSticker value in method UploadStickerFileAsync
    • Passing wrong photo value in method SetChatPhotoAsync
    • Passing wrong certificate value in method SetWebhookAsync
    • Incorrect spelling of the method CreateNewStickerSetAsync
    • โœ… TestApiAsync() throws exception instead of returning false
  • v13.4.0 Changes

    December 07, 2017

    โž• Added

    • โœ… Stickers test cases
    • โœ… StickerOwnerUserId parameter to Systems Integration Tests settings
    • ๐Ÿ‘ป Exception ChatNotFoundException
    • ๐Ÿ‘ป Exception ContactRequestException
    • ๐Ÿ‘ป Exception InvalidUserIdException
    • ๐Ÿ‘ป Exception UserNotFoundException
    • ๐Ÿ‘ป Exception InvalidStickerSetNameException
    • ๐Ÿ‘ป Exception InvalidStickerEmojisException
    • ๐Ÿ‘ป Exception InvalidStickerDimensionsException
    • ๐Ÿ‘ป Exception StickerSetNameExistsException
    • ๐Ÿ‘ป Exception StickerSetNotModifiedException

    ๐Ÿ”„ Changed

    • ๐Ÿ“ฆ Include XML docs in NuGet package
  • v13.4.0-rc2 Changes

    November 26, 2017

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ Default snake-cased property name serialization