Telegram.Bot v17.0.0-alpha.4 Release Notes

Release Date: 2021-11-06 // 3 months ago
  • Bot API 5.4 (November 5, 2021)

    ➕ Added

    • 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

    🔄 Changed

    • Extension method TelegramBotClientExtensions.EditChatInviteLinkAsync:
      • Added parameters string? name and bool? createsJoinRequest
    • Extension method TelegramBotClientExtensions.CreateChatInviteLinkAsync:
      • Added parameters string? name and bool? createsJoinRequest

    🔄 Changed

    • Fields ChatId.Identifier and ChatId.Username changed into get-only properties

Previous changes from v17.0.0-alpha.3

  • 🔄 Changed

    • 🚚 Method GetInfoAndDownloadFileAsync moved into static class TelegramBotClientExtensions as an extension method
    • 📦 Symbols are always include in the package