@grammyjs/types
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -224,6 +224,6 @@ import { Location, Message, PhotoSize } from "./message"; | ||
user: User; | ||
/** Custom title for this user */ | ||
custom_title: string; | ||
/** True, if the user's presence in the chat is hidden */ | ||
is_anonymous: boolean; | ||
/** Custom title for this user */ | ||
custom_title?: string; | ||
} | ||
@@ -239,4 +239,2 @@ | ||
can_be_edited: boolean; | ||
/** Custom title for this user */ | ||
custom_title: string; | ||
/** True, if the user's presence in the chat is hidden */ | ||
@@ -246,6 +244,2 @@ is_anonymous: boolean; | ||
can_manage_chat: boolean; | ||
/** True, if the administrator can post in the channel; channels only */ | ||
can_post_messages: boolean; | ||
/** True, if the administrator can edit messages of other users and can pin messages; channels only */ | ||
can_edit_messages: boolean; | ||
/** True, if the administrator can delete messages of other users */ | ||
@@ -263,4 +257,10 @@ can_delete_messages: boolean; | ||
can_invite_users: boolean; | ||
/** True, if the administrator can post in the channel; channels only */ | ||
can_post_messages?: boolean; | ||
/** True, if the administrator can edit messages of other users and can pin messages; channels only */ | ||
can_edit_messages?: boolean; | ||
/** True, if the user is allowed to pin messages; groups and supergroups only */ | ||
can_pin_messages: boolean; | ||
can_pin_messages?: boolean; | ||
/** Custom title for this user */ | ||
custom_title?: string; | ||
} | ||
@@ -267,0 +267,0 @@ |
{ | ||
"name": "@grammyjs/types", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Telegram Bot API type declarations for grammY", | ||
@@ -5,0 +5,0 @@ "main": "index.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
222705