New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More β†’
Socket
Sign inDemoInstall
Socket

typescript-telegram-bot-api

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-telegram-bot-api - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

dist/types/AffiliateInfo.d.ts

2

dist/types/index.d.ts

@@ -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 @@ */

11

dist/types/TransactionPartner.d.ts

@@ -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

[![codesandbox](https://img.shields.io/badge/Open_in-sandbox-eaff96)](https://codesandbox.io/p/sandbox/interesting-wave-qgspfs)
[![GitHub](https://img.shields.io/badge/Bot_API-v8.0-0088cc)](https://core.telegram.org/bots/api#november-17-2024)
[![GitHub](https://img.shields.io/badge/Bot_API-v8.1-0088cc)](https://core.telegram.org/bots/api#december-4-2024)

@@ -10,0 +10,0 @@

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