@grammyjs/types
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -211,3 +211,3 @@ import type { Location, Message, PhotoSize } from "./message.js"; | ||
is_anonymous: boolean; | ||
/** True, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege */ | ||
/** True, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege */ | ||
can_manage_chat: boolean; | ||
@@ -218,3 +218,3 @@ /** True, if the administrator can delete messages of other users */ | ||
can_manage_video_chats: boolean; | ||
/** True, if the administrator can restrict, ban or unban chat members */ | ||
/** True, if the administrator can restrict, ban or unban chat members, or access supergroup statistics */ | ||
can_restrict_members: boolean; | ||
@@ -227,3 +227,3 @@ /** True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by the user) */ | ||
can_invite_users: boolean; | ||
/** True, if the administrator can post messages in the channel; channels only */ | ||
/** True, if the administrator can post messages in the channel, or access channel statistics; channels only */ | ||
can_post_messages?: boolean; | ||
@@ -272,3 +272,3 @@ /** True, if the administrator can edit messages of other users and can pin messages; channels only */ | ||
is_anonymous: boolean; | ||
/** True, if the administrator can access the chat event log, chat statistics, boost list in channels, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege */ | ||
/** True, if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege */ | ||
can_manage_chat: boolean; | ||
@@ -279,3 +279,3 @@ /** True, if the administrator can delete messages of other users */ | ||
can_manage_video_chats: boolean; | ||
/** True, if the administrator can restrict, ban or unban chat members */ | ||
/** True, if the administrator can restrict, ban or unban chat members, or access supergroup statistics */ | ||
can_restrict_members: boolean; | ||
@@ -288,3 +288,3 @@ /** True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by the user) */ | ||
can_invite_users: boolean; | ||
/** True, if the administrator can post messages in the channel; channels only */ | ||
/** True, if the administrator can post messages in the channel, or access channel statistics; channels only */ | ||
can_post_messages?: boolean; | ||
@@ -391,3 +391,3 @@ /** True, if the administrator can edit messages of other users and can pin messages; channels only */ | ||
from: User; | ||
/** Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 24 hours to send messages until the join request is processed, assuming no other administrator contacted the user. */ | ||
/** Identifier of a private chat with the user who sent the join request. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user. */ | ||
user_chat_id: number; | ||
@@ -394,0 +394,0 @@ /** Date the request was sent in Unix time */ |
{ | ||
"name": "@grammyjs/types", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"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
283887