@grammyjs/types
Advanced tools
Comparing version 3.6.0 to 3.6.1
@@ -600,5 +600,5 @@ import type { Location, Message, PhotoSize, ReactionType, Sticker } from "./message.js"; | ||
/** Information about a chat in the business account. The bot may not have access to the chat or the corresponding user. */ | ||
chat: Chat; | ||
chat: Chat.PrivateChat; | ||
/** A JSON-serialized list of identifiers of deleted messages in the chat of the business account */ | ||
message_ids: number[]; | ||
} |
{ | ||
"name": "@grammyjs/types", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "Telegram Bot API type declarations for grammY", | ||
@@ -5,0 +5,0 @@ "main": "mod.js", |
@@ -8,2 +8,6 @@ import type { ChosenInlineResult, InlineQuery } from "./inline.js"; | ||
export declare namespace Update { | ||
/** Internal type holding properties that message updates in private chats share. */ | ||
interface Private { | ||
chat: Chat.PrivateChat; | ||
} | ||
/** Internal type holding properties that message updates in channels share. */ | ||
@@ -40,5 +44,5 @@ interface Channel { | ||
/** New non-service message from a connected business account */ | ||
business_message?: Message; | ||
business_message?: Message & Update.Private; | ||
/** New version of a message from a connected business account */ | ||
edited_business_message?: Message; | ||
edited_business_message?: Message & Update.Edited & Update.Private; | ||
/** Messages were deleted from a connected business account */ | ||
@@ -45,0 +49,0 @@ deleted_business_messages?: BusinessMessagesDeleted; |
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
316965
4759