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 2.11.0 to 2.11.1

2

package.json
{
"name": "@grammyjs/types",
"version": "2.11.0",
"version": "2.11.1",
"description": "Telegram Bot API type declarations for grammY",

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

@@ -12,4 +12,2 @@ import { CallbackQuery } from "./markup";

chat: Chat.ChannelChat;
author_signature?: string;
from?: never;
}

@@ -19,9 +17,4 @@ /** Internal type holding properties that message updates outside of channels share. */

chat: Exclude<Chat, Chat.ChannelChat>;
author_signature?: never;
from: User;
}
/** Internal type holding properties that updates about new messages share. */
export interface New {
edit_date?: never;
}
/** Internal type holding properties that updates about edited messages share. */

@@ -31,8 +24,2 @@ export interface Edited {

edit_date: number;
forward_from?: never;
forward_from_chat?: never;
forward_from_message_id?: never;
forward_signature?: never;
forward_sender_name?: never;
forward_date?: never;
}

@@ -47,7 +34,7 @@ }

/** New incoming message of any kind - text, photo, sticker, etc. */
message?: Message & Update.New & Update.NonChannel;
message?: Message & Update.NonChannel;
/** New version of a message that is known to the bot and was edited */
edited_message?: Message & Update.Edited & Update.NonChannel;
/** New incoming channel post of any kind - text, photo, sticker, etc. */
channel_post?: Message & Update.New & Update.Channel;
channel_post?: Message & Update.Channel;
/** New version of a channel post that is known to the bot and was edited */

@@ -54,0 +41,0 @@ edited_channel_post?: Message & Update.Edited & Update.Channel;

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