All Versions
46
Latest Version
Avg Release Cycle
46 days
Latest Release
468 days ago
Changelog History
Page 4
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
- ๐ New enum member
-
v14.4.0 Changes
May 17, 2018๐ Changed
MakeRequestAsync
throwsApiRequestException
withErrorCode = HttpStatusCode.Unauthorized
andMessage = apiResponse.Description
("Unauthorized"), to be consistent with Telegram Bot APITelegramBotClient
ctor does not check API token format: Telegram Bot API does not provide token format specification- โ
TestApiAsync
returnfalse
whenApiRequestException.ErrorCode == 401
(API Token is modified or recalled) - Stop catching user exceptions from event handlers
- ๐ Make
Message.IsForward
property obsolete
๐ Fixed
- ๐
EditMessageTextAsync
passParseMode
to request
-
v14.3.0 Changes
May 05, 2018โ Added
- Implicit cast of
IEnumerable<InlineKeyboardButton>[]
toInlineKeyboardMarkup
- Implicit cast of
InlineKeyboardButton[]
toInlineKeyboardMarkup
- ๐ป Exception
InvalidGameShortNameException
- ๐ป Exception
InvalidQueryIdException
๐ Changed
- Made
callbackGame
parameter ofInlineKeyboardButton.WithCallBackGame
optional - โก๏ธ
Newtonsoft.Json
updated to version11.0.2
๐ Fixed
- Assigining param
foursquareId
ofSendInvoiceAsync
method to its request - Access modifier of abstract class
BadRequestException
andForbiddenException
ctors toprotected
โ Removed
- Parameterless ctor of
InlineKeyboardMarkup
- ๐ป Exception
BotBlockedException
- ๐ป Exception
BotRestrictedException
- ๐ป Exception
MissingParameterException
- ๐ป Exception
NotEnoughRightsException
- ๐ป Exception
WrongChatTypeException
- Implicit cast of
-
v14.2.0-rc Changes
February 24, 2018โ Added
- Property
Message.MediaGroupId
- ๐ Property
ICaptionInlineQueryResult.ParseMode
- ๐ Property
ParseMode
to inline query results with a captionInlineQueryResultPhoto
InlineQueryResultGif
InlineQueryResultCachedMpeg4Gif
InlineQueryResultVideo
InlineQueryResultAudio
InlineQueryResultVoice
InlineQueryResultDocument
InlineQueryResultCachedPhoto
InlineQueryResultCachedGif
InlineQueryResultCachedMpeg4Gif
InlineQueryResultCachedDocument
InlineQueryResultVideo
InlineQueryResultCachedVoice
InlineQueryResultCachedAudio
- Property
-
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 captionSendVideoRequest
SendPhotoRequest
SendAudioRequest
SendDocumentRequest
SendVoiceRequest
- ๐ Property
InputMediaBase.ParseMode
- ๐ Property
SendVideoRequest.SupportsStreaming
- ๐ Property
InputMediaVideo.SupportsStreaming
- Property
Message.ConnectedWebsite
- ๐ Parameter
parseMode
to methodsITelegramBotClient.SendVideoAsync
ITelegramBotClient.SendAudioAsync
ITelegramBotClient.SendPhotoAsync
ITelegramBotClient.SendDocumentAsync
ITelegramBotClient.SendVoiceAsync
- ๐ Parameter
supportsStreaming
to methodITelegramBotClient.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 classInputMessageContentBase
- Access modifier of parameterless ctors of all
InlineQueryResult
andInputMessageContent
types toprivate
๐ Fixed
- ๐ Renamed
InputVenueMessageContent.Name
toInputVenueMessageContent.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 namespaceTelegram.Bot.Types.InlineQueryResults
- โก๏ธ Value names of enums
MessageType
andUpdateType
โ Removed
- Property
File.Stream
- Property
FilePath
from TypesAudio
,Document
,PhotoSize
,Sticker
,Video
,VideoNote
, andVoice
- Property
Message.NewChatMember
- Type
-
v14.0.0-beta Changes
January 03, 2018โ Added
- โ
More
PaymentTests
cases - Type
IKeyboardButton
- Implicit cast of
string[]
toReplyKeyboardMarkup
- Implicit cast of
string[][]
toReplyKeyboardMarkup
- 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
- Type
๐ Changed
- All keyboard button classes inherit
IKeyboardButton
interface - ๐ All keyboard buttons moved to namespace
Telegram.Bot.Types.ReplyMarkups.Buttons
- ๐ Renamed type
ReplyMarkup
toReplyMarkupBase
- ๐ Renamed type
ForceReply
toForceReplyMarkup
InlineQueryResult
to abstract
โ Removed
- All specific
KeyboardButton
types - All specific
InlineKeyboardButton
types - Implicit cast of
InlineKeyboardButton
toKeyboardButton
- Type
InlineQueryResultNew
- Type
InlineQueryResultCached
- Property
InlineQueryResult.Title
- Property
InlineQueryResult.InputMessageContent
- Property
InlineQueryResultAudio.FileId
- JSON serialization attribute
Required.Always
of propertyInlineQueryResultAudio.Duration
๐ Fixed
- 0๏ธโฃ Invalid default value for
SwitchInlineQueryCurrentChat
inInlineKeyboardSwitchInlineQueryCurrentChatButton
constructor
- โ
More
-
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
- Type
IInputFile
- Type
InputFileStream
- Type
InputTelegramFile
- Type
InputOnlineFile
- Type
InputFileConverter
๐ Changed
- โก๏ธ Type of parameter
allowedUpdates
in methodSetWebhookAsync
changed toIEnumerable<UpdateType>
- โก๏ธ Type of parameter
allowedUpdates
in methodGetUpdatesAsync
changed toIEnumerable<UpdateType>
- Type of parameter
offset
in methodGetUserProfilePhotosAsync
changed toint
- Type of parameter
replyMarkup
in methodsEditMessageLiveLocationAsync
changed toInlineKeyboardMarkup
- Type of parameter
replyMarkup
in methodsStopMessageLiveLocationAsync
changed toInlineKeyboardMarkup
- Type of parameter
replyMarkup
in methodEditMessageTextAsync
changed toInlineKeyboardMarkup
- Type of parameter
replyMarkup
in methodEditMessageCaptionAsync
changed toInlineKeyboardMarkup
- Type of parameter
replyMarkup
in methodEditMessageReplyMarkupAsync
changed toInlineKeyboardMarkup
- Type of parameter
replyMarkup
in methodSendGameAsync
changed toInlineKeyboardMarkup
- Type of parameter
replyMarkup
in methodSendInvoiceAsync
changed toInlineKeyboardMarkup
- Type of parameter
prices
in methodSendInvoiceAsync
changed toIEnumerable<LabeledPrice>
- Type of parameter
shippingOptions
in methodAnswerShippingQueryAsync
changed toIEnumerable<ShippingOption>
- Type of parameter
chatId
in methodSendInvoiceAsync
changed toint
- Type of parameter
chatId
in methodSendGameAsync
changed tolong
- Type of parameter
chatId
in methodsSetGameScoreAsync
changed tolong
- Type of parameter
chatId
in methodsGetGameHighScoresAsync
changed tolong
- Type parameter of type
SendMediaGroupRequest
changed toMessage[]
- โ
Return type of method
GetChatIdFromTesterAsync
inTestFixture
changed toTask<long>
- โ
Type of property
TesterPrivateChatId
on typePaymentTestsFixture
changed tolong
- Replace method
EditInlineMessageTextAsync
with overload forEditMessageTextAsync
- Replace method
EditInlineMessageCaptionAsync
with overload forEditMessageCaptionAsync
- Replace method
EditInlineMessageReplyMarkupAsync
with overload forEditMessageReplyMarkupAsync
- Reorder parameters of method
SendInvoiceAsync
- Divide
AnswerShippingQueryAsync
method into two overloads - Divide
AnswerPreCheckoutQueryAsync
method into two overloads - Method
CreateNewStickerSetAsnyc
renamed toCreateNewStickerSetAsync
- Method return type changed from
Task<bool>
toTask
:- 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
- Method
- Type of
StickerSet.Stickers
fromList<Sticker>
toSticker[]
- Type of
ChatMember
properties to nullable e.g.bool
tobool?
- Type of
Message.Entities
fromList<MessageEntity>
toMessageEntity[]
- Type of
Message.CaptionEntities
fromList<MessageEntity>
toMessageEntity[]
- Type of
Message.EntityValues
fromList<string>
toIEnumerable<string>
- Type
InputMediaType
toInputMedia
- Type
InputMediaTypeConverter
toInputMediaConverter
- ๐ Changed member type from
FileToSend
to an implementation ofIInputFile
- Parameter
certificate
of methodSetWebhookAsync
- Parameter
photo
of methodSendPhotoAsync
- Parameter
video
of methodSendVideoAsync
- Parameter
videoNote
of methodSendVideoNoteAsync
- Parameter
document
of methodSendDocumentAsync
- Parameter
sticker
of methodSendStickerAsync
- Parameter
pngSticker
of methodUploadStickerFileAsync
- Parameter
pngSticker
of methodCreateNewStickerSetAsync
- Parameter
pngSticker
of methodAddStickerToSetAsync
- Parameter
photo
of methodSetChatPhotoAsync
- Parameter
audio
of methodSendAudioAsync
- Parameter
โ Removed
- Type
FileToSend
- Interface
IResponse
- Type parameter constraint from interface
IRequest
- Redundant parameter
editMessage
in methodsSetGameScoreAsync
- ๐ Redundant custom converter
ParseModeConverter
- โก๏ธ Value
All
fromUpdateType
enum - Value
Unknown
fromFileType
enum - 0๏ธโฃ Default value of parameter
url
of methodSetWebhookAsync
- Property
Width
ofVideoNote
- Property
Height
ofVideoNote
- Property
Zoom
ofMaskPosition
๐ Fixed
- Method
SetWebhookAsync
interfaceITelegramBotClient
returnsbool
on success - Passing wrong
chatId
value in methodGetGameHighScoresAsync
- Passing wrong
chatId
value in methodSendGameAsync
- Passing wrong
chatId
value in methodSendInvoiceAsync
- Passing wrong
replyMarkup
value in methodSendGameAsync
- Passing wrong
replyMarkup
value in methodSendInvoiceAsync
- Passing wrong
replyMarkup
value in methodEditMessageLiveLocationAsync
- Passing wrong
replyMarkup
value in methodEditMessageReplyMarkupAsync
- Passing wrong
replyMarkup
value in methodEditMessageCaptionAsync
- Passing wrong
replyMarkup
value in methodEditMessageTextAsync
- Passing wrong
replyMarkup
value in methodStopMessageLiveLocationAsync
- Passing wrong
pngSticker
value in methodUploadStickerFileAsync
- Passing wrong
photo
value in methodSetChatPhotoAsync
- Passing wrong
certificate
value in methodSetWebhookAsync
- Incorrect spelling of the method
CreateNewStickerSetAsync
- โ
TestApiAsync()
throws exception instead of returningfalse
- Request classes
-
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