@grammyjs/types
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -145,2 +145,6 @@ import type { Location, Message, PhotoSize } from "./message.js"; | ||
export interface SupergroupGetChat extends SupergroupChat, NonGroupGetChat, MultiUserGetChat, LargeGetChat { | ||
/** True, if users need to join the supergroup before they can send messages. Returned only in getChat. */ | ||
join_to_send_messages?: true; | ||
/** True, if all users directly joining the supergroup need to be approved by supergroup administrators. Returned only in getChat. */ | ||
join_by_request?: true; | ||
/** For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user; in seconds. Returned only in getChat. */ | ||
@@ -154,6 +158,2 @@ slow_mode_delay?: number; | ||
location?: ChatLocation; | ||
/** True, if users need to join the supergroup before they can send messages. Returned only in getChat. */ | ||
join_to_send_messages?: true; | ||
/** True, if all users directly joining the supergroup need to be approved by supergroup administrators. Returned only in getChat. */ | ||
join_by_request?: true; | ||
} | ||
@@ -160,0 +160,0 @@ /** Internal type representing channel chats returned from `getChat`. */ |
{ | ||
"name": "@grammyjs/types", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Telegram Bot API type declarations for grammY", | ||
@@ -5,0 +5,0 @@ "main": "mod.js", |
Sorry, the diff of this file is too big to display
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
276547
4068