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

Changelog History
Page 1

  • v18.0.0-alpha.1 Changes

    February 13, 2022

    Bot API 5.7 (January 31, 2022)

    Bot API 5.6 (December 30, 2021)

    Bot API 5.5 (December 7, 2021)

    ๐Ÿ”„ Changed

    • ApiRequestEventArgs has full request information

    โž• Added

    • Requests CreateNewVideoStickerSetRequest, AddVideoStickerToSetRequest, BanChatSenderChatRequest, UnbanChatSenderChatRequest
    • Extension methods TelegramBotClientExtensions.CreateNewVideoStickerSetAsync, TelegramBotClientExtensions.AddVideoStickerToSetAsync, TelegramBotClientExtensions.BanChatSenderChatRequestAsync, TelegramBotClientExtensions.UnbanChatSenderChatRequestAsync
    • Property int? MessageAutoDeleteTime to class Chat
    • Property bool? HasPrivateForwards to class Chat
    • Property bool? HasProtectedContent to class Chat
    • Property int? MessageAutoDeleteTime to class Message
    • Property bool? IsAutomaticForward to class Message
    • Property bool? HasProtectedContent to class Message
    • Property bool? ProtectContent to following requests:
      • SendLocationRequest
      • SendVenueRequest
      • CopyMessageRequest
      • ForwardMessageRequest
      • SendAnimationRequest
      • SendAudioRequest
      • SendContactRequest
      • SendDiceRequest
      • SendDocumentRequest
      • SendMediaGroupRequest
      • SendMessageRequest
      • SendPhotoRequest
      • SendPollRequest
      • SendVideoNoteRequest
      • SendVideoRequest
      • SendVoiceRequest
    • Property IsVideo to class Sticker
    • Property IsVideo to class StickerSet
    • 0๏ธโƒฃ Parameter bool? protectContent = default to following methods:
      • TelegramBotExtensions.SendLocationRequestAsync
      • TelegramBotExtensions.SendVenueRequestAsync
      • TelegramBotExtensions.CopyMessageRequestAsync
      • TelegramBotExtensions.ForwardMessageRequestAsync
      • TelegramBotExtensions.SendAnimationRequestAsync
      • TelegramBotExtensions.SendAudioRequestAsync
      • TelegramBotExtensions.SendContactRequestAsync
      • TelegramBotExtensions.SendDiceRequestAsync
      • TelegramBotExtensions.SendDocumentRequestAsync
      • TelegramBotExtensions.SendMediaGroupRequestAsync
      • TelegramBotExtensions.SendMessageRequestAsync
      • TelegramBotExtensions.SendPhotoRequestAsync
      • TelegramBotExtensions.SendPollRequestAsync
      • TelegramBotExtensions.SendVideoNoteRequestAsync
      • TelegramBotExtensions.SendVideoRequestAsync
      • TelegramBotExtensions.SendVoiceRequestAsync
    • Enum member MessageEntityType.Spoiler

    ๐Ÿ”„ Changed

    • Method TelegramBotClient.MakeRequestAsync is made virtual
    • Class CreateNewStickerSetRequest renamed to CreateNewStaticStickerSetRequest
    • Class CreateNewStickerSetRequest is made abstract
    • Class AddStickerToSetRequest renamed to AddStaticStickerToSetRequest
    • Class AddStickerToSetRequest is made abstract
    • Method TelegramBotClientExtensions.AddStickerToSetAsync is renamed to AddStaticStickerToSetAsync
    • Method TelegramBotClientExtensions.CreateNewStaticStickerSetAsync is renamed to CreateNewStaticStickerSetAsync

    ๐Ÿ›  Fixed

    • DeleteWebhookRequest parameters are now properly serializing
    • โž• Added missing json attribute to property ChatInviteLink.Name

    โœ‚ Removed

    • ๐Ÿšš Parameter untilDate is removed from TelegramBotClientExtensions.BanChatSenderChatAsync
    • ๐Ÿšš Property UntilDate is removed from BanChatSenderChatRequest
  • v17.0.0 Changes

    November 17, 2021
    • ๐Ÿš€ v17 release
  • v17.0.0-alpha.5 Changes

    November 12, 2021

    โž• Added

    • โž• Added missing JSON attributes on types ApproveChatJoinRequest and DeclineChatJoinRequest
    • Types ApproveChatJoinRequest and DeclineChatJoinRequest implement IChatTargetable interface
  • v17.0.0-alpha.4 Changes

    November 06, 2021

    Bot API 5.4 (November 5, 2021)

    โž• Added

    • Request ApproveChatJoinRequest
    • Request DeclineChatJoinRequest
    • Property bool? CreateChatInviteLinkRequest.CreatesJoinRequest
    • Property string? CreateChatInviteLinkRequest.Name
    • Property bool? EditChatInviteLinkRequest.CreatesJoinRequest
    • Property string? EditChatInviteLinkRequest.Name
    • Property bool ChatInviteLink.CreatesJoinRequest
    • Property int? ChatInviteLink.PendingJoinRequestCount
    • Type ChatJoinRequest
    • โšก๏ธ Property ChatJoinRequest Update.ChatJoinRequest
    • Enum member ChatAction.ChooseSticker
    • Extension method TelegramBotClientExtensions.ApproveChatJoinRequestAsync
    • Extension method TelegramBotClientExtensions.DeclineChatJoinRequestAsync

    ๐Ÿ”„ Changed

    • Extension method TelegramBotClientExtensions.EditChatInviteLinkAsync:
      • Added parameters string? name and bool? createsJoinRequest
    • Extension method TelegramBotClientExtensions.CreateChatInviteLinkAsync:
      • Added parameters string? name and bool? createsJoinRequest

    ๐Ÿ”„ Changed

    • Fields ChatId.Identifier and ChatId.Username changed into get-only properties
  • v17.0.0-alpha.3 Changes

    September 01, 2021

    ๐Ÿ”„ Changed

    • ๐Ÿšš Method GetInfoAndDownloadFileAsync moved into static class TelegramBotClientExtensions as an extension method
    • ๐Ÿ“ฆ Symbols are always include in the package
  • v17.0.0-alpha.2 Changes

    September 01, 2021

    โž• Added

    • ๐Ÿ“œ Interface IExceptionsParser
    • Type ApiResponse
    • ๐Ÿ“œ Property ITelegramBotClient.ExceptionsParser
  • v17.0.0-alpha.1 Changes

    June 13, 2021

    Bot API 5.3 (June 25, 2021)

    โž• Added

    • Enum InputMediaType
    • Type BanCommandScope
    • 0๏ธโƒฃ Type BanCommandScopeDefault
    • Type BanCommandScopeAllPrivateChats
    • Type BanCommandScopeAllGroupChats
    • Type BanCommandScopeAllChatAdministrators
    • Type BanCommandScopeChat
    • Type BanCommandScopeChatAdministrators
    • Type BanCommandScopeChatMember
    • Enum BanCommandScopeType
    • Type ChatMemberOwner
    • Type ChatMemberAdministrator
    • Type ChatMemberMember
    • Type ChatMemberRestricted
    • Type ChatMemberLeft
    • Type ChatMemberBanned
    • Request BanChatMemberRequest
    • Request BanChatMemberRequest
    • Request DeleteMyCommandsRequest
    • Request GetChatMemberCountRequest
    • Method ITelegramBotClient.DeleteMyCommandsAsync
    • Method ITelegramBotClient.BanChatMemberAsync
    • Method ITelegramBotClient.GetChatMemberCountAsync
    • Property BotCommandScope GetMyCommandsRequest.Scope { get; set; }
    • Property string GetMyCommandsRequest.LanguageCode { get; set; }
    • Property BotCommandScope SetMyCommandsRequest.Scope { get; set; }
    • Property string SetMyCommandsRequest.LanguageCode { get; set; }
    • Property IRequest<TResponse>.IsWebhookResponse { get; set; }
    • Protected constructor InputMediaBase that accepts InputMedia
    • Protected constructor InputTelegramFile that accepts FileType
    • Property string ForceReplyMarkup.InputFieldPlaceholder { get; set; }
    • Property string ReplyKeyboardMarkup.InputFieldPlaceholder { get; set; }
    • Enum EncryptedPassportElementType
    • Interface IChatTargetable
    • Interface IUserTargetable

    ๐Ÿ”„ Changed

    • Type InlineQueryResultBase renamed to InlineQueryResult
    • Type ChatMember is made abstract
    • Property ChatMember.Status is made abstract
    • 0๏ธโƒฃ Every use of enum ParseMode is made nullable to represent default text mode without any markup
    • Type KickChatMemberRequest is marked as obsolete
    • Type GetChatMembersCountRequest is marked as obsolete
    • Method ITelegramBotClient.KickChatMemberAsync is marked as obsolete
    • Method ITelegramBotClient.GetChatMembersCountAsync is marked as obsolete
    • All underlying enum values changed to start from 1 instead of 0. 0 value are reserved for unknown enum values.
    • ๐Ÿšš Type ChatMember is made abstract and it's properties are moved into separate inheriting classes
    • ๐Ÿ”„ Changed parameters in ITelegramBotClient.GetMyCommandsAsync: added parameters BotCommandScope scope and string language
    • ๐Ÿ”„ Changed parameters in ITelegramBotClient.SetMyCommandsAsync: added parameters BotCommandScope scope and string language
    • Type of property IInputMedia.Type changed from string to InputMediaType
    • Property InputFileStream.FileType is no longer virtual
    • Constructor of type InputFileStream that accepts both Stream content and string fileName: filename parameter is made optional
    • Constructor of type InputOnlineFile that accepts both Stream content and string fileName: filename parameter is made optional
    • Constructor of type InputTelegramFile that accepts both Stream content and string fileName: filename parameter is made optional
    • Property InputMediaBase.Type is made abstract
    • Protected setter InputTelegramFile.FileId is made private protected
    • Type of property EncryptedPassportElement.Type changed from string to EncryptedPassportElementType
    • All optional types are made nullable be it value or reference types

    โœ‚ Removed

    • Public setter ChatMember.Status
    • 0๏ธโƒฃ Enum member ParseMode.Default
    • Enum members ChatAction.RecordAudio and ChatAction.UploadAudio
    • Protected setter from property InputFileStream.Content
    • Constructor of type InputFileStream that accepts only Stream
    • Constructor of type InputOnlineFile that accepts only Stream
    • Constructor of type InputTelegramFile that accepts only Stream
    • Property setter InputMediaBase.Media
    • Protected setter InputOnlineFile.Url
    • All obsolete types, methods and properties related to polling events
    • Following interfaces: ICaptionEntities, IEntities, IFormattableEntities, IInlineMessage, IInlineReplyMarkupMessage, INotifiableMessage, IReplyMarkupMessage, IReplyMessage, IThumbMediaMessage, ICaptionInlineQueryResult, ILocationInlineQueryResult, IThumbnailInlineQueryResult, IThumbnailUrlInlineQueryResult
  • v16.0.2 Changes

    August 16, 2021

    ๐Ÿ›  Fixed

    • Parameter name ChatLocation.String replaced with ChatLocation.Address
  • v16.0.1 Changes

    July 10, 2021

    ๐Ÿ›  Fixed

    • ITelegramBotClient.SendDocumentAsync passed wrong value into DisableContentTypeDetection property
  • v16.0.0 Changes

    June 13, 2021

    ๐Ÿ”„ Changed

    • Animation inherits from FileBase
    • All custom exceptions are marked as obsolete