Skip to content

Releases: justdmitry/NetTelegramBotApi

v5.1: net6.0

03 Feb 21:21
v5.1
Compare
Choose a tag to compare

TargetFramework updated to net6.0.

v5.0

03 Feb 21:24
v5.0
Compare
Choose a tag to compare
  • TargetFramework now only net5.0, all previous frameworks removed
  • Newtonsoft.Json replaced with System.Text.Json
  • ITelegramBot interface added for tests

v4.2.0

15 Dec 09:45
v4.2.0
Compare
Choose a tag to compare

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

14 Mar 22:05
v4.1.0
Compare
Choose a tag to compare
  • Issue #46 fixed

v.4.0.0: Big update

25 Nov 14:42
v4.0.0
Compare
Choose a tag to compare

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):

  1. MakeRequestAsync now throws BotRequestException if non-Ok response is received from server.
  2. Typo fixed on Contact type: PhoneNumber was PhoneNumbet
  3. ReplyKeyboardHide renamed to ReplyKeyboardRemove (when it had been renamed in API???)
  4. Breaking changes in API 2.3:
    • Parameter EditMessage replaced with DisableEditMessage in SetGameScore
    • In ReplyKeyboardRemove: HideKeyboard renamed to RemoveKeyboard

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

15 Nov 15:48
v3.9.0-beta1
Compare
Choose a tag to compare
Telegram API v2.1 Pre-release
Pre-release

Many changes to Telegram API added (up to v2.1)

v.3.8.1: netstandard1.3

17 Jul 15:30
v3.8.1
Compare
Choose a tag to compare

Upgraded to .NET Core 1.0.0 and netstandard1.3