Telegram.Bot v14.0.0-alpha0 Release Notes
Release Date: 2017-12-31 // over 6 years ago-
โ 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