Telegram.Bot v14.0.0-beta Release Notes

Release Date: 2018-01-03 // over 6 years ago
  • โž• Added

    • โœ… More PaymentTests cases
    • Type IKeyboardButton
    • Implicit cast of string[] to ReplyKeyboardMarkup
    • Implicit cast of string[][] to ReplyKeyboardMarkup
    • 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

    ๐Ÿ”„ Changed

    • All keyboard button classes inherit IKeyboardButton interface
    • ๐Ÿšš All keyboard buttons moved to namespace Telegram.Bot.Types.ReplyMarkups.Buttons
    • ๐Ÿ“‡ Renamed type ReplyMarkup to ReplyMarkupBase
    • ๐Ÿ“‡ Renamed type ForceReply to ForceReplyMarkup
    • InlineQueryResult to abstract

    โœ‚ Removed

    • All specific KeyboardButton types
    • All specific InlineKeyboardButton types
    • Implicit cast of InlineKeyboardButton to KeyboardButton
    • Type InlineQueryResultNew
    • Type InlineQueryResultCached
    • Property InlineQueryResult.Title
    • Property InlineQueryResult.InputMessageContent
    • Property InlineQueryResultAudio.FileId
    • JSON serialization attribute Required.Always of property InlineQueryResultAudio.Duration

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ Invalid default value for SwitchInlineQueryCurrentChat in InlineKeyboardSwitchInlineQueryCurrentChatButton constructor