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

@grammyjs/types

Package Overview
Dependencies
Maintainers
0
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.9.0 to 3.10.0

8

manage.d.ts

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

location?: undefined;
/** True, if paid media messages can be sent or forwarded to the channel chat. The field is available only for channel chats. */
can_send_paid_media?: undefined;
}

@@ -307,2 +309,4 @@ /** Internal type for group chats */

location?: undefined;
/** True, if paid media messages can be sent or forwarded to the channel chat. The field is available only for channel chats. */
can_send_paid_media?: undefined;
}

@@ -397,2 +401,4 @@ /** Internal type for supergroup chats */

location?: ChatLocation;
/** True, if paid media messages can be sent or forwarded to the channel chat. The field is available only for channel chats. */
can_send_paid_media?: undefined;
}

@@ -487,2 +493,4 @@ /** Internal type for channel chats */

location?: undefined;
/** True, if paid media messages can be sent or forwarded to the channel chat. The field is available only for channel chats. */
can_send_paid_media?: true;
}

@@ -489,0 +497,0 @@ }

2

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

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

@@ -129,6 +129,16 @@ import type { User } from "./manage.js";

- TransactionPartnerUser
- TransactionPartnerFragment
- TransactionPartnerUser
- TransactionPartnerTelegramAds
- TransactionPartnerOther */
export type TransactionPartner = TransactionPartnerFragment | TransactionPartnerUser | TransactionPartnerOther;
export type TransactionPartner = TransactionPartnerUser | TransactionPartnerFragment | TransactionPartnerTelegramAds | TransactionPartnerOther;
/** Describes a transaction with a user. */
export interface TransactionPartnerUser {
/** Type of the transaction partner, always “user” */
type: "user";
/** Information about the user */
user: User;
/** Bot-specified invoice payload */
invoice_payload?: string;
}
/** Describes a withdrawal transaction with Fragment. */

@@ -141,8 +151,6 @@ export interface TransactionPartnerFragment {

}
/** Describes a transaction with a user. */
export interface TransactionPartnerUser {
/** Type of the transaction partner, always “user” */
type: "user";
/** Information about the user */
user: User;
/** Describes a withdrawal transaction to the Telegram Ads platform. */
export interface TransactionPartnerTelegramAds {
/** Type of the transaction partner, always “telegram_ads” */
type: "telegram_ads";
}

@@ -149,0 +157,0 @@ /** Describes a transaction with an unknown source or recipient. */

@@ -35,3 +35,3 @@ import type { WebAppInfo } from "./markup.js";

text: string;
/** Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. */
/** Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Alternatively, a t.me link to a Web App can be specified in the object instead of the Web App's URL, in which case the Web App will be opened as if the user pressed the link. */
web_app: WebAppInfo;

@@ -38,0 +38,0 @@ }

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

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