From 6dece64d81e02f04a95e21402e89c1cb03bbc73f Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 25 Apr 2023 17:29:30 +0200 Subject: [PATCH] Remove messages.getAllChats --- README.md | 1 - docs | 2 +- schemas | 2 +- src/Namespace/Messages.php | 8 -------- src/TL_telegram_v158.tl | 1 - 5 files changed, 2 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 19f8e720f..8b078298b 100644 --- a/README.md +++ b/README.md @@ -333,7 +333,6 @@ Want to add your own open-source project to this list? [Click here!](https://doc * Get a payment form: payments.getPaymentForm * Get all archived stickers: messages.getArchivedStickers * Get all available chat themes: account.getChatThemes - * Get all chats, channels and supergroups: messages.getAllChats * Get all contacts: contacts.getSaved * Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion * Get all installed stickers: messages.getAllStickers diff --git a/docs b/docs index 248fb3fee..c1148c944 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 248fb3fee6bb2c72af66a6b8612ae7256d0a187b +Subproject commit c1148c944af6f126ca28b926c5fef5a094dfe123 diff --git a/schemas b/schemas index 415041aba..2185331bb 160000 --- a/schemas +++ b/schemas @@ -1 +1 @@ -Subproject commit 415041aba9aa5e984dea97d088796b8b1e0ff8df +Subproject commit 2185331bb36565039fd1bcbe14ee7c25eeab2f51 diff --git a/src/Namespace/Messages.php b/src/Namespace/Messages.php index cc88447ff..1895d9445 100644 --- a/src/Namespace/Messages.php +++ b/src/Namespace/Messages.php @@ -737,14 +737,6 @@ interface Messages */ public function getCommonChats(array|int|string $user_id, int $max_id = 0, int $limit = 0): array; - /** - * Get all chats, channels and supergroups - * - * @param list|array $except_ids Except these chats/channels/supergroups - * @return array{_: 'messages.chats', chats: list}|array{_: 'messages.chatsSlice', count: int, chats: list} @see https://docs.madelineproto.xyz/API_docs/types/messages.Chats.html - */ - public function getAllChats(array $except_ids = []): array; - /** * Get [instant view](https://instantview.telegram.org) page * diff --git a/src/TL_telegram_v158.tl b/src/TL_telegram_v158.tl index 6a606b743..b62fa12e2 100644 --- a/src/TL_telegram_v158.tl +++ b/src/TL_telegram_v158.tl @@ -1768,7 +1768,6 @@ messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:fla messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; messages.getCommonChats#e40ca104 user_id:InputUser max_id:long limit:int = messages.Chats; -messages.getAllChats#875f74be except_ids:Vector = messages.Chats; messages.getWebPage#32ca8f91 url:string hash:int = WebPage; messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool;