Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump telegram-bot/api from 2.3.26 to 2.5.0 #94

Merged
merged 3 commits into from
Mar 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

Bumps telegram-bot/api from 2.3.26 to 2.5.0.

Release notes

Sourced from telegram-bot/api's releases.

v2.5.0

CHANGELOG

v2.4.0

No release notes provided.

Changelog

Sourced from telegram-bot/api's changelog.

2.5.0 - 2023-08-09

Added

  • Add missing protect_content and allow_sending_without_reply parameters to \TelegramBot\Api\BotApi methods
  • Add support attach://<file_attach_name> in \TelegramBot\Api\BotApi methods sendMediaGroup, createNewStickerSet, addStickerToSet, editMessageMedia
  • Rename thumb to thumbnail parameter in Animation, Document, Sticker, StickerSet, Video, VideoNote types
  • Rename thumb_* to thumbnail_* parameter in Inline/QueryResult types
  • Add missing phpDoc for $replyMarkup parameters
  • Fix phpDoc for \TelegramBot\Api\BotApi::setWebhook $allowedUpdates parameter. Automatically serialize if array passed
  • Fix phpDoc for \TelegramBot\Api\Types\Message::$newChatMembers
  • Add \TelegramBot\Api\BotApi::getChatMemberCount method
  • Add \TelegramBot\Api\BotApi::banChatMember method
  • Add $messageId to \TelegramBot\Api\BotApi::unpinChatMessage
  • Add \TelegramBot\Api\Types\ForceReply::$inputFieldPlaceholder property

Deprecated

  • Deprecate using thumb* methods in \TelegramBot\Api\BotApi
  • Deprecate method \TelegramBot\Api\BotApi::setStickerSetThumb. Use \TelegramBot\Api\BotApi::setStickerSetThumbnail instead
  • Deprecate \TelegramBot\Api\Types\ReplyKeyboardHide class
  • Deprecate \TelegramBot\Api\BotApi::getChatMembersCount. Use \TelegramBot\Api\BotApi::getChatMemberCount instead
  • Deprecate \TelegramBot\Api\BotApi::kickChatMember. Use \TelegramBot\Api\BotApi::banChatMember instead

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

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [telegram-bot/api](https://github.com/TelegramBot/Api) from 2.3.26 to 2.5.0.
- [Release notes](https://github.com/TelegramBot/Api/releases)
- [Changelog](https://github.com/TelegramBot/Api/blob/master/CHANGELOG.md)
- [Commits](TelegramBot/Api@v2.3.26...v2.5.0)

---
updated-dependencies:
- dependency-name: telegram-bot/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 26, 2024
@inverse inverse merged commit 7dbbb3a into master Mar 2, 2024
5 checks passed
@inverse inverse deleted the dependabot/composer/telegram-bot/api-2.5.0 branch March 2, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant