Releases: justdmitry/NetTelegramBotApi
Releases · justdmitry/NetTelegramBotApi
v5.1: net6.0
TargetFramework updated to net6.0
.
v5.0
- TargetFramework now only
net5.0
, all previous frameworks removed Newtonsoft.Json
replaced withSystem.Text.Json
ITelegramBot
interface added for tests
v4.2.0
Extensions method added to string: MarkdownEncode(this string value)
.
Use it when building markdown message from parts, obtained from "unsafe" sources:
new SendMessage(message.Chat.Id, "Hello, " + message.From.Username?.MarkdownEncode() + "!")
{
ParseMode = SendMessage.ParseModeEnum.Markdown
}
v4.1.0
v.4.0.0: Big update
Telegram API updated up to v2.3 (November 21, 2016). Message editing, games - everything should work except inline mode (see below).
Breaking changes (compared to 3.8.1):
MakeRequestAsync
now throwsBotRequestException
if non-Ok response is received from server.- Typo fixed on
Contact
type:PhoneNumber
wasPhoneNumbet
ReplyKeyboardHide
renamed toReplyKeyboardRemove
(when it had been renamed in API???)- Breaking changes in API 2.3:
- Parameter
EditMessage
replaced withDisableEditMessage
inSetGameScore
- In
ReplyKeyboardRemove
:HideKeyboard
renamed toRemoveKeyboard
- Parameter
Inline mode
Inline mode needs a lot of new classes to be created. Please make PR if you wish to help.
Telegram API v2.1
Many changes to Telegram API added (up to v2.1)
v.3.8.1: netstandard1.3
Upgraded to .NET Core 1.0.0 and netstandard1.3