Socket
Socket
Sign inDemoInstall

@grammyjs/types

Package Overview
Dependencies
Maintainers
3
Versions
84
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.2.0 to 2.2.1

18

manage.d.ts

@@ -224,6 +224,6 @@ import { Location, Message, PhotoSize } from "./message";

user: User;
/** Custom title for this user */
custom_title: string;
/** True, if the user's presence in the chat is hidden */
is_anonymous: boolean;
/** Custom title for this user */
custom_title?: string;
}

@@ -239,4 +239,2 @@

can_be_edited: boolean;
/** Custom title for this user */
custom_title: string;
/** True, if the user's presence in the chat is hidden */

@@ -246,6 +244,2 @@ is_anonymous: boolean;

can_manage_chat: boolean;
/** True, if the administrator can post in the channel; channels only */
can_post_messages: boolean;
/** True, if the administrator can edit messages of other users and can pin messages; channels only */
can_edit_messages: boolean;
/** True, if the administrator can delete messages of other users */

@@ -263,4 +257,10 @@ can_delete_messages: boolean;

can_invite_users: boolean;
/** True, if the administrator can post in the channel; channels only */
can_post_messages?: boolean;
/** True, if the administrator can edit messages of other users and can pin messages; channels only */
can_edit_messages?: boolean;
/** True, if the user is allowed to pin messages; groups and supergroups only */
can_pin_messages: boolean;
can_pin_messages?: boolean;
/** Custom title for this user */
custom_title?: string;
}

@@ -267,0 +267,0 @@

{
"name": "@grammyjs/types",
"version": "2.2.0",
"version": "2.2.1",
"description": "Telegram Bot API type declarations for grammY",

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

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