@grammyjs/types
Advanced tools
Comparing version 3.17.0 to 3.18.0
@@ -58,4 +58,2 @@ import type { Chat, User } from "./manage.js"; | ||
url?: string; | ||
/** Pass True if you don't want the URL to be shown in the message */ | ||
hide_url?: boolean; | ||
/** Short description of the result */ | ||
@@ -107,3 +105,3 @@ description?: string; | ||
id: string; | ||
/** A valid URL for the GIF file. File size must not exceed 1MB */ | ||
/** A valid URL for the GIF file */ | ||
gif_url: string; | ||
@@ -141,3 +139,3 @@ /** Width of the GIF */ | ||
id: string; | ||
/** A valid URL for the MPEG4 file. File size must not exceed 1MB */ | ||
/** A valid URL for the MPEG4 file */ | ||
mpeg4_url: string; | ||
@@ -144,0 +142,0 @@ /** Video width */ |
@@ -139,7 +139,7 @@ import type { Location, Message, PhotoSize, ReactionType, Sticker } from "./message.js"; | ||
title?: undefined; | ||
/** Username, for private chats, supergroups and channels if available */ | ||
/** Username, for private chats, supergroups and channels if available */ | ||
username?: string; | ||
/** First name of the other party in a private chat */ | ||
/** First name of the other party in a private chat */ | ||
first_name: string; | ||
/** Last name of the other party in a private chat */ | ||
/** Last name of the other party in a private chat */ | ||
last_name?: string; | ||
@@ -174,3 +174,3 @@ /** True, if the supergroup chat is a forum (has topics enabled) */ | ||
profile_background_custom_emoji_id?: string; | ||
/** Custom emoji identifier of the emoji status of the chat or the other party in a private chat */ | ||
/** Custom emoji identifier of the emoji status of the chat or the other party in a private chat */ | ||
emoji_status_custom_emoji_id?: string; | ||
@@ -191,3 +191,3 @@ /** Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if any */ | ||
description?: undefined; | ||
/** Primary invite link, for groups, supergroups and channel chats */ | ||
/** Primary invite link, for groups, supergroups and channel chats */ | ||
invite_link?: undefined; | ||
@@ -200,5 +200,5 @@ /** The most recent pinned message (by sending date) */ | ||
slow_mode_delay?: undefined; | ||
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */ | ||
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */ | ||
unrestrict_boost_count?: undefined; | ||
/** The time after which all messages sent to the chat will be automatically deleted; in seconds */ | ||
/** The time after which all messages sent to the chat will be automatically deleted; in seconds */ | ||
message_auto_delete_time?: number; | ||
@@ -234,7 +234,7 @@ /** True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. */ | ||
title: string; | ||
/** Username, for private chats, supergroups and channels if available */ | ||
/** Username, for private chats, supergroups and channels if available */ | ||
username?: undefined; | ||
/** First name of the other party in a private chat */ | ||
/** First name of the other party in a private chat */ | ||
first_name?: undefined; | ||
/** Last name of the other party in a private chat */ | ||
/** Last name of the other party in a private chat */ | ||
last_name?: undefined; | ||
@@ -269,3 +269,3 @@ /** True, if the supergroup chat is a forum (has topics enabled) */ | ||
profile_background_custom_emoji_id?: string; | ||
/** Custom emoji identifier of the emoji status of the chat or the other party in a private chat */ | ||
/** Custom emoji identifier of the emoji status of the chat or the other party in a private chat */ | ||
emoji_status_custom_emoji_id?: string; | ||
@@ -286,3 +286,3 @@ /** Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if any */ | ||
description?: string; | ||
/** Primary invite link, for groups, supergroups and channel chats */ | ||
/** Primary invite link, for groups, supergroups and channel chats */ | ||
invite_link?: string; | ||
@@ -295,5 +295,5 @@ /** The most recent pinned message (by sending date) */ | ||
slow_mode_delay?: undefined; | ||
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */ | ||
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */ | ||
unrestrict_boost_count?: undefined; | ||
/** The time after which all messages sent to the chat will be automatically deleted; in seconds */ | ||
/** The time after which all messages sent to the chat will be automatically deleted; in seconds */ | ||
message_auto_delete_time?: number; | ||
@@ -329,7 +329,7 @@ /** True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. */ | ||
title: string; | ||
/** Username, for private chats, supergroups and channels if available */ | ||
/** Username, for private chats, supergroups and channels if available */ | ||
username?: string; | ||
/** First name of the other party in a private chat */ | ||
/** First name of the other party in a private chat */ | ||
first_name?: undefined; | ||
/** Last name of the other party in a private chat */ | ||
/** Last name of the other party in a private chat */ | ||
last_name?: undefined; | ||
@@ -364,3 +364,3 @@ /** True, if the supergroup chat is a forum (has topics enabled) */ | ||
profile_background_custom_emoji_id?: string; | ||
/** Custom emoji identifier of the emoji status of the chat or the other party in a private chat */ | ||
/** Custom emoji identifier of the emoji status of the chat or the other party in a private chat */ | ||
emoji_status_custom_emoji_id?: string; | ||
@@ -381,3 +381,3 @@ /** Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if any */ | ||
description?: string; | ||
/** Primary invite link, for groups, supergroups and channel chats */ | ||
/** Primary invite link, for groups, supergroups and channel chats */ | ||
invite_link?: string; | ||
@@ -390,5 +390,5 @@ /** The most recent pinned message (by sending date) */ | ||
slow_mode_delay?: number; | ||
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */ | ||
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */ | ||
unrestrict_boost_count?: number; | ||
/** The time after which all messages sent to the chat will be automatically deleted; in seconds */ | ||
/** The time after which all messages sent to the chat will be automatically deleted; in seconds */ | ||
message_auto_delete_time?: number; | ||
@@ -424,7 +424,7 @@ /** True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. */ | ||
title: string; | ||
/** Username, for private chats, supergroups and channels if available */ | ||
/** Username, for private chats, supergroups and channels if available */ | ||
username?: string; | ||
/** First name of the other party in a private chat */ | ||
/** First name of the other party in a private chat */ | ||
first_name?: undefined; | ||
/** Last name of the other party in a private chat */ | ||
/** Last name of the other party in a private chat */ | ||
last_name?: undefined; | ||
@@ -459,3 +459,3 @@ /** True, if the supergroup chat is a forum (has topics enabled) */ | ||
profile_background_custom_emoji_id?: string; | ||
/** Custom emoji identifier of the emoji status of the chat or the other party in a private chat */ | ||
/** Custom emoji identifier of the emoji status of the chat or the other party in a private chat */ | ||
emoji_status_custom_emoji_id?: string; | ||
@@ -476,3 +476,3 @@ /** Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if any */ | ||
description?: string; | ||
/** Primary invite link, for groups, supergroups and channel chats */ | ||
/** Primary invite link, for groups, supergroups and channel chats */ | ||
invite_link?: string; | ||
@@ -485,5 +485,5 @@ /** The most recent pinned message (by sending date) */ | ||
slow_mode_delay?: undefined; | ||
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */ | ||
/** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */ | ||
unrestrict_boost_count?: undefined; | ||
/** The time after which all messages sent to the chat will be automatically deleted; in seconds */ | ||
/** The time after which all messages sent to the chat will be automatically deleted; in seconds */ | ||
message_auto_delete_time?: number; | ||
@@ -490,0 +490,0 @@ /** True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. */ |
{ | ||
"name": "@grammyjs/types", | ||
"version": "3.17.0", | ||
"version": "3.18.0", | ||
"description": "Telegram Bot API type declarations for grammY", | ||
@@ -5,0 +5,0 @@ "main": "mod.js", |
@@ -256,2 +256,4 @@ import type { Chat, User } from "./manage.js"; | ||
star_count: number; | ||
/** The number of Telegram Stars that must be paid to upgrade the gift to a unique one */ | ||
upgrade_star_count?: number; | ||
/** The total number of the gifts of this type that can be sent; for limited gifts only */ | ||
@@ -258,0 +260,0 @@ total_count?: number; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
385734
5934