@telegraf/types
Advanced tools
Comparing version 7.0.0 to 7.0.1
{ | ||
"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" | ||
} | ||
} |
@@ -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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
311003