@grammyjs/types 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proxied.d.ts +1 -8
package/package.json
CHANGED
package/proxied.d.ts
CHANGED
|
@@ -722,14 +722,7 @@ export interface InputFileProxy<F> {
|
|
|
722
722
|
custom_title: string;
|
|
723
723
|
}): true;
|
|
724
724
|
|
|
725
|
-
/**
|
|
726
|
-
* Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat:
|
|
727
|
-
*
|
|
728
|
-
* - Won't be able to send messages on behalf of any of their channels.
|
|
729
|
-
* - Won't be able to join live streams on behalf of the banned chat.
|
|
730
|
-
*
|
|
731
|
-
* The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.
|
|
732
|
-
*/
|
|
725
|
+
/** Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won't be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success. */
|
|
733
726
|
banChatSenderChat(args: {
|
|
734
727
|
/** Unique identifier for the target chat or username of the target channel (in the format @channelusername) */
|
|
735
728
|
chat_id: number | string;
|