@grammyjs/types
Advanced tools
Comparing version 3.10.0 to 3.11.0
{ | ||
"name": "@grammyjs/types", | ||
"version": "3.10.0", | ||
"version": "3.11.0", | ||
"description": "Telegram Bot API type declarations for grammY", | ||
@@ -5,0 +5,0 @@ "main": "mod.js", |
@@ -74,2 +74,15 @@ import type { User } from "./manage.js"; | ||
} | ||
/** This object contains basic information about a refunded payment. */ | ||
export interface RefundedPayment { | ||
/** Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars. Currently, always “XTR” */ | ||
currency: string; | ||
/** Total refunded price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). */ | ||
total_amount: number; | ||
/** Bot-specified invoice payload */ | ||
invoice_payload: string; | ||
/** Telegram payment identifier */ | ||
telegram_payment_charge_id: string; | ||
/** Provider payment identifier */ | ||
provider_payment_charge_id?: string; | ||
} | ||
/** This object contains information about an incoming shipping query. */ | ||
@@ -76,0 +89,0 @@ export interface ShippingQuery { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
366251
5672