[PR #569] [CLOSED] Bump telegram-bot/api from 2.3.24 to 2.4.0 #591

Closed
opened 2026-02-26 06:31:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nextcloud/twofactor_gateway/pull/569
Author: @dependabot[bot]
Created: 5/20/2023
Status: Closed

Base: masterHead: dependabot/composer/telegram-bot/api-2.4.0


📝 Commits (1)

  • 24b933b Bump telegram-bot/api from 2.3.24 to 2.4.0

📊 Changes

1 file changed (+11 additions, -10 deletions)

View changed files

📝 composer.lock (+11 -10)

📄 Description

Bumps telegram-bot/api from 2.3.24 to 2.4.0.

Changelog

Sourced from telegram-bot/api's changelog.

2.4.0 - 2023-05-11

Added

  • Add \TelegramBot\Api\Types\Venue mapping (foursquare_type, google_place_id, google_place_type)
  • Add scope and languageCode parameters to \TelegramBot\Api\BotApi::setMyCommands
  • Add WebApp support: \TelegramBot\Api\BotApi::answerWebAppQuery method and \TelegramBot\Api\Types\Message::$webAppData property
  • Add \TelegramBot\Api\Types\ReplyKeyboardMarkup::$isPersistent property
  • Add \TelegramBot\Api\Types\ReplyKeyboardMarkup::$inputFieldPlaceholder property

Fixed

  • Fix \TelegramBot\Api\Collection\Collection::addItem max count constraint (#333)
  • Fix \TelegramBot\Api\Types\StickerSet mapping
  • Fix \TelegramBot\Api\BotApi::copyMessage not returning \TelegramBot\Api\Types\MessageId
  • Fix new $messageThreadId parameter in \TelegramBot\Api\BotApi methods placed not in the end of the list of parameters

Changed

  • \TelegramBot\Api\BotApi::getMyCommands now returns instance \TelegramBot\Api\Types\ArrayOfBotCommand instead of \TelegramBot\Api\Types\BotCommand array
  • \TelegramBot\Api\BotApi::setMyCommands now accepts instance of \TelegramBot\Api\Types\ArrayOfBotCommand instead of \TelegramBot\Api\Types\BotCommand array

Deprecated

  • Deprecate \TelegramBot\Api\Botan class
  • Deprecate $trackerToken parameter in \TelegramBot\Api\BotApi::__construct
  • Deprecate $trackerToken parameter in \TelegramBot\Api\Events\EventCollection::__construct
  • Deprecate \TelegramBot\Api\Types\PollAnswer::getFrom use \TelegramBot\Api\Types\PollAnswer::getUser instead
  • Deprecate passing array of BotCommand to \TelegramBot\Api\BotApi::setMyCommands. Use \TelegramBot\Api\Types\ArrayOfBotCommand instead
Commits
  • 7bf5721 Merge pull request #428 from BoShurik/release
  • 78eaab4 Prepare release
  • 1eb8328 Merge pull request #427 from BoShurik/fix-bc-brake
  • fa8e767 Fix $messageThreadId parameter BC brake
  • 78ca7ba Merge pull request #425 from BoShurik/input_field_placeholder
  • 5f7ab4c ReplyKeyboardMarkup::$inputFieldPlaceholder
  • fea7c3e Merge pull request #424 from BoShurik/changelog
  • f688ef1 CHANGELOG
  • 2c8fc07 Merge pull request #422 from eerzho/fix/add-field-in-keyboard
  • e07ac2b Add ReplyKeyboardMarkup::$isPersistent tests
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nextcloud/twofactor_gateway/pull/569 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/20/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/composer/telegram-bot/api-2.4.0` --- ### 📝 Commits (1) - [`24b933b`](https://github.com/nextcloud/twofactor_gateway/commit/24b933b70e042a8d02f5f2aeaad041f2228a7f46) Bump telegram-bot/api from 2.3.24 to 2.4.0 ### 📊 Changes **1 file changed** (+11 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `composer.lock` (+11 -10) </details> ### 📄 Description Bumps [telegram-bot/api](https://github.com/TelegramBot/Api) from 2.3.24 to 2.4.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/TelegramBot/Api/blob/master/CHANGELOG.md">telegram-bot/api's changelog</a>.</em></p> <blockquote> <h2>2.4.0 - 2023-05-11</h2> <h3>Added</h3> <ul> <li>Add <code>\TelegramBot\Api\Types\Venue</code> mapping (<code>foursquare_type</code>, <code>google_place_id</code>, <code>google_place_type</code>)</li> <li>Add <code>scope</code> and <code>languageCode</code> parameters to <code>\TelegramBot\Api\BotApi::setMyCommands</code></li> <li>Add WebApp support: <code>\TelegramBot\Api\BotApi::answerWebAppQuery</code> method and <code>\TelegramBot\Api\Types\Message::$webAppData</code> property</li> <li>Add <code>\TelegramBot\Api\Types\ReplyKeyboardMarkup::$isPersistent</code> property</li> <li>Add <code>\TelegramBot\Api\Types\ReplyKeyboardMarkup::$inputFieldPlaceholder</code> property</li> </ul> <h3>Fixed</h3> <ul> <li>Fix <code>\TelegramBot\Api\Collection\Collection::addItem</code> max count constraint (<a href="https://redirect.github.com/TelegramBot/Api/issues/333">#333</a>)</li> <li>Fix <code>\TelegramBot\Api\Types\StickerSet</code> mapping</li> <li>Fix <code>\TelegramBot\Api\BotApi::copyMessage</code> not returning <code>\TelegramBot\Api\Types\MessageId</code></li> <li>Fix new <code>$messageThreadId</code> parameter in <code>\TelegramBot\Api\BotApi</code> methods placed not in the end of the list of parameters</li> </ul> <h3>Changed</h3> <ul> <li><code>\TelegramBot\Api\BotApi::getMyCommands</code> now returns instance <code>\TelegramBot\Api\Types\ArrayOfBotCommand</code> instead of <code>\TelegramBot\Api\Types\BotCommand</code> array</li> <li><code>\TelegramBot\Api\BotApi::setMyCommands</code> now accepts instance of <code>\TelegramBot\Api\Types\ArrayOfBotCommand</code> instead of <code>\TelegramBot\Api\Types\BotCommand</code> array</li> </ul> <h3>Deprecated</h3> <ul> <li>Deprecate <code>\TelegramBot\Api\Botan</code> class</li> <li>Deprecate <code>$trackerToken</code> parameter in <code>\TelegramBot\Api\BotApi::__construct</code></li> <li>Deprecate <code>$trackerToken</code> parameter in <code>\TelegramBot\Api\Events\EventCollection::__construct</code></li> <li>Deprecate <code>\TelegramBot\Api\Types\PollAnswer::getFrom</code> use <code>\TelegramBot\Api\Types\PollAnswer::getUser</code> instead</li> <li>Deprecate passing array of BotCommand to <code>\TelegramBot\Api\BotApi::setMyCommands</code>. Use <code>\TelegramBot\Api\Types\ArrayOfBotCommand</code> instead</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/TelegramBot/Api/commit/7bf57218c5b03df490a97e166b96d064291b9ab2"><code>7bf5721</code></a> Merge pull request <a href="https://redirect.github.com/TelegramBot/Api/issues/428">#428</a> from BoShurik/release</li> <li><a href="https://github.com/TelegramBot/Api/commit/78eaab45844020f3ec850c925855dd135391a537"><code>78eaab4</code></a> Prepare release</li> <li><a href="https://github.com/TelegramBot/Api/commit/1eb832840a86366bf6b9f7032ea9b65da9173328"><code>1eb8328</code></a> Merge pull request <a href="https://redirect.github.com/TelegramBot/Api/issues/427">#427</a> from BoShurik/fix-bc-brake</li> <li><a href="https://github.com/TelegramBot/Api/commit/fa8e7676570aa78e3a4f0d9cd077401e300958f3"><code>fa8e767</code></a> Fix $messageThreadId parameter BC brake</li> <li><a href="https://github.com/TelegramBot/Api/commit/78ca7ba77ae6fb699bdd655ffdfaf07cc762d5d6"><code>78ca7ba</code></a> Merge pull request <a href="https://redirect.github.com/TelegramBot/Api/issues/425">#425</a> from BoShurik/input_field_placeholder</li> <li><a href="https://github.com/TelegramBot/Api/commit/5f7ab4c40267612c10ee4f9a328e1e19fa77edb5"><code>5f7ab4c</code></a> ReplyKeyboardMarkup::$inputFieldPlaceholder</li> <li><a href="https://github.com/TelegramBot/Api/commit/fea7c3e5226ee15168ecda0d68b6fc18e54760ff"><code>fea7c3e</code></a> Merge pull request <a href="https://redirect.github.com/TelegramBot/Api/issues/424">#424</a> from BoShurik/changelog</li> <li><a href="https://github.com/TelegramBot/Api/commit/f688ef1c8c178feb843444799f23f405321e07ab"><code>f688ef1</code></a> CHANGELOG</li> <li><a href="https://github.com/TelegramBot/Api/commit/2c8fc0744e16cbfe898a7235722f433c73325142"><code>2c8fc07</code></a> Merge pull request <a href="https://redirect.github.com/TelegramBot/Api/issues/422">#422</a> from eerzho/fix/add-field-in-keyboard</li> <li><a href="https://github.com/TelegramBot/Api/commit/e07ac2b411ee5567cdaa927b4343ae6425cafb84"><code>e07ac2b</code></a> Add ReplyKeyboardMarkup::$isPersistent tests</li> <li>Additional commits viewable in <a href="https://github.com/TelegramBot/Api/compare/v2.3.24...v2.4.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=telegram-bot/api&package-manager=composer&previous-version=2.3.24&new-version=2.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 06:31:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#591
No description provided.