@grammyjs/types
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -75,3 +75,3 @@ import type { Chat, User } from "./manage.js"; | ||
id: string; | ||
/** A valid URL of the photo. Photo must be in jpeg format. Photo size must not exceed 5MB */ | ||
/** A valid URL of the photo. Photo must be in JPEG format. Photo size must not exceed 5MB */ | ||
photo_url: string; | ||
@@ -123,2 +123,4 @@ /** URL of the thumbnail for the photo */ | ||
parse_mode?: ParseMode; | ||
/** List of special entities that appear in the caption, which can be specified instead of parse_mode */ | ||
caption_entities?: MessageEntity[]; | ||
/** Inline keyboard attached to the message */ | ||
@@ -153,2 +155,4 @@ reply_markup?: InlineKeyboardMarkup; | ||
parse_mode?: ParseMode; | ||
/** List of special entities that appear in the caption, which can be specified instead of parse_mode */ | ||
caption_entities?: MessageEntity[]; | ||
/** Inline keyboard attached to the message */ | ||
@@ -161,3 +165,3 @@ reply_markup?: InlineKeyboardMarkup; | ||
If an InlineQueryResultVideo message contains an embedded video (e.g., YouTube), you must replace its content using input_message_content. */ | ||
> If an InlineQueryResultVideo message contains an embedded video (e.g., YouTube), you must replace its content using input_message_content. */ | ||
export interface InlineQueryResultVideo { | ||
@@ -238,2 +242,4 @@ /** Type of the result, must be video */ | ||
parse_mode?: ParseMode; | ||
/** List of special entities that appear in the caption, which can be specified instead of parse_mode */ | ||
caption_entities?: MessageEntity[]; | ||
/** Recording duration in seconds */ | ||
@@ -297,5 +303,5 @@ voice_duration?: number; | ||
live_period?: number; | ||
/** The direction in which user is moving, in degrees; 1-360. For active live locations only. */ | ||
/** For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified. */ | ||
heading?: number; | ||
/** The maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only. */ | ||
/** For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified. */ | ||
proximity_alert_radius?: number; | ||
@@ -425,2 +431,4 @@ /** Inline keyboard attached to the message */ | ||
parse_mode?: ParseMode; | ||
/** List of special entities that appear in the caption, which can be specified instead of parse_mode */ | ||
caption_entities?: MessageEntity[]; | ||
/** Inline keyboard attached to the message */ | ||
@@ -445,2 +453,4 @@ reply_markup?: InlineKeyboardMarkup; | ||
parse_mode?: ParseMode; | ||
/** List of special entities that appear in the caption, which can be specified instead of parse_mode */ | ||
caption_entities?: MessageEntity[]; | ||
/** Inline keyboard attached to the message */ | ||
@@ -453,4 +463,3 @@ reply_markup?: InlineKeyboardMarkup; | ||
Note: This will only work in Telegram versions released after 9 April, 2016 for static stickers and after 06 July, 2019 for animated stickers. Older clients will ignore them. | ||
*/ | ||
Note: This will only work in Telegram versions released after 9 April, 2016 for static stickers and after 06 July, 2019 for animated stickers. Older clients will ignore them. */ | ||
export interface InlineQueryResultCachedSticker { | ||
@@ -532,2 +541,4 @@ /** Type of the result, must be sticker */ | ||
parse_mode?: ParseMode; | ||
/** List of special entities that appear in the caption, which can be specified instead of parse_mode */ | ||
caption_entities?: MessageEntity[]; | ||
/** Inline keyboard attached to the message */ | ||
@@ -534,0 +545,0 @@ reply_markup?: InlineKeyboardMarkup; |
{ | ||
"name": "@grammyjs/types", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"description": "Telegram Bot API type declarations for grammY", | ||
@@ -5,0 +5,0 @@ "main": "mod.js", |
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
281980
4145