Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Bump telegraf from 4.8.6 to 4.11.2 #103

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 21, 2022

Bumps telegraf from 4.8.6 to 4.11.2.

Release notes

Sourced from telegraf's releases.

v4.11.2

  • Fixed types for sendMediaGroup to accept StreamFile.
  • Only send message_thread_id if is_topic_message is true. Telegram sends message_thread_id for reply messages, even if the group doesn't have topics. This caused the bot to throw when ctx.reply was used against reply messages in non-forums.

v4.11.1

  • Fixed an issue where TypeScript was not able to import "telegraf/filters". Top-level filters.{js|d.ts} were missing in package.json "files" array.

v4.11.0

  • Updated to Typegram 4.1.0 and added the following new methods to Telegram class:
    • createForumTopic
    • editForumTopic
    • closeForumTopic
    • reopenForumTopic
    • deleteForumTopic
    • unpinAllForumTopicMessages
    • getForumTopicIconStickers
  • Added new method shorthands to Context; add message_thread_id implicitly to Context::send* methods.

We've added a new powerful feature called filters! Here's how to use them.

// import our filters
import { message, editedMessage, channelPost, editedChannelPost, callbackQuery } from "telegraf/filters";
// you can also use require, like this:
// const { message, editedMessage, channelPost, editedChannelPost, callbackQuery } = require("telegraf/filters");
const bot = new Telegraf(token);
bot.on(message("text"), ctx => {
// this is a text message update
// ctx.message.text
});
bot.on(channelPost("video"), ctx => {
// this is a video channel post update
// ctx.channelPost.video
});
bot.on(callbackQuery("game_short_name"), ctx => {
</tr></table>

... (truncated)

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

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 21, 2022
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/telegraf-4.11.2 branch from 5556c74 to 80df651 Compare November 24, 2022 17:54
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/telegraf-4.11.2 branch from 80df651 to 0b12af0 Compare December 8, 2022 15:38
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/telegraf-4.11.2 branch 2 times, most recently from d26d6d9 to 6b5b2fa Compare January 16, 2023 07:22
Bumps [telegraf](https://github.com/telegraf/telegraf) from 4.8.6 to 4.11.2.
- [Release notes](https://github.com/telegraf/telegraf/releases)
- [Commits](https://github.com/telegraf/telegraf/commits/v4.11.2)

---
updated-dependencies:
- dependency-name: telegraf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/telegraf-4.11.2 branch from 6b5b2fa to 8b6d48d Compare February 8, 2023 16:31
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 6, 2023

Superseded by #109.

@dependabot dependabot bot closed this Mar 6, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/telegraf-4.11.2 branch March 6, 2023 05:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants