Starting with version 21.x, changes are documented here:
https://telegrambots.github.io/book/migrate
We keep this library updated to the latest version of Telegram Bot API.
See the latest changes to Bot API here
Bot API 7.0 (December 29, 2023)
Bot API 7.1 (February 16, 2024)
Bot API 7.2 (March 31, 2024)
Bot API 7.3 (May 6, 2024)
Bot Api 7.4 (May 28, 2024)
- API methods on
ITelegramBotClientthat accept request classes with parameters - Interface
IBusinessConnectable - Property
string? BusinessConnectionIdto the following requests:SendMessageRequestSendPhotoRequestSendVideoRequestSendAnimationRequestSendAudioRequestSendDocumentRequestSendStickerRequestSendVideoNoteRequestSendVoiceRequestSendLocationRequestSendVenueRequestSendContactRequestSendPollRequestSendDiceRequestSendGameRequestSendMediaGroupRequestSendChatActionRequestReplaceStickerInSetRequestGetUserChatBoostsRequest
- The following properties to class
Message:SenderBusinessBotBusinessConnectionIdIsFromOfflineTextQuoteSenderBoostCountReplyToStoryBoostAddedLinkPreviewOptionsExternalReplyGiveawayGiveawayCreatedGiveawayWinnersGiveawayCompleted
- The following properties to class
Update:BusinessConnectionBusinessMessageEditedBusinessMessageDeletedBusinessMessagesMessageReactionMessageReactionCountChatBoostRemovedChatBoost
- Members
MessageReaction,MessageReactionCount,BusinessConnection,BusinessMessage,EditedBusinessMessageandDeletedBusinessMessagesto enumUpdateType - The following requests:
GetBusinessConnectionRequestUnpinAllGeneralForumTopicMessagesRequestSetMessageReactionRequestDeleteMessagesRequestForwardMessagesRequestCopyMessagesRequest
- Properties
RequestTitle,RequestUsernameandRequestPhototo classKeyboardButtonRequestChat - Properties
RequestName,RequestUsernameandRequestPhototo classKeyboardButtonRequestUsers - Property
Formatto classInputSticker - The classes
BusinessConnection,BusinessOpeningHours,BusinessOpeningHoursInterval,BusinessIntro,BusinessLocation,BusinessMessagesDeletedandSharedUser - A class
Birthday - Required property
StickerFormat Formatto classSetStickerSetThumbnailRequest - Property
Usersto classUsersShared - Properties
Title,UsernameandPhototo classChatShared - Property
CanConnectToBusinessto classUser - Type
ChatFullRequestwhich includes all the properties fromChat - The classes
ReactionType,ReactionTypeEmojiandReactionTypeCustomEmojirepresenting different types of reaction. - Enum
ReactionTypeKind - Enum
ChatBoostSourceType - The class
KnownReactionTypeEmojicontaining emojis available forReactionTypeEmoji. - The classes
MessageReactionUpdated,MessageReactionCountUpdatedandReactionCount. - New methods
ITelegramBotClient.SetMessageReactionAsync,ITelegramBotClient.GetUserChatBoostsAsync,ITelegramBotClient.DeleteMessagesAsync,ITelegramBotClient.ForwardMessagesAsyncandITelegramBotClient.CopyMessagesAsync - The class
ExternalReplyInfocontaining information about a message that is replied to by the current message, but can be from another chat or forum topic. - The class
TextQuotewhich contains the part of the replied message text or caption that is quoted in the current message. - The classes
ReplyParametersandLinkPreviewOptions. - New enum value
BlockquoteforMessageEntityType. - The classes
ChatBoostAdded,ChatBoostUpdatedandChatBoostRemoved,ChatBoostSourcePremium,ChatBoostSourceGiftCodeandChatBoostSourceGiveaway - The class
Giveaway,GiveawayCreated,GiveawayWinnersandGiveawayCompleted - Members
Giveaway,GiveawayCreated,GiveawayWinnersandGiveawayCompletedto enumMessageType - The Classes
MaybeInaccessibleMessageandInaccessibleMessage. - Classes
MessageOrigin,MessageOriginUser,MessageOriginHiddenUserandMessageOriginChannel - Enum
MessageOriginType - Enum member
MessageType.BoostAdded - Fields
ChatandIdto typeStory - Property
bool? ShowCaptionAboveMediato types:CopyMessageRequestSendAnimationRequestSendPhotoRequestSendVideoRequestEditMessageCaptionRequestInlineQueryResultCachedGifInlineQueryResultCachedMpeg4GifInlineQueryResultCachedPhotoInlineQueryResultCachedVideoInlineQueryResultGifInlineQueryResultMpeg4GifInlineQueryResultPhotoInlineQueryResultVideoInputMediaAnimationInputMediaPhotoInputMediaVideoMessage
- Property
int? LivePeriodto typesEditMessageLiveLocationRequestandEditInlineMessageLiveLocationRequest - Property
string? MessageEffectIdto types:SendLocationRequestSendVenueRequestSendAnimationRequestSendAudioRequestSendContactRequestSendDiceRequestSendDocumentRequestSendMediaGroupRequestSendMessageRequestSendPhotoRequestSendPollRequestSendVideoNoteRequestSendVideoRequestSendVoiceRequestSendGameRequestSendStickerRequest
- Properties
ParseMode? QuestionParseModeandIEnumerable<MessageEntity>? QuestionEntitiesto typeSendPollRequest - Request
RefundStarPaymentRequestand the corresponding extensions methodITelegramBotClient.RefundStarPaymentAsyncaccepting the request - Type
BackgroundFilland it's inheritorsBackgroundFillSolid,BackgroundFillGradientandBackgroundFillFreeformGradient - Type
BackgroundTypeand it's inheritorsBackgroundTypeFill,BackgroundTypeWallpaper,BackgroundTypePatternandBackgroundTypeChatTheme - Enums
BackgroundFillKindand ``BackgroundTypeKind` - Type
ChatBackground - Property
bool? ViaJoinRequestto typeChatMemberUpdated - Enum member
ExpandableBlockquoteto enumMessageEntityType - Enum member
ChatBackgroundSetto enumMessageType - Type
InputPollOption - Property
string? EffectIdto typeMessage - Property
MessageEntity[]? QuestionEntitiesto typePoll - Property
MessageEntity[]? TextEntitiesto typePollOptions
- All required properties without setters marked as required using
requiredkeyword - All non-default ctors are marked as obsolete in favor of the default ctors with object initialization syntax and required properties
- All API methods with positional parameters on
ITelegramBotClientare marked obsolete - Class
UnpinAllGeneralForumTopicMessagesmarked as obsolete - Replaced parameters
ReplyToMessageIdandAllowSendingWithoutReplywith the propertyReplyParametersof typeReplyParametersin the methodsITelegramBotClient.CopyMessageAsync,ITelegramBotClient.SendMessageAsync,ITelegramBotClient.SendPhotoAsync,ITelegramBotClient.SendVideoAsync,ITelegramBotClient.SendAnimationAsync,ITelegramBotClient.SendAudioAsync,ITelegramBotClient.SendDocumentAsync,ITelegramBotClient.SendStickerAsync,ITelegramBotClient.SendVideoNoteAsync,ITelegramBotClient.SendVoiceAsync,ITelegramBotClient.SendLocationAsync,ITelegramBotClient.SendVenueAsync,ITelegramBotClient.SendContactAsync,ITelegramBotClient.SendPollAsync,ITelegramBotClient.SendDiceAsync,ITelegramBotClient.SendInvoiceAsync,ITelegramBotClient.SendGameAsync,ITelegramBotClient.SendMediaGroupAsync
- Replaced properties
ReplyToMessageIdandAllowSendingWithoutReplywith the propertyReplyParametersof typeReplyParametersin the request classesCopyMessageRequest,SendMessageRequest,SendPhotoRequest,SendVideoRequest,SendAnimationRequest,SendAudioRequest,SendDocumentRequest,SendStickerRequest,SendVideoNoteRequest,SendVoiceRequest,SendLocationRequest,SendVenueRequest,SendContactRequest,SendPollRequest,SendDiceRequest,SendInvoiceRequest,SendGameRequest,SendMediaGroupRequest
- Replaced the parameter
DisableWebPagePreviewwithLinkPreviewOptionsin the methodsSendTextMessageAsyncandEditMessageTextAsync. - Replaced the property
DisableWebPagePreviewwithLinkPreviewOptionsin the request classesSendMessageRequest,EditMessageTextRequestandEditInlineMessageTextRequest. - Replaced the property disable_web_page_preview with
DisableWebPagePreviewin the classInputTextMessageContent. - Renamed the class
KeyboardButtonRequestUsertoKeyboardButtonRequestUsersand added the propertyMaxQuantityto it. - Renamed the property
RequestUserin the classKeyboardButtontoRequestUsers. The old name will still work for backward compatibility. - Renamed the class
UserSharedtoUsersSharedand changed the propertyUserIdtoUserIds. - Replaced the property
UserSharedin the class Message with the propertyUsersShared. - Replaced enum member
MessageType.UserSharedwithMessageType.UsersShared - Fields
ForwardFrom,ForwardFromChat,ForwardFromMessageId,ForwardSignature,ForwardSenderNameandForwardDatereplaced with the fieldForwardOriginof typeMessageOriginin the classMessage. - Type of the property
Messageof the classCallbackQuerytoMaybeInaccessibleMessage - Type of the property
PinnedMessageof the classMessagetoMaybeInaccessibleMessage. - Property
StickerFormatin the classCreateNewStickerSetRequestis marked as obsolete - Property
UserIdsin the classUsersSharedis marked as obsolete GetChatRequestand subsequently methodsITelegramBotClientExtensions.GetChatAsyncreturn typeChatFullInfoinstead ofChat- Property
Optionstype changed toIEnumerable<InputPollOption>in typeSendPollRequestand the corresponding extension methodITelegramBotClient.SendPollAsync - Property
ProviderTokenis made optional, and it's type is made nullable in typesSendInvoiceToken,CreateInvoiceLinkRequestandInputInvoiceMessageContent - All extension method on
ITelegramBotClientreturningTask<bool>now return justTasksince they will never returnfalsein case of an error and throw an exception instead
- Fields
ForwardFrom,ForwardFromChat,ForwardFromMessageId,ForwardSignature,ForwardSenderNameandForwardDatefrom typeMessage - Most optional properties are removed from the type
Chat, all of them are now inChatFullInfotype
Bot API 6.9 (September 22, 2023)
- The new administrator privileges
CanPostStories,CanEditStoriesandCanDeleteStoriesto the classesChatMemberAdministratorandChatAdministratorRights. - The parameters
CanPostStories,CanEditStoriesandCanDeleteStoriesto the methodITelegramBotClient.PromoteChatMemberAsyncandPromoteChatMemberRequest.Currently, bots have no use for these privileges besides assigning them to other administrators. - The properties
FromRequestandFromAttachmentMenuto the classWriteAccessAllowed.
Bot API 6.8 (August 18, 2023)
- Type
Story. - Member
Storyto the enumMessageType - Property
Story? Storyto the classMessage. Currently, it holds no information. - Property
Chat? VoterChatto thePollAnswerclass. For backward compatibility, the field user in such objects will contain the user136817688(@Channel_Bot). - Property
DateTime? EmojiStatusExpirationDateto theChatclass. - New request related to topics:
UnpinAllGeneralForumTopicMessages
- New method related to topics:
ITelegramBotClient.UnpinAllGeneralForumTopicMessagesAsync
- Property
User? Userin thePollAnswerclass is optional now.
Bot API 6.7 (April 21, 2023)
Bot API 6.6 (March 9, 2023)
- Type
InlineQueryResultsButton - Type
SwitchInlineQueryChosenChat - Type
BotName - Property
WebAppNameto the classWriteAccessAllowed - Property
SwitchInlineQueryChosenChatto the classInlineKeyboardButton - Property
ViaChatFolderInviteLinkto the classChatMemberUpdated - Static method
InlineKeyboardButton.WithSwitchInlineQueryChosenChat - Requests related to bot's name:
SetMyNameRequestGetMyNameRequest
- Methods related to bot's name:
ITelegramBotClient.SetMyNameAsyncITelegramBotClient.GetMyNameAsync
- New requests related to description:
GetMyDescriptionRequestSetMyDescriptionRequest
- New requests related to short description:
GetMyShortDescriptionRequestSetMyShortDescriptionRequest
- New requests related to stickers:
DeleteStickerSetRequestSetCustomEmojiStickerSetThumbnailRequestSetStickerEmojiListRequestSetStickerKeywordsRequestSetStickerMaskPositionRequestSetStickerSetThumbnailRequestSetStickerSetTitleRequest
- New methods related to description:
ITelegramBotClient.SetMyDescriptionAsyncITelegramBotClient.GetMyDescriptionAsync
- New methods related to short description:
ITelegramBotClient.SetMyShortDescriptionAsyncITelegramBotClient.GetMyShortDescriptionAsync
- New methods related to stickers:
ITelegramBotClient.DeleteStickerSetAsyncITelegramBotClient.SetCustomEmojiStickerSetThumbnailAsyncITelegramBotClient.SetStickerEmojiListAsyncITelegramBotClient.SetStickerKeywordsAsyncITelegramBotClient.SetStickerMaskPositionAsyncITelegramBotClient.SetStickerSetThumbnailAsyncITelegramBotClient.SetStickerSetTitleAsync
- Enum
StickerFormat - Type
BotDescription - Type
BotShortDescription - Type
InputSticker - Added property
string? Emojito classSendStickerRequest - Added property
bool? NeedsRepaintingto the following classes:CreateNewStickerSetRequestSticker
- Added property
IEnumerable<InputSticker> Stickersto classCreateNewStickerSetRequest - Added property
StickerFormatto classCreateNewStickerSetRequest - Added property
InputSticker Stickersto classAddStickerToSetRequest
- Replace the parameters
switchPmTextandswitchPmParameterof the methodAnswerInlineQueryAsyncwith the parameterbuttonof typeInlineQueryResultsButton. - Replace the properties
SwitchPmTextandSwitchPmParameterof the classAnswerInlineQueryRequestwith the propertyButtonof typeInlineQueryResultsButton. - Class
SetStickerSetThumbRequestrenamed toSetStickerSetThumbnailRequest - Class
CreateNewStickerSetRequestis no longer abstract - Class
AddStickerToSetRequestis no longer abstract - Method
ITelegramBotClient.SetStickerSetThumbAsyncrenamed toITelegramBotClient.SetStickerSetThumbnailAsync - Properties
PngSticker,TgsSticker,WebmSticker,Emojis,MaskPostionin classAddStickerToSetRequestreplaced withStickeron TypeInputSticker - Properties
PngSticker,TgsSticker,WebmSticker,Emojis,MaskPostionin classCreateNewStickerSetRequestreplaced withStickerson TypeIEnumerable<InputSticker> - Renamed property
ThumbtoThumbnailto the following Types:AnimationAudioDocumentStickerVideoVideoNoteInputMediaAnimationInputMediaAudioInputMediaDocumentInputMediaVideoStickerSet
- Renamed property
ThumbtoThumbnailin the following classes:SendAnimationRequestSendAudioRequestSendDocumentRequestSendVideoRequestSendVideoNoteRequest
- Renamed properties
ThumbUrl,ThumbWidth,ThumbHeighttoThumbnailUrl,ThumbnailWidth,ThumbnailHeightin the following Types:InlineQueryResultArticleInlineQueryResultContactInlineQueryResultDocumentInlineQueryResultLocationInlineQueryResultVenue
- Renamed property
ThumbUrltoThumbnailUrlin the following Types:InlineQueryResultPhotoInlineQueryResultVideo
- Renamed properties
ThumbUrl,ThumbMimeTypetoThumbnailUrl,ThumbnailMimeTypein the following Types:InlineQueryResultGifInlineQueryResultMpeg4Gif
- Type of property
Stickerchanged fromstringtoInputFileIdin the following classes:SetStickerPositionInSetRequestDeleteStickerFromSetRequest
- Stickers tests
- Class
AddAnimatedStickerToSetRequest - Class
AddStaticStickerToSetRequest - Class
AddVideoStickerToSetRequest - Class
CreateNewAnimatedStickerSetRequest - Class
CreateNewStaticStickerSetRequest - Class
CreateNewVideoStickerSetRequest - Method
ITelegramBotClient.AddAnimatedStickerToSetAsync - Method
ITelegramBotClient.AddStaticStickerToSetAsync - Method
ITelegramBotClient.AddVideoStickerToSetAsync - Method
ITelegramBotClient.CreateNewAnimatedStickerSetAsync - Method
ITelegramBotClient.CreateNewStaticStickerSetAsync - Method
ITelegramBotClient.CreateNewVideoStickerSetAsync - Properties
Emojis,MaskPostionin classesCreateNewStickerSetRequest,AddStickerToSetRequest
Bot API 6.5 (February 3, 2023)
- Types
KeyboardButtonRequestUserandKeyboardButtonRequestChat - Properties
RequestUserandRequestChatto the typeKeyboardButton - Static methods
KeyboardButton.WithRequestUserandKeyboardButton.WithRequestChat - Types
UserSharedandChatShared - Properties
UserSharedandChatSharedto the typeMessage - Members
UserSharedandChatSharedto the enumMessageType - Following properties to the types
ChatMemberRestrictedandChatPermissions:CanSendAudiosCanSendDocumentsCanSendPhotosCanSendVideosCanSendVideoNotesCanSendVoiceNotes
- Property
UseIndependentChatPermissionsto the typesRestrictChatMemberRequestandSetChatPermissionsRequest - Optional parameter
useIndependentChatPermissionsto the methodsITelegramBotClient.RestrictChatMemberAsyncandITelegramBotClient.SetChatPermissionsAsync - Property
UserChatIdto the typeChatJoinRequest
- Properties
CanSendMediaMessagesfrom the typesChatMemberRestrictedandChatPermissions - Obsolete types
GetChatMembersCountRequest,KickChatMemberRequest,VoiceChatEnded,VoiceChatParticipantsInvited,VoiceChatScheduled,VoiceChatStarted. - Obsolete methods
ITelegramBotClient.KickChatMemberAsync,ITelegramBotClient.GetChatMembersCountAsync. - Obsolete properties
CanManageVoiceChatfromPromoteChatMemberRequest,CanManageVoiceChatsfromChatMember.
Bot API 6.4 (December 30, 2022)
- New requests related to topics:
CloseGeneralForumTopicRequestEditGeneralForumTopicRequestReopenGeneralForumTopicRequestHideGeneralForumTopicRequestUnhideGeneralForumTopicRequest
- New methods related to topics:
ITelegramBotClient.CloseGeneralForumTopicAsyncITelegramBotClient.EditGeneralForumTopicAsyncITelegramBotClient.ReopenGeneralForumTopicAsyncITelegramBotClient.HideGeneralForumTopicAsyncITelegramBotClient.UnhideGeneralForumTopicAsync
- Following properties to type
Chat:bool? IsForumstring[]? ActiveUsernames
- Optional property
HasSpoiler - Added property
bool? HasSpoilerto the following classes:SendAnimationRequestSendVideoRequestSendPhotoRequestInputMediaAnimationInputMediaPhotoInputMediaVideo
- Added following properties to class
Message:HasMediaSpoilerWriteAccessAllowedForumTopicEditedGeneralForumTopicHiddenGeneralForumTopicUnhidden
- Property
IsPersistentto classReplyKeyboardMarkup - Types
ForumTopicEdited,GeneralForumTopicHidden,GeneralForumTopicUnhidden,WriteAccessAllowed - Property
int? MessageThreadIdto classSendChatActionRequest - Properties
HasAggressiveAntiSpamEnabledandHasHiddenMembersto classChat - Enum members
ForumTopicEdited,GeneralForumTopicHidden,GeneralForumTopicUnhidden,WriteAccessAllowedto enumMessageType,
- Properties
EditForumTopicRequest.NameandEditForumTopicRequest.IconCustomEmojiIdare made nullable - Added setters to properties
EditForumTopicRequest.NameandEditForumTopicRequest.IconCustomEmojiId - Parameters
nameandiconCustomEmojiIdand ctor ofEditForumTopicRequestare made nullable and optional - Added optional parameter
bool? hasSpoilerto the following methodsITelegramBotClient.SendAnimationAsyncITelegramBotClient.SendVideoAsyncITelegramBotClient.SendPhotoAsync
- Added optional parameter
int? messageThreadIdto methodITelegramBotClient.SendAnimationRequest - Parameters
nameandiconCustomEmojiIdin methodITelegramBotClient.EditForumTopicAsyncare made nullable and optional
Bot API 6.1 (June 20, 2022)
Bot API 6.2 (August 12, 2022)
Bot API 6.3 (November 5, 2022)
- .NET 6 to targeted frameworks
- Following topic releated types:
Colorto represent color of topicsForumTopicForumTopicClosedForumTopicCreatedForumTopicReopened
- New requests for managing topics:
CloseForumTopicRequestCreateForumTopicRequestDeleteForumTopicRequestEditForumTopicRequestReopenForumTopicRequestUnpinAllForumTopicMessagesRequest
- Property
MessageThreadIdto following requestsSendMessageRequestSendPhotoRequestSendVideoRequestSendAnimationRequestSendAudioRequestSendDocumentRequestSendStickerRequestSendVideoNoteRequestSendVoiceRequestSendLocationRequestSendVenueRequestSendContactRequestSendPollRequestSendDiceRequestSendInvoiceRequestSendGameRequestSendMediaGroupRequestCopyMessageRequestForwardMessageRequest
- Following properties to type
Chat:bool? IsForumstring[]? ActiveUsernamesstring? EmojiStatusCustomEmojiIdbool? HasRestrictedVoiceAndVideoMessages
- Property
bool? CanManageTopicsto following types:ChatAdministratorRightsChatPermissionsChatMemberOwnerChatMemberRestrictedPromoteChatMemberRequest
- Following enum members to
MessageType:ForumTopicCreatedForumTopicClosedForumTopicReopenedAnimation
- Following properties to type
Message:int? MessageThreadIdbool? IsTopicMessageForumTopicCreated? ForumTopicCreatedForumTopicClosed? ForumTopicClosedForumTopicClosed? ForumTopicClosed
- Enum member
CustomEmojitoMessageEntityType - Property
CustomEmojiIdtoMessageEntity - Extension method
GetCustomEmojiStickersAsync - Request
GetCustomEmojiStickersRequest - Enum
StickerType - Properties
TypeandCustomEmojiIdtoSticker - Property
StickerTypetoStickerSet - Property
StickerTypetoCreateNewStickerSetRequest - Parameter
stickerTypetoCreateNew*StickerSetAsyncextension methods - Property
HasRestrictedVoiceAndVideoMessagestoChat - Properties
JoinToSendMessages,JoinByRequesttoChat - Properties
IsPremium,AddedToAttachmentMenutoUser - Property
PremiumAnimationtoSticker - Property
SecretTokentoSetWebhookRequest - Parameter
secretTokentoSetWebhookAsync - Request
CreateInvoiceLinkRequest - Method
CreateInvoiceLinkAsync
- Constructors in following requests accept
IInputFileor inheritors instead ofAddAnimatedStickerToSetRequestAddStaticStickerToSetRequestAddVideoStickerToSetRequestCreateNewAnimatedStickerSetRequestCreateNewStaticStickerSetRequestCreateNewVideoStickerSetRequest
- Added optional parameter
int? messageThreadIdto following methods:ITelegramBotClient.SendTextMessageAsyncITelegramBotClient.SendPhotoAsyncITelegramBotClient.SendVideoAsyncITelegramBotClient.SendAnimationAsyncITelegramBotClient.SendAudioAsyncITelegramBotClient.SendDocumentAsyncITelegramBotClient.SendStickerAsyncITelegramBotClient.SendVideoNoteAsyncITelegramBotClient.SendVoiceAsyncITelegramBotClient.SendLocationAsyncITelegramBotClient.SendVenueAsyncITelegramBotClient.SendContactAsyncITelegramBotClient.SendPollAsyncITelegramBotClient.SendDiceAsyncITelegramBotClient.SendInvoiceAsyncITelegramBotClient.SendGameAsyncITelegramBotClient.SendMediaGroupAsyncITelegramBotClient.CopyMessageAsyncITelegramBotClient.ForwardMessageAsync
- Added optional parameter
bool? canManageTopicto methodITelegramBotClient.PromoteChatMemberAsync
- Property 'Message.Type' returns
MessageType.Animationwhen amessagecontainsAnimation
- Implicit conversion from
ChatIdtostring - .NET Core 3.1 from targeted frameworks
- Property
ContainsMasksfromStickerSet - Property
ContainsMasksfromCreateNewStickerSetRequest - Parameter
containsMasksfromCreateNew*StickerSetAsyncextension methods
Bot API 6.0 (April 16, 2022)
- Package
Telegram.Bot.Extensions.Pollingis merged in the main package - Type
TelegramBotClientOptions - Types
WebAppInfo,SentWebAppMessage,WebAppData,MenuButton,MenuButtonCommands,MenuButtonWebApp,MenuButtonDefault,ChatAdministratorRights - Requests
AnswerWebAppQueryRequest,SetChatMenuButtonRequest,GetChatMenuButtonRequest,SetMyDefaultAdministratorRightsRequest,GetMyDefaultAdministratorRightsRequest - Properties
WebAppInfo KeyboardButton.WebApp,WebAppInfo InlineKeyboardButton.WebApp - Property
DateTime? WebHookInfo.LastSynchronizationErrorDate - Static methods
KeyboardButton.WithWebApp,InlineKeyboardButton.WithWebApp - Properties
VideoChatScheduled,VideoChatStarted,VideoChatEnded,VideoChatParticipantsInvitedandWebAppDatain typeMessage - Enum members
VideoChatScheduled,VideoChatStarted,VideoChatEnded, andVideoChatParticipantsInvitedin typeMessageType - Property
bool ITelegramBotClient.LocalBotServer TelegramBotClientconstructor that accepts an instanceTelegramBotClientOptionsandHttpClient
- Renamed properties
ChatMemberAdministrator.CanManageVoiceChats,PromoteChatMemberRequest.CanManageVoiceChatstoChatMemberAdministrator.CanManageVideoChatsandPromoteChatMemberRequest.CanManageVideoChats - Removed
baseUrlparameter from constructor inTelegramBotClientthat accepts a token - Type of property
FileBase.FileSizechanged fromint?tolong?
- Argument
protectContentin methodTelegramBotClientExtensions.ForwardMessageAsyncis passed to the corresponding request
- Enum members
VoiceChatScheduled,VoiceChatStarted,VoiceChatEnded, andVoiceChatParticipantsInvitedin typeMessageType - Properties
VoiceChatScheduled,VoiceChatStarted,VoiceChatEndedandVoiceChatParticipantsInvitedin typeMessage - Property
PinChatMessageRequest.ProtectedContent
Bot API 5.7 (January 31, 2022)
Bot API 5.6 (December 30, 2021)
Bot API 5.5 (December 7, 2021)
ApiRequestEventArgshas full request information
- Requests
CreateNewVideoStickerSetRequest,AddVideoStickerToSetRequest,BanChatSenderChatRequest,UnbanChatSenderChatRequest - Extension methods
TelegramBotClientExtensions.CreateNewVideoStickerSetAsync,TelegramBotClientExtensions.AddVideoStickerToSetAsync,TelegramBotClientExtensions.BanChatSenderChatRequestAsync,TelegramBotClientExtensions.UnbanChatSenderChatRequestAsync - Property
int? MessageAutoDeleteTimeto classChat - Property
bool? HasPrivateForwardsto classChat - Property
bool? HasProtectedContentto classChat - Property
int? MessageAutoDeleteTimeto classMessage - Property
bool? IsAutomaticForwardto classMessage - Property
bool? HasProtectedContentto classMessage - Property
bool? ProtectContentto following requests:SendLocationRequestSendVenueRequestCopyMessageRequestForwardMessageRequestSendAnimationRequestSendAudioRequestSendContactRequestSendDiceRequestSendDocumentRequestSendMediaGroupRequestSendMessageRequestSendPhotoRequestSendPollRequestSendVideoNoteRequestSendVideoRequestSendVoiceRequest
- Property
IsVideoto classSticker - Property
IsVideoto classStickerSet - Parameter
bool? protectContent = defaultto following methods:TelegramBotExtensions.SendLocationRequestAsyncTelegramBotExtensions.SendVenueRequestAsyncTelegramBotExtensions.CopyMessageRequestAsyncTelegramBotExtensions.ForwardMessageRequestAsyncTelegramBotExtensions.SendAnimationRequestAsyncTelegramBotExtensions.SendAudioRequestAsyncTelegramBotExtensions.SendContactRequestAsyncTelegramBotExtensions.SendDiceRequestAsyncTelegramBotExtensions.SendDocumentRequestAsyncTelegramBotExtensions.SendMediaGroupRequestAsyncTelegramBotExtensions.SendMessageRequestAsyncTelegramBotExtensions.SendPhotoRequestAsyncTelegramBotExtensions.SendPollRequestAsyncTelegramBotExtensions.SendVideoNoteRequestAsyncTelegramBotExtensions.SendVideoRequestAsyncTelegramBotExtensions.SendVoiceRequestAsync
- Enum member
MessageEntityType.Spoiler
- Method
TelegramBotClient.MakeRequestAsyncis made virtual - Class
CreateNewStickerSetRequestrenamed toCreateNewStaticStickerSetRequest - Class
CreateNewStickerSetRequestis made abstract - Class
AddStickerToSetRequestrenamed toAddStaticStickerToSetRequest - Class
AddStickerToSetRequestis made abstract - Method
TelegramBotClientExtensions.AddStickerToSetAsyncis renamed toAddStaticStickerToSetAsync - Method
TelegramBotClientExtensions.CreateNewStaticStickerSetAsyncis renamed toCreateNewStaticStickerSetAsync
DeleteWebhookRequestparameters are now properly serializing- Added missing json attribute to property
ChatInviteLink.Name
- Parameter
untilDateis removed fromTelegramBotClientExtensions.BanChatSenderChatAsync - Property
UntilDateis removed fromBanChatSenderChatRequest
- v17 release
- Added missing JSON attributes on types
ApproveChatJoinRequestandDeclineChatJoinRequest - Types
ApproveChatJoinRequestandDeclineChatJoinRequestimplementIChatTargetableinterface
Bot API 5.4 (November 5, 2021)
- 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
- Extension method
TelegramBotClientExtensions.EditChatInviteLinkAsync:- Added parameters
string? nameandbool? createsJoinRequest
- Added parameters
- Extension method
TelegramBotClientExtensions.CreateChatInviteLinkAsync:- Added parameters
string? nameandbool? createsJoinRequest
- Added parameters
- Fields
ChatId.IdentifierandChatId.Usernamechanged into get-only properties
- Method
GetInfoAndDownloadFileAsyncmoved into static classTelegramBotClientExtensionsas an extension method - Symbols are always include in the package
- Interface
IExceptionsParser - Type
ApiResponse - Property
ITelegramBotClient.ExceptionsParser
- Parameter name
ChatLocation.Stringreplaced withChatLocation.Address
ITelegramBotClient.SendDocumentAsyncpassed wrong value intoDisableContentTypeDetectionproperty
Bot API 5.3 (June 25, 2021)
- Enum
InputMediaType - Type
BanCommandScope - 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
InputMediaBasethat acceptsInputMedia - Protected constructor
InputTelegramFilethat acceptsFileType - Property
string ForceReplyMarkup.InputFieldPlaceholder { get; set; } - Property
string ReplyKeyboardMarkup.InputFieldPlaceholder { get; set; } - Enum
EncryptedPassportElementType - Interface
IChatTargetable - Interface
IUserTargetable
- Type
InlineQueryResultBaserenamed toInlineQueryResult - Type
ChatMemberis made abstract - Property
ChatMember.Statusis made abstract - Every use of enum
ParseModeis made nullable to represent default text mode without any markup - Type
KickChatMemberRequestis marked as obsolete - Type
GetChatMembersCountRequestis marked as obsolete - Method
ITelegramBotClient.KickChatMemberAsyncis marked as obsolete - Method
ITelegramBotClient.GetChatMembersCountAsyncis marked as obsolete - All underlying enum values changed to start from
1instead of0.0value are reserved for unknown enum values. - Type
ChatMemberis made abstract and it's properties are moved into separate inheriting classes - Changed parameters in
ITelegramBotClient.GetMyCommandsAsync: added parametersBotCommandScope scopeandstring language - Changed parameters in
ITelegramBotClient.SetMyCommandsAsync: added parametersBotCommandScope scopeandstring language - Type of property
IInputMedia.Typechanged fromstringtoInputMediaType - Property
InputFileStream.FileTypeis no longer virtual - Constructor of type
InputFileStreamthat accepts bothStream contentandstring fileName:filenameparameter is made optional - Constructor of type
InputOnlineFilethat accepts bothStream contentandstring fileName:filenameparameter is made optional - Constructor of type
InputTelegramFilethat accepts bothStream contentandstring fileName:filenameparameter is made optional - Property
InputMediaBase.Typeis made abstract - Protected setter
InputTelegramFile.FileIdis made private protected - Type of property
EncryptedPassportElement.Typechanged fromstringtoEncryptedPassportElementType - All optional types are made nullable be it value or reference types
- Public setter
ChatMember.Status - Enum member
ParseMode.Default - Enum members
ChatAction.RecordAudioandChatAction.UploadAudio - Protected setter from property
InputFileStream.Content - Constructor of type
InputFileStreamthat accepts onlyStream - Constructor of type
InputOnlineFilethat accepts onlyStream - Constructor of type
InputTelegramFilethat accepts onlyStream - 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
Animationinherits fromFileBase- All custom exceptions are marked as obsolete
Bot API 5.2 (April 26, 2021)
- Property
VoiceChatScheduledto the classMessage. - Types
VoiceChatScheduled,InputInvoiceMessageContent - New
MessageTypevalue:VoiceChatScheduled - Property
ChatTypeto the classInlineQuery. - New
ChatTypevalue:Sender - New
ChatActionvalues:RecordVoice,UploadVoice - Optional parameters
maxTipAmountandsuggestedTipAmountstoITelegramBotClient.SendInvoiceAsync - Properties
MaxTipAmountandSuggestedTipAmountstoSendInvoiceRequest
- Parameter order in
ITelegramBotClient.UnpinChatMessageAsync - Parameter
startParameterof the methodITelegramBotClient.SendInvoiceAsyncbecame optional ChatActionvaluesRecordAudioandUploadAudiomarked as obsoleteReplyToMessageIdandAllowSendingWithoutReplyinIReplyMessage,CopyMessageRequest,SendLocationRequest,SendAnimationRequest,SendAudioRequest,SendContactRequest,SendDiceRequest,SendDocumentRequest,SendMediaGroupRequest,SendMessageRequest,SendPhotoRequest,SendPollRequest,SendVenueRequest,SendVideoNoteRequest,SendVideoRequest,SendVoiceRequest,SendGameRequest,SendStickerRequestmarked as optional
⚠️ WARNING!⚠️ After the next Bot API update (Bot API 5.3) there will be a one-time change of the value of the fieldFileUniqueIdin objects of the typePhotoSizeand of the fieldsSmallFileUniqueIdandBigFileUniqueIdin objects of the typeChatPhoto.
⚠️ WARNING!⚠️ Service messages about non-bot users joining the chat will be soon removed from large groups. We recommend using the “chat_member” update as a replacement.
⚠️ WARNING!⚠️ After one of the upcoming Bot API updates, user identifiers will become bigger than 2^31 - 1 and it will be no longer possible to store them in a signed 32-bit integer type. User identifiers will have up to 52 significant bits, so a 64-bit integer or double-precision float type would still be safe for storing them. Please make sure that your code can correctly handle such user identifiers.
- Align property order and description with official docs
- Parameter
startParameterfromSendInvoiceRequestconstructor
Bot API 5.1 (March 9, 2021)
Bot API 5.0 (November 4, 2020)
- The method
ITelegramBotClient.CreateChatInviteLinkAsync - The method
ITelegramBotClient.EditChatInviteLinkAsync - The method
ITelegramBotClient.RevokeChatInviteLinkAsync - Optional parameter
revokeMessagestoITelegramBotClient.KickChatMemberAsync - Optional parameters
canManageChat,canManageVoiceChatstoITelegramBotClient.KickChatMemberAsync - Property
RevokeMessagestoKickChatMemberRequest - Properties
CanManageChat,CanManageVoiceChatstoPromoteChatMemberRequest - Properties
CanManageChat,CanManageVoiceChatstoChatMember - Properties
MessageAutoDeleteTimerChanged,VoiceChatStarted,VoiceChatEnded,VoiceChatParticipantsInvitedtoMessage - Properties
MyChatMemberandChatMembertoUpdate - Types
CreateChatInviteLinkRequest,EditChatInviteLinkRequest,RevokeChatInviteLinkRequest,ChatInviteLink,ChatMemberUpdated,MessageAutoDeleteTimerChanged,VoiceChatEnded,VoiceChatParticipantsInvited,VoiceChatStarted - New enum value
BowlingforEmoji - New enum values
MessageAutoDeleteTimerChanged,ProximityAlertTriggered,VoiceChatStarted,VoiceChatEnded,VoiceChatParticipantsInvitedforMessageType - New enum values
MyChatMember,ChatMemberforUpdateType - Delegate
AsyncEventHandler<T> - Methods:
ITelegramBotClient.LogOutAsyncITelegramBotClient.CloseAsyncITelegramBotClient.CopyMessageAsyncITelegramBotClient.UnpinAllChatMessages
- Optional parameter
ipAddresstoITelegramBotClient.SetWebhookAsync - Optional parameter
dropPendingUpdatestoITelegramBotClient.SetWebhookAsync,ITelegramBotClient.DeleteWebhookAsync - Optional parameter
allowSendingWithoutReplyto the methodsSendTextMessageAsync,SendPhotoAsync,SendVideoAsync,SendAnimationAsync,SendAudioAsync,SendDocumentAsync,SendStickerAsync,SendVideoNoteAsync,SendVoiceAsync,SendLocationAsync,SendVenueAsync,SendContactAsync,SendPollAsync,SendDiceAsync,SendInvoiceAsync,SendGameAsync,SendMediaGroupAsync - Optional parameter
captionEntitiestoSendTextMessageAsync,SendPhotoAsync,SendVideoAsync,SendAnimationAsync,SendAudioAsync,SendDocumentAsync,SendVoiceAsync,SendPollAsync,EditMessageTextAsync,EditMessageCaptionAsync - Optional parameter
isAnonymoustoITelegramBotClient.PromoteChatMemberAsync - Optional parameter
messageIdtoITelegramBotClient.UnpinChatMessageAsync - Optional parameter
onlyIfBannedtoITelegramBotClient.UnbanChatMemberAsync - Optional parameter
disableContentTypeDetectiontoITelegramBotClient.SendDocumentAsync - Optional parameter
headingtoITelegramBotClient.SendLocationAsync,ITelegramBotClient.EditMessageLiveLocationAsync - Optional parameter
proximityAlertRadiustoITelegramBotClient.SendLocationAsync,ITelegramBotClient.EditMessageLiveLocationAsync - Optional parameter
horizontalAccuracytoITelegramBotClient.SendLocationAsync,ITelegramBotClient.EditMessageLiveLocationAsync - Optional parameters
googlePlaceId,googlePlaceTypetoITelegramBotClient.SendVenueAsync - Property
IpAddresstoSetWebhookRequest,WebhookInfo - Property
DropPendingUpdatestoSetWebhookRequest,DeleteWebhookRequest - Property
AllowSendingWithoutReplytoSendMessageRequest,SendPhotoRequest,SendAudioRequest,SendDocumentRequest,SendStickerRequest,SendVideoRequest,SendAnimationRequest,SendVoiceRequest,SendVideoNoteRequest,SendMediaGroupRequest,SendLocationRequest,SendVenueRequest,SendContactRequest,SendPollRequest,SendDiceRequest,SendInvoiceRequest,SendGameRequest - Property
CaptionEntitiestoInputMediaBase,InlineQueryResultPhoto,InlineQueryResultGif,InlineQueryResultMpeg4Gif,InlineQueryResultVideo,InlineQueryResultAudio,InlineQueryResultVoice,InlineQueryResultDocument,InlineQueryResultCachedPhoto,InlineQueryResultCachedGif,InlineQueryResultCachedMpeg4Gif,InlineQueryResultCachedVideo,InlineQueryResultCachedAudio,InlineQueryResultCachedVoice,InlineQueryResultCachedDocument - Property
EntitiestoInputTextMessageContent - Properties
SenderChat,AuthorSignature,ProximityAlertTriggeredtoMessage - Properties
Bio,LinkedChatId,LocationtoChat - Property
IsAnonymoustoChatMember,PromoteChatMemberRequest - Property
LivePeriodtoLocation - Property
ProximityAlertRadiustoLocation,InlineQueryResultLocation,InputLocationMessageContent,SendLocationRequest,EditMessageLiveLocationRequest,EditInlineMessageLiveLocationRequest - Property
HorizontalAccuracytoLocation,InlineQueryResultLocation,InputLocationMessageContent,SendLocationRequest,EditMessageLiveLocationRequest,EditInlineMessageLiveLocationRequest - Property
HeadingtoLocation,InlineQueryResultLocation,SendLocationRequest,EditMessageLiveLocationRequest,EditInlineMessageLiveLocationRequest - Property
MessageIdtoPinChatMessageRequest - Property
OnlyIfBannedtoUnbanChatMemberRequest - Property
FileNametoAudio,Video - Property
DisableContentTypeDetectiontoMakeRequestAsync,InputMediaDocument - Properties
GooglePlaceId,GooglePlaceTypetoSendVenueRequest,Venue,InlineQueryResultVenue,InputVenueMessageContent - New enum values
Football,SlotMachineforEmoji - Type
ChatLocation - Type
ProximityAlertTriggered - Support for sending and receiving audio and document albums in the method
SendMediaGroupAsync
- Constructor in
TelegramBotClientaccepts base url for custom Bot API server as optional third parameter, it accepts only URL's with protocol, host and port parts, everything else is ignored - Marked constructor for
TelegramBotClientacceptingIWebProxyas obsolete - Property
ITelegramBotClient.BotIdtolong? - Event
MakingApiRequestrenamed toOnMakingApiRequestand it's type is changed toAsyncEventHandler<ApiRequestEventArgs> - Event
ApiResponseReceivedrenamed toOnApiResponseReceivedand it's type is changed toAsyncEventHandler<ApiResponseEventArgs> - Parameters order in following methods (to reflect official docs):
SetWebhookAsync,DeleteWebhookAsync,SendTextMessageAsync,SendPhotoAsync,SendAudioAsync,SendDocumentAsync,SendStickerAsync,SendVideoAsync,SendAnimationAsync,SendVoiceAsync,SendVideoNoteAsync,SendMediaGroupAsync,SendLocationAsync,SendVenueAsync,SendContactAsync,SendPollAsync,SendDiceAsync,KickChatMemberAsync,UnbanChatMemberAsync,PromoteChatMemberAsync,EditMessageTextAsync,EditMessageCaptionAsync,EditMessageLiveLocationAsync,SendInvoiceAsync,SendGameAsync
- Polling inside the library is now considered obsolete. The code, related to polling will be removed. It is recommended to use Telegram.Bot.Extensions.Polling package instead.
- These methods are now obsolete:
StartReceiving,StopReceiving - These events are now obsolete:
OnUpdate,OnMessage,OnMessageEdited,OnInlineQuery,OnInlineResultChosen,OnCallbackQuery,OnReceiveError,OnReceiveGeneralError - These fields are now obsolete:
IsReceiving,MessageOffset
- These methods are now obsolete:
- Error
429 Too Many Requestis now handled by the client and is thrown asApiRequestException
⚠️ WARNING!⚠️ After one of the upcoming Bot API updates, some user identifiers will become bigger than 2^31 - 1 and it will be no longer possible to store them in a signed 32-bit integer type. User identifiers will have up to 52 significant bits, so a 64-bit integer or double-precision float type would still be safe for storing them. Please make sure that your code can correctly handle such user identifiers.
- Incorrect property name
ExplanationCaptionEntities->ExplanationEntitiesinSendPollRequest
- Obsolete overload method
ITelegramBotClient.DownloadFileAsync - Obsolete overload method
ITelegramBotClient.SendMediaGroupAsync - Obsolete constructor for
SendMediaGroupRequest - Obsolete constructor for
InputMediaPhoto - Obsolete constructor for
InputMediaVideo - Obsolete property
AllMembersAreAdministratorsfromChat - Obsolete property
IsForwardedfromMessage - Obsolete value
Animationfrom enumMessageType
- Source Link support
- Fully deterministic build
- Enum member
Emoji.Basketball - Property
InlineQueryResultGif.ThumbMimeType - Property
InlineQueryResultMpeg4Gif.ThumbMimeType - Property
Message.ViaBot
- Enum
Emoji - Property
Poll.Explanation - Property
Poll.ExplanationEntities - Property
Poll.OpenPeriod - Property
Poll.CloseDate - Property
Dice.Emoji - Following optional properties to
SendPollRequest:ExplanationExplanationParseModeOpenPeriodCloseDate
- Optional property
EmojitoSendDiceRequest
- Following optional parameters to
ITelegramBotClient.SendPollAsync:explanationexplanationParseModeopenPeriodcloseDate
- Optional parameter
emojitoITelegramBotClient.SendDiceAsync
- Implementation of
ITelegramBotClient.CreateNewAnimatedStickerSetAsync
- Requests
GetMyCommandsRequestSetMyCommandsRequestCreateNewAnimatedStickerSetRequestAddNewAnimatedStickerToSetRequestSendDiceRequestSetStickerSetThumbRequest
- Methods:
ITelegramBotClient.SendDiceAsyncITelegramBotClient.CreateNewAnimatedStickerSetAsyncITelegramBotClient.AddNewAnimatedStickerToSetAsyncITelegramBotClient.SetStickerSetThumbAsyncITelegramBotClient.GetMyCommandsAsyncITelegramBotClient.SetMyCommandsAsync
- Type
Dice - Type
BotCommand - Enum member
MessageType.Dice - Property
Message.Dice - Property
StickerSet.Thumb
- Property
SendInvoiceRequest.SendPhoneNumberToProvider - Property
SendInvoiceRequest.SendEmailToProvider - Optional parameter
sendPhoneNumberToProviderto methodITelegramBotClient.SendInvoiceAsync - Optional parameter
sendEmailToProviderto methodITelegramBotClient.SendInvoiceAsync
- Type
KeyboardButtonPollType - Static method
KeyboardButton.WithRequestPoll - Type
PollAnswer - Property
KeyboardButton.RequestPoll - Enum
PollType - Property
MessageEntity.Language - Following properties to type
Poll:bool? IsAnonymousstring Typebool? AllowsMultipleAnswersint? CorrectOptionId
- Following properties to type
SendPollRequest:bool? IsAnonymousstring Typebool? AllowsMultipleAnswersint? CorrectOptionIdbool? IsClosed
- Property
Update.PollAnswer - Enum member
UpdateType.PollAnswer - Following properties to type
User:bool? CanJoinGroupsbool? CanReadAllGroupMessagesbool? SupportsInlineQueries
- Method
ITelegramBotClient.SendPollAsync, added following optional parameters:bool? isAnonymousstring typebool? allowsMultipleAnswersint? correctOptionIdbool? isClosed
- Method
User.Equalstakes into account new properties
- All base request classes use explicit opt-in serialization strategy
- All non Bot API properties in base request classes are annotated by
JsonIgnoreAttribute - Type
ContactRequestExceptionis made obsolete due to Telegram changed it's error message
- A bug that prevented requests to be serialized when default
JsonSerializerSettingswere set
- Type
SetChatAdministratorCustomTitleRequest - Method
ITelegramBotClient.SetChatAdministratorCustomTitleAsync - Property
FileBase.FileUniqueId - Property
Animation.FileUniqueId - Property
ChatPhoto.BigFileUniqueId - Property
ChatPhoto.SmallFileUniqueId - Property
Chat.SlowModeDelay - Property
ChatMember.CustomTitle - Enum value
ParseMode.MarkdownV2 - Enum value
MessageEntityType.Underline - Enum value
MessageEntityType.Strikethrough
- Property
RequestBase.IsWebhookResponse - The client outputs
methodproperty in the resulting HTTP body with the value fromIRequest<T>.MethodNamewhenRequestBase.IsWebhookResponseis set to true - Constructor with
Uriparam forInputOnlineFile(overloaded)
- Type
ChatPermissions - Type
SetChatPermissionsRequest - Property
Sticker.IsAnimated - Property
StickerSet.IsAnimated - Property
Chat.Permissions - Property
ChatMember.CanSendPolls
- Individual permission properties in
RestrictChatMemberRequestchanged toPermissionsproperty of typeChatPermissions - Individual permission parameters in
ITelegramBotClient.RestrictChatMemberAsyncchanged to a single parameter of typeChatPermissions - Marked
Chat.AllMembersAreAdministratorsas obsolete
- XML doc comments about caption maximum length
- Type
LoginUrl - Property
Message.ReplyMarkup - Property
InlineKeyboardButton.LoginUrl - Method
InlineKeyboardButton.WithLoginUrl
- Type
Poll - Type
PollOption - Type
SendPollRequest - Type
StopPollRequest - Method
SendPollAsync - Method
StopPollAsync - Property
Update.Poll - Property
Message.Poll - Property
Message.ForwardSenderName - Property
ChatMember.IsMember - Enum value
UpdateType.Poll - Enum value
MessageType.Poll
- Marked
InvalidQueryIdExceptionas obsolete
- Telegram Passport support
- Type
EncryptedCredentials - Type
EncryptedPassportElement - Type
PassportData - Type
PassportFile - Property
ITelegramBotClient.BotId - Property
Message.PassportData
- Marked
DownloadFileAsync(string,CancellationToken)obsolete
- Method
SendAnimationAsync - Parameter
thumbto methodSendAudioAsync - Parameter
thumbto methodSendDocumentAsync - Parameter
thumbto methodSendVideoAsync - Parameter
thumbto methodSendVideoNoteAsync - Type
IChatMessage - Type
IThumbMediaMessage - Type
SendAnimationRequest - Property
SendAudioRequest.Thumb - Property
SendDocumentRequest.Thumb - Property
SendVideoRequest.Thumb - Property
SendVideoNoteRequest.Thumb - Property
Audio.Thumb
- Parameter
vCardto methodSendContactAsync - Parameter
foursquareTypeto methodSendVenueAsync - Property
SendContactRequest.Vcard - Property
SendVenueRequest.FoursquareType - Property
InlineQueryResultContact.Vcard - Property
InlineQueryResultVenue.FoursquareType - Property
InputContactMessageContent.Vcard - Property
InputVenueMessageContent.FoursquareType - Property
Contact.Vcard - Property
Venue.FoursquareType - Enum value
MessageEntityType.Cashtag
- Marked
MessageType.Animationas obsolete
- Partial support for Bot API v4.0
- Method
SendMediaGroupAsync(overloaded) - Method
EditMessageMediaAsync - Method
EditMessageMediaAsync - Type
EditMessageMediaRequest - Type
EditInlineMessageMediaRequest - Type
InputMediaAudio - Type
InputMediaDocument - Type
InputMediaAnimation - Type
IInputMedia - Type
IAlbumInputMedia - Type
IInputMediaThumb - Property
Animation.Width - Property
Animation.Height - Property
Animation.Duration - Enum member
MessageType.Animation - Property
InputMediaVideo.Thumb - Property
Message.Animation - Constructor with required parameters for
InputMediaPhoto(overloaded) - Constructor with required parameters for
InputMediaVideo(overloaded) - Constructor with required parameters for
SendMediaGroupRequest(overloaded)
- Serialization error of
InlineQueryResultDocument.Descriptionbeing required - Incorrect serialization of
InputMediaVideo
- Marked method
SendMediaGroupAsyncas obsolete. An overload is provided. - Marked parameterless constructor of
InputMediaPhotoas obsolete. An overload is provided. - Marked parameterless constructor of
InputMediaVideoas obsolete. An overload is provided.
- Property
ParseModeto requests with a captionEditMessageCaptionRequestEditInlineMessageCaptionRequest
- Parameter
parseModeto methodITelegramBotClient.EditMessageCaptionAsync
- New enum member
MessageEntityType.PhoneNumber - New enum member
MessageEntityType.Unknown
- Exception during deserialization of unknown message entity type
MakeRequestAsyncthrowsApiRequestExceptionwithErrorCode = HttpStatusCode.UnauthorizedandMessage = apiResponse.Description("Unauthorized"), to be consistent with Telegram Bot APITelegramBotClientctor does not check API token format: Telegram Bot API does not provide token format specificationTestApiAsyncreturnfalsewhenApiRequestException.ErrorCode == 401(API Token is modified or recalled)- Stop catching user exceptions from event handlers
- Make
Message.IsForwardproperty obsolete
EditMessageTextAsyncpassParseModeto request
- Implicit cast of
IEnumerable<InlineKeyboardButton>[]toInlineKeyboardMarkup - Implicit cast of
InlineKeyboardButton[]toInlineKeyboardMarkup - Exception
InvalidGameShortNameException - Exception
InvalidQueryIdException
- Made
callbackGameparameter ofInlineKeyboardButton.WithCallBackGameoptional Newtonsoft.Jsonupdated to version11.0.2
- Assigning param
foursquareIdofSendInvoiceAsyncmethod to its request - Access modifier of abstract class
BadRequestExceptionandForbiddenExceptionctors toprotected
- Parameterless ctor of
InlineKeyboardMarkup - Exception
BotBlockedException - Exception
BotRestrictedException - Exception
MissingParameterException - Exception
NotEnoughRightsException - Exception
WrongChatTypeException
- Property
Message.MediaGroupId - Property
ICaptionInlineQueryResult.ParseMode - Property
ParseModeto inline query results with a captionInlineQueryResultPhotoInlineQueryResultGifInlineQueryResultCachedMpeg4GifInlineQueryResultVideoInlineQueryResultAudioInlineQueryResultVoiceInlineQueryResultDocumentInlineQueryResultCachedPhotoInlineQueryResultCachedGifInlineQueryResultCachedMpeg4GifInlineQueryResultCachedDocumentInlineQueryResultVideoInlineQueryResultCachedVoiceInlineQueryResultCachedAudio
- Support for Bot API v3.6
- Override equality comparison for
Usertype - Property
ParseModeto file requests with a captionSendVideoRequestSendPhotoRequestSendAudioRequestSendDocumentRequestSendVoiceRequest
- Property
InputMediaBase.ParseMode - Property
SendVideoRequest.SupportsStreaming - Property
InputMediaVideo.SupportsStreaming - Property
Message.ConnectedWebsite - Parameter
parseModeto methodsITelegramBotClient.SendVideoAsyncITelegramBotClient.SendAudioAsyncITelegramBotClient.SendPhotoAsyncITelegramBotClient.SendDocumentAsyncITelegramBotClient.SendVoiceAsync
- Parameter
supportsStreamingto methodITelegramBotClient.SendVideoAsync - New members to enum
MessageTypeWebsiteConnectedChatMembersAddedChatMemberLeftChatTitleChangedChatPhotoChangedMessagePinnedChatPhotoDeletedGroupCreatedSupergroupCreatedChannelCreatedMigratedToSupergroupMigratedFromGroup
- Exception
MessageIsNotModifiedException
- Changed
InputMessageContentto abstract classInputMessageContentBase - Access modifier of parameterless ctors of all
InlineQueryResultandInputMessageContenttypes toprivate
- Renamed
InputVenueMessageContent.NametoInputVenueMessageContent.Title - Property
Message.Typereturns correct value after group chat migration
- Enum member
MessageType.Service
- Type
InvalidParameterException - Type
FileBase
- Moved all types in namespace
Telegram.Bot.Types.InputMessageContentsto namespaceTelegram.Bot.Types.InlineQueryResults - Value names of enums
MessageTypeandUpdateType
- Property
File.Stream - Property
FilePathfrom TypesAudio,Document,PhotoSize,Sticker,Video,VideoNote, andVoice - Property
Message.NewChatMember
- More
PaymentTestscases - 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
InlineQueryResultand all derived classes - Property
InlineQueryResultVoice.Caption
- Type
- All keyboard button classes inherit
IKeyboardButtoninterface - All keyboard buttons moved to namespace
Telegram.Bot.Types.ReplyMarkups.Buttons - Renamed type
ReplyMarkuptoReplyMarkupBase - Renamed type
ForceReplytoForceReplyMarkup InlineQueryResultto abstract
- All specific
KeyboardButtontypes - All specific
InlineKeyboardButtontypes - Implicit cast of
InlineKeyboardButtontoKeyboardButton - Type
InlineQueryResultNew - Type
InlineQueryResultCached - Property
InlineQueryResult.Title - Property
InlineQueryResult.InputMessageContent - Property
InlineQueryResultAudio.FileId - JSON serialization attribute
Required.Alwaysof propertyInlineQueryResultAudio.Duration
- Invalid default value for
SwitchInlineQueryCurrentChatinInlineKeyboardSwitchInlineQueryCurrentChatButtonconstructor
- 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
- Type of parameter
allowedUpdatesin methodSetWebhookAsyncchanged toIEnumerable<UpdateType> - Type of parameter
allowedUpdatesin methodGetUpdatesAsyncchanged toIEnumerable<UpdateType> - Type of parameter
offsetin methodGetUserProfilePhotosAsyncchanged toint - Type of parameter
replyMarkupin methodsEditMessageLiveLocationAsyncchanged toInlineKeyboardMarkup - Type of parameter
replyMarkupin methodsStopMessageLiveLocationAsyncchanged toInlineKeyboardMarkup - Type of parameter
replyMarkupin methodEditMessageTextAsyncchanged toInlineKeyboardMarkup - Type of parameter
replyMarkupin methodEditMessageCaptionAsyncchanged toInlineKeyboardMarkup - Type of parameter
replyMarkupin methodEditMessageReplyMarkupAsyncchanged toInlineKeyboardMarkup - Type of parameter
replyMarkupin methodSendGameAsyncchanged toInlineKeyboardMarkup - Type of parameter
replyMarkupin methodSendInvoiceAsyncchanged toInlineKeyboardMarkup - Type of parameter
pricesin methodSendInvoiceAsyncchanged toIEnumerable<LabeledPrice> - Type of parameter
shippingOptionsin methodAnswerShippingQueryAsyncchanged toIEnumerable<ShippingOption> - Type of parameter
chatIdin methodSendInvoiceAsyncchanged toint - Type of parameter
chatIdin methodSendGameAsyncchanged tolong - Type of parameter
chatIdin methodsSetGameScoreAsyncchanged tolong - Type of parameter
chatIdin methodsGetGameHighScoresAsyncchanged tolong - Type parameter of type
SendMediaGroupRequestchanged toMessage[] - Return type of method
GetChatIdFromTesterAsyncinTestFixturechanged toTask<long> - Type of property
TesterPrivateChatIdon typePaymentTestsFixturechanged tolong - Replace method
EditInlineMessageTextAsyncwith overload forEditMessageTextAsync - Replace method
EditInlineMessageCaptionAsyncwith overload forEditMessageCaptionAsync - Replace method
EditInlineMessageReplyMarkupAsyncwith overload forEditMessageReplyMarkupAsync - Reorder parameters of method
SendInvoiceAsync - Divide
AnswerShippingQueryAsyncmethod into two overloads - Divide
AnswerPreCheckoutQueryAsyncmethod into two overloads - Method
CreateNewStickerSetAsyncrenamed 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.StickersfromList<Sticker>toSticker[] - Type of
ChatMemberproperties to nullable e.g.booltobool? - Type of
Message.EntitiesfromList<MessageEntity>toMessageEntity[] - Type of
Message.CaptionEntitiesfromList<MessageEntity>toMessageEntity[] - Type of
Message.EntityValuesfromList<string>toIEnumerable<string> - Type
InputMediaTypetoInputMedia - Type
InputMediaTypeConvertertoInputMediaConverter - Changed member type from
FileToSendto an implementation ofIInputFile- Parameter
certificateof methodSetWebhookAsync - Parameter
photoof methodSendPhotoAsync - Parameter
videoof methodSendVideoAsync - Parameter
videoNoteof methodSendVideoNoteAsync - Parameter
documentof methodSendDocumentAsync - Parameter
stickerof methodSendStickerAsync - Parameter
pngStickerof methodUploadStickerFileAsync - Parameter
pngStickerof methodCreateNewStickerSetAsync - Parameter
pngStickerof methodAddStickerToSetAsync - Parameter
photoof methodSetChatPhotoAsync - Parameter
audioof methodSendAudioAsync
- Parameter
- Type
FileToSend - Interface
IResponse - Type parameter constraint from interface
IRequest - Redundant parameter
editMessagein methodsSetGameScoreAsync - Redundant custom converter
ParseModeConverter - Value
AllfromUpdateTypeenum - Value
UnknownfromFileTypeenum - Default value of parameter
urlof methodSetWebhookAsync - Property
WidthofVideoNote - Property
HeightofVideoNote - Property
ZoomofMaskPosition
- Method
SetWebhookAsyncinterfaceITelegramBotClientreturnsboolon success - Passing wrong
chatIdvalue in methodGetGameHighScoresAsync - Passing wrong
chatIdvalue in methodSendGameAsync - Passing wrong
chatIdvalue in methodSendInvoiceAsync - Passing wrong
replyMarkupvalue in methodSendGameAsync - Passing wrong
replyMarkupvalue in methodSendInvoiceAsync - Passing wrong
replyMarkupvalue in methodEditMessageLiveLocationAsync - Passing wrong
replyMarkupvalue in methodEditMessageReplyMarkupAsync - Passing wrong
replyMarkupvalue in methodEditMessageCaptionAsync - Passing wrong
replyMarkupvalue in methodEditMessageTextAsync - Passing wrong
replyMarkupvalue in methodStopMessageLiveLocationAsync - Passing wrong
pngStickervalue in methodUploadStickerFileAsync - Passing wrong
photovalue in methodSetChatPhotoAsync - Passing wrong
certificatevalue in methodSetWebhookAsync - Incorrect spelling of the method
CreateNewStickerSetAsync TestApiAsync()throws exception instead of returningfalse
Stickerstest casesStickerOwnerUserIdparameter to Systems Integration Tests settings- Exception
ChatNotFoundException - Exception
ContactRequestException - Exception
InvalidUserIdException - Exception
UserNotFoundException - Exception
InvalidStickerSetNameException - Exception
InvalidStickerEmojisException - Exception
InvalidStickerDimensionsException - Exception
StickerSetNameExistsException - Exception
StickerSetNotModifiedException
- Include XML docs in NuGet package
- Default snake-cased property name serialization
- Support for Bot API 3.5
- Method
SendMediaGroupAsync - Types
InputFileBaseandInputMediaBase - Test Collection
AlbumMessageTests - Test Collection
ChannelAdminBotTests
ToDo
ToDo
- Systems integrations test project
- Sandcastle project moved to
docsbranch - TravisCI configurations to run systems integrations tests
- Quoting the string containing channel ids
- Double escaping the escape character in the caption of messages
- Serialization errors of
PhotoSize - Sending wrong filenames containing non-ASCII characters
- Deserialization of
PhotoSize
- Method
KickChatMemberAsyncparameteruntilDate - Method
RestrictChatMemberAsync - Method
PromoteChatMemberAsync - Method
ExportChatInviteLinkAsync - Method
SetChatPhotoAsync - Method
DeleteChatPhotoAsync - Method
SetChatTitleAsync - Method
SetChatDescriptionAsync - Method
PinChatMessageAsync - Method
UnpinChatMessageAsync - Method
SendVideoNoteAsyncparameterlength - Method
GetStickerSetAsync - Method
UploadStickerFileAsync - Method
CreateNewStickerSetAsync - Method
AddStickerToSetAsync - Method
SetStickerPositionInSetAsync - Method
DeleteStickerFromSetAsync - Type
VideoNotepropertyLength - Type
ChatpropertiesPhoto,Description,InviteLink - Type
ChatMemberpropertiesUntilDate,Can* - Type
StickerpropertiesSetNameandMaskPosition - Type
MaskPosition - Type
StickerSet - Type
ChatPhoto - Types
InlineKeyboard*Button - Enum
MaskPositionPoint
- User and Chat Ids reverted to base types
- DateTimes are now in local time zone
- Split Keyboard buttons to
InlineKeyboardCallbackButton,InlineKeyboardCallbackGameButton,InlineKeyboardPayButton,InlineKeyboardSwitchCallbackQueryCurrentButton,InlineKeyboardSwitchInlineQueryButtonandInlineKeyboardUrlButton
- Inline message editing
- InlineQueryResult*
ThumbHightandThumbWidth - Method
SetWebHookAsyncparametermax_connections - Method
SetGameStoreAsync - Type
CallbackQueryPropertyDataoptimal - Type
Messagecan now be aVideoNoteMessage
- Method
DeleteMessageAsync - Method
SendVideoNoteAsync - Method
SendInvoiceAsync - Method
AnswerShippingQueryAsync - Method
AnswerPreCheckoutQueryAsync - Type
Invoice - Type
LabeledPrice - Type
ShippingAddress - Type
ShippingOption - Type
ShippingQuery - Type
SuccessfulPayment - Type
OrderInfo - Type
PreCheckoutQuery - Type
VideoNote - Type
MessagepropertiesVideoNote,InvoiceandSuccessfulPayment - Type
UserpropertyLanguageCode - Type
UpdatepropertiesShippingQueryandPreCheckoutQuery - Type
InlineQueryResultGifpropertyDuration - Type
InlineQueryResultMpeg4GifpropertyDuration - Type
InlineKeyboardButtonpropertyPay - Enum
ChatActionmembersRecordVideoNoteandUploadVideoNote - Enum
UpdateTypemembersShippingQueryandPreCheckoutQuery
- Property
NewChatMemberreplaced withNewChatMemberson TypeMessage
- Method
SetWebHookAsyncparametersmaxConnections,allowedUpdates - Method
AnswerCallbackQueryAsyncparametercacheTime - Method
StartReceivingparameterallowedUpdates - Method
DeleteWebhookAsync - Method
GetWebhookInfoAsync - Type
ApiExceptionspropertyParameters - Type
InlineKeyboardButtonpropertySwitchInlineQueryCurrentChat - Type
ResponseParameters - Type
WebhookInfo - Type
ChatId - Type
ChatpropertyAllMembersAreAdministrators - Type
MessagepropertyForwardFromMessageId - Type
UpdatepropertyChannelPost,EditedChannelPost - Event
OnReceiveGeneralError - Enum
UpdateTypememberChannelPost,EditedChannelPost - Enum
FileType - Game Support
- Method
SetGameScoreAsync - Method
SendGameAsync - Method
GetGameHighScoresAsync - Method
AnswerCallbackQueryAsyncparameterurl - Type
Animation - Type
CallbackGame - Type
CallbackQuerypropertiesChatInstance,GameShortName - Type
GameHighScore - Type
InlineKeyboardButtonpropertyCallbackGame - Type
InlineQueryResults - Type
MessagepropertyGame - Enum
InlineQueryResultTypememberGame - Enum
MessageTypememberGame
- Method
- Now the
HttpClientwill be reused - Consolidated timeouts
- To use a proxy, use the constructor
- Unified the
chatIdparameters - Replaced
ReplyKeyboardHidewithReplyKeyboardRemove - Replaced all file sending overloads with
FileToSend
- Removed deprecated API class
- Removed deprecated methods and events
- Removed
StartReceivingoverload withtimeoutparameter