typescript-telegram-bot-api
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -0,1 +1,2 @@ | ||
export * from './AffiliateInfo'; | ||
export * from './Animation'; | ||
@@ -209,2 +210,3 @@ export * from './Audio'; | ||
export * from './TransactionPartner'; | ||
export * from './TransactionPartnerAffiliateProgram'; | ||
export * from './TransactionPartnerFragment'; | ||
@@ -211,0 +213,0 @@ export * from './TransactionPartnerOther'; |
@@ -17,2 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./AffiliateInfo"), exports); | ||
__exportStar(require("./Animation"), exports); | ||
@@ -226,2 +227,3 @@ __exportStar(require("./Audio"), exports); | ||
__exportStar(require("./TransactionPartner"), exports); | ||
__exportStar(require("./TransactionPartnerAffiliateProgram"), exports); | ||
__exportStar(require("./TransactionPartnerFragment"), exports); | ||
@@ -228,0 +230,0 @@ __exportStar(require("./TransactionPartnerOther"), exports); |
@@ -1,2 +0,2 @@ | ||
import { TransactionPartner } from './TransactionPartner'; | ||
import { TransactionPartner } from './'; | ||
/** | ||
@@ -19,2 +19,6 @@ * ## StarTransaction | ||
/** | ||
* Optional. The number of 1/1000000000 shares of Telegram Stars transferred by the transaction; from 0 to 999999999 | ||
*/ | ||
nanostar_amount?: number; | ||
/** | ||
* Date the transaction was created in Unix time | ||
@@ -21,0 +25,0 @@ */ |
@@ -1,6 +0,2 @@ | ||
import { TransactionPartnerFragment } from './TransactionPartnerFragment'; | ||
import { TransactionPartnerUser } from './TransactionPartnerUser'; | ||
import { TransactionPartnerTelegramAds } from './TransactionPartnerTelegramAds'; | ||
import { TransactionPartnerTelegramApi } from './TransactionPartnerTelegramApi'; | ||
import { TransactionPartnerOther } from './TransactionPartnerOther'; | ||
import { TransactionPartnerFragment, TransactionPartnerUser, TransactionPartnerTelegramAds, TransactionPartnerTelegramApi, TransactionPartnerOther, TransactionPartnerAffiliateProgram } from './'; | ||
/** | ||
@@ -10,4 +6,5 @@ * ## TransactionPartner | ||
* one of | ||
* - TransactionPartnerUser | ||
* - TransactionPartnerAffiliateProgram | ||
* - TransactionPartnerFragment | ||
* - TransactionPartnerUser | ||
* - TransactionPartnerTelegramAds | ||
@@ -18,2 +15,2 @@ * - TransactionPartnerTelegramApi | ||
*/ | ||
export type TransactionPartner = TransactionPartnerFragment | TransactionPartnerUser | TransactionPartnerTelegramAds | TransactionPartnerTelegramApi | TransactionPartnerOther; | ||
export type TransactionPartner = TransactionPartnerUser | TransactionPartnerAffiliateProgram | TransactionPartnerFragment | TransactionPartnerTelegramAds | TransactionPartnerTelegramApi | TransactionPartnerOther; |
@@ -1,4 +0,2 @@ | ||
import { User } from './User'; | ||
import { PaidMedia } from './PaidMedia'; | ||
import { Gift } from './Gift'; | ||
import { User, PaidMedia, Gift, AffiliateInfo } from './'; | ||
/** | ||
@@ -19,2 +17,6 @@ * ## TransactionPartnerUser | ||
/** | ||
* Optional. Information about the affiliate that received a commission via this transaction | ||
*/ | ||
affiliate?: AffiliateInfo; | ||
/** | ||
* Optional. Bot-specified invoice payload | ||
@@ -21,0 +23,0 @@ */ |
{ | ||
"type": "commonjs", | ||
"name": "typescript-telegram-bot-api", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Telegram Bot API wrapper for Node.js written in TypeScript", | ||
@@ -6,0 +6,0 @@ "repository": "github:Borodin/typescript-telegram-bot-api", |
@@ -7,3 +7,3 @@ # π¦ typescript-telegram-bot-api | ||
[](https://codesandbox.io/p/sandbox/interesting-wave-qgspfs) | ||
[](https://core.telegram.org/bots/api#november-17-2024) | ||
[](https://core.telegram.org/bots/api#december-4-2024) | ||
@@ -10,0 +10,0 @@ |
467722
469
12199
0