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.1.21 to 0.1.22

dist/types/RefundedPayment.d.ts

1

dist/types/index.d.ts

@@ -195,2 +195,3 @@ export * from './Animation';

export * from './SuccessfulPayment';
export * from './RefundedPayment';
export * from './SwitchInlineQueryChosenChat';

@@ -197,0 +198,0 @@ export * from './TextQuote';

@@ -211,2 +211,3 @@ "use strict";

__exportStar(require("./SuccessfulPayment"), exports);
__exportStar(require("./RefundedPayment"), exports);
__exportStar(require("./SwitchInlineQueryChosenChat"), exports);

@@ -213,0 +214,0 @@ __exportStar(require("./TextQuote"), exports);

5

dist/types/Message.d.ts

@@ -1,2 +0,2 @@

import { ExternalReplyInfo, Sticker, Venue, Location, Animation, Document, MaybeInaccessibleMessage, ChatBackground, GiveawayCompleted, MessageEntity, LinkPreviewOptions, Poll, InlineKeyboardMarkup, User, PassportData, Game, PhotoSize, Audio, Chat, TextQuote, Story, WriteAccessAllowed, ProximityAlertTriggered, Giveaway, GiveawayWinners, WebAppData, Voice, VideoNote, VideoChatStarted, VideoChatScheduled, VideoChatEnded, VideoChatParticipantsInvited, SuccessfulPayment, Video, UsersShared, MessageOrigin, MessageAutoDeleteTimerChanged, Invoice, GiveawayCreated, GeneralForumTopicUnhidden, GeneralForumTopicHidden, ForumTopicReopened, ForumTopicEdited, ForumTopicCreated, ForumTopicClosed, Dice, Contact, ChatShared, ChatBoostAdded, PaidMediaInfo } from './';
import { ExternalReplyInfo, Sticker, Venue, Location, Animation, Document, MaybeInaccessibleMessage, ChatBackground, GiveawayCompleted, MessageEntity, LinkPreviewOptions, Poll, InlineKeyboardMarkup, User, PassportData, Game, PhotoSize, Audio, Chat, TextQuote, Story, WriteAccessAllowed, ProximityAlertTriggered, Giveaway, GiveawayWinners, WebAppData, Voice, VideoNote, VideoChatStarted, VideoChatScheduled, VideoChatEnded, VideoChatParticipantsInvited, SuccessfulPayment, RefundedPayment, Video, UsersShared, MessageOrigin, MessageAutoDeleteTimerChanged, Invoice, GiveawayCreated, GeneralForumTopicUnhidden, GeneralForumTopicHidden, ForumTopicReopened, ForumTopicEdited, ForumTopicCreated, ForumTopicClosed, Dice, Contact, ChatShared, ChatBoostAdded, PaidMediaInfo } from './';
export type Message = {

@@ -63,2 +63,3 @@ message_id: number;

successful_payment?: SuccessfulPayment;
refunded_payment?: RefundedPayment;
users_shared?: UsersShared;

@@ -89,5 +90,5 @@ chat_shared?: ChatShared;

};
export declare const messageTypes: readonly ["text", "animation", "audio", "contact", "dice", "document", "game", "invoice", "location", "passport_data", "photo", "pinned_message", "poll", "sticker", "video", "video_note", "voice", "successful_payment", "migrate_from_chat_id", "migrate_to_chat_id", "new_chat_members", "new_chat_photo", "new_chat_title", "left_chat_member", "delete_chat_photo", "group_chat_created", "supergroup_chat_created", "channel_chat_created", "message_auto_delete_timer_changed", "video_chat_scheduled", "video_chat_started", "video_chat_ended", "video_chat_participants_invited", "web_app_data"];
export declare const messageTypes: readonly ["text", "animation", "audio", "contact", "dice", "document", "game", "invoice", "location", "passport_data", "photo", "pinned_message", "poll", "sticker", "video", "video_note", "voice", "successful_payment", "refunded_payment", "migrate_from_chat_id", "migrate_to_chat_id", "new_chat_members", "new_chat_photo", "new_chat_title", "left_chat_member", "delete_chat_photo", "group_chat_created", "supergroup_chat_created", "channel_chat_created", "message_auto_delete_timer_changed", "video_chat_scheduled", "video_chat_started", "video_chat_ended", "video_chat_participants_invited", "web_app_data"];
export type MessageTypes = {
[P in (typeof messageTypes)[number] as `message:${P}`]: Message & Required<Pick<Message, P>>;
};

@@ -23,2 +23,3 @@ "use strict";

'successful_payment',
'refunded_payment',
'migrate_from_chat_id',

@@ -25,0 +26,0 @@ 'migrate_to_chat_id',

{
"type": "commonjs",
"name": "typescript-telegram-bot-api",
"version": "0.1.21",
"version": "0.1.22",
"description": "Telegram Bot API wrapper for Node.js written in TypeScript",

@@ -6,0 +6,0 @@ "repository": "github:Borodin/typescript-telegram-bot-api",

@@ -6,3 +6,3 @@ # 📦 typescript-telegram-bot-api

[![codecov](https://codecov.io/github/Borodin/typescript-telegram-bot-api/graph/badge.svg?token=509N5AZDTV)](https://codecov.io/github/Borodin/typescript-telegram-bot-api)
[![GitHub](https://img.shields.io/badge/Bot_API-v7.6-0088cc)](https://core.telegram.org/bots/api#july-1-2024)
[![GitHub](https://img.shields.io/badge/Bot_API-v7.7-0088cc)](https://core.telegram.org/bots/api#july-7-2024)

@@ -9,0 +9,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