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.5.1 to 3.5.2

12

manage.d.ts

@@ -123,4 +123,2 @@ import type { Location, Message, PhotoSize, ReactionType } from "./message.js";

permissions?: ChatPermissions;
/** True, if the bot can change the group sticker set. Returned only in getChat. */
can_set_sticker_set?: true;
}

@@ -163,2 +161,4 @@ /** Internal type holding properties that those private and channel chats returned from `getChat` share. */

slow_mode_delay?: number;
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions. Returned only in getChat. */
unrestrict_boost_count?: number;
/** True, if new chat members will have access to old messages; available only to chat administrators. Returned only in getChat. */

@@ -170,8 +170,8 @@ has_visible_history?: boolean;

sticker_set_name?: string;
/** True, if the bot can change the group sticker set. Returned only in getChat. */
can_set_sticker_set?: true;
/** For supergroups, the name of the group's custom emoji sticker set. Custom emoji from this set can be used by all users and bots in the group. Returned only in getChat. */
custom_emoji_sticker_set_name?: string;
/** For supergroups, the location to which the supergroup is connected. Returned only in getChat. */
location?: ChatLocation;
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions. Returned only in getChat. */
unrestrict_boost_count?: number;
/** For supergroups, the name of the group's custom emoji sticker set. Custom emoji from this set can be used by all users and bots in the group. Returned only in getChat. */
custom_emoji_sticker_set_name?: string;
}

@@ -178,0 +178,0 @@ /** Internal type representing channel chats returned from `getChat`. */

@@ -24,2 +24,4 @@ import type { Chat, User } from "./manage.js";

interface CommonMessage extends ServiceMessage {
/** If the sender of the message boosted the chat, the number of boosts added by the user */
sender_boost_count?: number;
/** Information about the original message for forwarded messages */

@@ -98,2 +100,3 @@ forward_origin?: MessageOrigin;

type ProximityAlertTriggeredMessage = ServiceMessage & MsgWith<"proximity_alert_triggered">;
type BoostAddedMessage = ServiceMessage & MsgWith<"boost_added">;
type ForumTopicCreatedMessage = ServiceMessage & MsgWith<"forum_topic_created">;

@@ -193,2 +196,4 @@ type ForumTopicEditedMessage = ServiceMessage & MsgWith<"forum_topic_edited">;

proximity_alert_triggered?: ProximityAlertTriggered;
/** Service message: user boosted the chat */
boost_added?: ChatBoostAdded;
/** Service message: forum topic created */

@@ -206,6 +211,2 @@ forum_topic_created?: ForumTopicCreated;

general_forum_topic_unhidden?: GeneralForumTopicUnhidden;
/** The message is a service message about a user boosting the chat */
boost_added: ChatBoostAdded;
/** If the sender of the message boosted the chat, the number of boosts added by the user */
sender_boost_count: number;
/** Service message: a scheduled giveaway was created */

@@ -212,0 +213,0 @@ giveaway_created?: GiveawayCreated;

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

@@ -5,0 +5,0 @@ "main": "mod.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