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

typegram

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typegram - npm Package Compare versions

Comparing version 3.5.1 to 3.6.0

4

inline.d.ts

@@ -33,3 +33,3 @@ import { Chat, User } from "./manage";

export interface UrlButton extends AbstractInlineKeyboardButton {
/** HTTP or tg:// url to be opened when button is pressed */
/** HTTP or tg:// url to be opened when the button is pressed. Links tg://user?id=<user_id> can be used to mention a user by their ID without using a username, if this is allowed by their privacy settings. */
url: string;

@@ -67,3 +67,3 @@ }

NOTE: This type of button must always be the first button in the first row. */
NOTE: This type of button must always be the first button in the first row and can only be used in invoice messages. */
pay: boolean;

@@ -70,0 +70,0 @@ }

@@ -105,2 +105,4 @@ import { Location, Message, PhotoSize } from "./message";

message_auto_delete_time?: number;
/** True, if messages from the chat can't be forwarded to other chats. Returned only in getChat. */
has_protected_content?: true;
}

@@ -132,2 +134,4 @@ /** Internal type holding properties that those group, supergroup, and channel chats returned from `getChat` share. */

bio?: string;
/** True, if privacy settings of the other party in the private chat allows to use tg://user?id=<user_id> links only in chats with the user. Returned only in getChat. */
has_private_forwards?: true;
}

@@ -134,0 +138,0 @@ /** Internal type representing group chats returned from `getChat`. */

@@ -32,2 +32,4 @@ import { InlineKeyboardMarkup } from "./inline";

forward_date?: number;
/** True, if the message is a channel post that was automatically forwarded to the connected discussion group */
is_automatic_forward?: true;
/** For replies, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply. */

@@ -39,2 +41,4 @@ reply_to_message?: ReplyMessage;

edit_date?: number;
/** True, if the message can't be forwarded */
has_protected_content?: true;
/** Signature of the post author for messages in channels, or the custom title of an anonymous group administrator */

@@ -270,4 +274,4 @@ author_signature?: string;

- These links will work only if they are used inside an inline link. For example, they will not work, when used in an inline keyboard button or in a message text.
- These mentions are only guaranteed to work if the user has contacted the bot in the past, has sent a callback query to the bot via inline button or is a member in the group where he was mentioned.
- These links will work only if they are used inside an inline link or in an inline keyboard button. For example, they will not work, when used in a message text.
- These mentions are only guaranteed to work if the user has contacted the bot in the past, has sent a callback query to the bot via an inline button or is a member in the group where he was mentioned.

@@ -274,0 +278,0 @@ #### MarkdownV2 style

{
"name": "typegram",
"version": "3.5.1",
"version": "3.6.0",
"description": "Type declarations for the Telegram API",

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

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