Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@telegraf/types

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telegraf/types - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

5

package.json
{
"name": "@telegraf/types",
"private": false,
"version": "7.0.0",
"version": "7.0.1",
"description": "Type declarations for the Telegram API",

@@ -13,3 +13,2 @@ "main": "index.js",

"telegram",
"grammy",
"telegraf",

@@ -36,4 +35,4 @@ "bot",

"devDependencies": {
"deno-bin": "^1.31.1"
"deno-bin": "^1.40.4"
}
}

10

update.d.ts

@@ -54,7 +54,7 @@ import type { ChosenInlineResult, InlineQuery } from "./inline.js";

}
interface MessageReactionUpdatedUpdate extends AbstractUpdate {
interface MessageReactionUpdate extends AbstractUpdate {
/** A reaction to a message was changed by a user. The bot must be an administrator in the chat and must explicitly specify `"message_reaction"` in the list of allowed_updates to receive these updates. The update isn't received for reactions set by bots. */
message_reaction: MessageReactionUpdated;
}
interface MessageReactionCountUpdatedUpdate extends AbstractUpdate {
interface MessageReactionCountUpdate extends AbstractUpdate {
/** Reactions to a message with anonymous reactions were changed. The bot must be an administrator in the chat and must explicitly specify `"message_reaction_count"` in the list of allowed_updates to receive these updates. */

@@ -103,7 +103,7 @@ message_reaction_count: MessageReactionCountUpdated;

}
interface ChatBoostUpdatedUpdate extends AbstractUpdate {
interface ChatBoostUpdate extends AbstractUpdate {
/** A chat boost was added or changed. The bot must be an administrator in the chat to receive these updates. */
chat_boost: ChatBoostUpdated;
}
interface ChatBoostRemovedUpdate extends AbstractUpdate {
interface RemovedChatBoostUpdate extends AbstractUpdate {
/** A boost was removed from a chat. The bot must be an administrator in the chat to receive these updates. */

@@ -115,2 +115,2 @@ removed_chat_boost: ChatBoostRemoved;

At most one of the optional parameters can be present in any given update. */
export type Update = Update.CallbackQueryUpdate | Update.ChannelPostUpdate | Update.ChatMemberUpdate | Update.ChosenInlineResultUpdate | Update.EditedChannelPostUpdate | Update.EditedMessageUpdate | Update.InlineQueryUpdate | Update.MessageUpdate | Update.MyChatMemberUpdate | Update.PreCheckoutQueryUpdate | Update.PollAnswerUpdate | Update.PollUpdate | Update.ShippingQueryUpdate | Update.ChatJoinRequestUpdate;
export type Update = Update.CallbackQueryUpdate | Update.ChannelPostUpdate | Update.ChatMemberUpdate | Update.ChosenInlineResultUpdate | Update.EditedChannelPostUpdate | Update.MessageReactionUpdate | Update.MessageReactionCountUpdate | Update.EditedMessageUpdate | Update.InlineQueryUpdate | Update.MessageUpdate | Update.MyChatMemberUpdate | Update.PreCheckoutQueryUpdate | Update.PollAnswerUpdate | Update.PollUpdate | Update.ShippingQueryUpdate | Update.ChatJoinRequestUpdate | Update.ChatBoostUpdate | Update.RemovedChatBoostUpdate;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc