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

@grammyjs/types

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grammyjs/types - npm Package Compare versions

Comparing version 3.6.0 to 3.6.1

2

manage.d.ts

@@ -600,5 +600,5 @@ import type { Location, Message, PhotoSize, ReactionType, Sticker } from "./message.js";

/** Information about a chat in the business account. The bot may not have access to the chat or the corresponding user. */
chat: Chat;
chat: Chat.PrivateChat;
/** A JSON-serialized list of identifiers of deleted messages in the chat of the business account */
message_ids: number[];
}
{
"name": "@grammyjs/types",
"version": "3.6.0",
"version": "3.6.1",
"description": "Telegram Bot API type declarations for grammY",

@@ -5,0 +5,0 @@ "main": "mod.js",

@@ -8,2 +8,6 @@ import type { ChosenInlineResult, InlineQuery } from "./inline.js";

export declare namespace Update {
/** Internal type holding properties that message updates in private chats share. */
interface Private {
chat: Chat.PrivateChat;
}
/** Internal type holding properties that message updates in channels share. */

@@ -40,5 +44,5 @@ interface Channel {

/** New non-service message from a connected business account */
business_message?: Message;
business_message?: Message & Update.Private;
/** New version of a message from a connected business account */
edited_business_message?: Message;
edited_business_message?: Message & Update.Edited & Update.Private;
/** Messages were deleted from a connected business account */

@@ -45,0 +49,0 @@ deleted_business_messages?: BusinessMessagesDeleted;

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