Socket
Socket
Sign inDemoInstall

@grammyjs/types

Package Overview
Dependencies
Maintainers
1
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 3.2.2 to 3.3.0

20

manage.d.ts

@@ -211,3 +211,3 @@ import type { Location, Message, PhotoSize } from "./message.js";

is_anonymous: boolean;
/** True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege */
/** True, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege */
can_manage_chat: boolean;

@@ -226,3 +226,3 @@ /** True, if the administrator can delete messages of other users */

can_invite_users: boolean;
/** True, if the administrator can post in the channel; channels only */
/** True, if the administrator can post messages in the channel; channels only */
can_post_messages?: boolean;

@@ -233,2 +233,8 @@ /** True, if the administrator can edit messages of other users and can pin messages; channels only */

can_pin_messages?: boolean;
/** True, if the administrator can post stories in the channel; channels only */
can_post_stories?: boolean;
/** True, if the administrator can edit stories posted by other users; channels only */
can_edit_stories?: boolean;
/** True, if the administrator can delete stories posted by other users; channels only */
can_delete_stories?: boolean;
/** True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only */

@@ -266,3 +272,3 @@ can_manage_topics?: boolean;

is_anonymous: boolean;
/** True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege */
/** True, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege */
can_manage_chat: boolean;

@@ -281,3 +287,3 @@ /** True, if the administrator can delete messages of other users */

can_invite_users: boolean;
/** True, if the administrator can post in the channel; channels only */
/** True, if the administrator can post messages in the channel; channels only */
can_post_messages?: boolean;

@@ -288,2 +294,8 @@ /** True, if the administrator can edit messages of other users and can pin messages; channels only */

can_pin_messages?: boolean;
/** True, if the administrator can post stories in the channel; channels only */
can_post_stories?: boolean;
/** True, if the administrator can edit stories posted by other users; channels only */
can_edit_stories?: boolean;
/** True, if the administrator can delete stories posted by other users; channels only */
can_delete_stories?: boolean;
/** True, if the user is allowed to create, rename, close, and reopen forum topics; supergroups only */

@@ -290,0 +302,0 @@ can_manage_topics?: boolean;

10

message.d.ts

@@ -183,3 +183,3 @@ import type { Chat, File, User } from "./manage.js";

connected_website?: string;
/** Service message: the user allowed the bot added to the attachment menu to write messages */
/** Service message: the user allowed the bot to write messages after adding it to the attachment or side menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess */
write_access_allowed?: WriteAccessAllowed;

@@ -631,6 +631,10 @@ /** Telegram Passport data */

}
/** This object represents a service message about a user allowing a bot to write messages after adding the bot to the attachment menu or launching a Web App from a link. */
/** This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess. */
export interface WriteAccessAllowed {
/** Name of the Web App which was launched from a link */
/** True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess */
from_request?: boolean;
/** Name of the Web App, if the access was granted when the Web App was launched from a link */
web_app_name?: string;
/** True, if the access was granted when the bot was added to the attachment or side menu */
from_attachment_menu?: boolean;
}

@@ -637,0 +641,0 @@ /** This object represents a service message about a video chat scheduled in the chat. */

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

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

Sorry, the diff of this file is too big to display

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