1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 03:14:39 +01:00

Remove messages.getAllChats

This commit is contained in:
Daniil Gentili 2023-04-25 17:29:30 +02:00
parent 9e2e6535c4
commit 6dece64d81
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
5 changed files with 2 additions and 12 deletions

View File

@ -333,7 +333,6 @@ Want to add your own open-source project to this list? [Click here!](https://doc
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.getPaymentForm.html" name="payments.getPaymentForm">Get a payment form: payments.getPaymentForm</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getArchivedStickers.html" name="messages.getArchivedStickers">Get all archived stickers: messages.getArchivedStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account.getChatThemes.html" name="account.getChatThemes">Get all available chat themes: account.getChatThemes</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getAllChats.html" name="messages.getAllChats">Get all chats, channels and supergroups: messages.getAllChats</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts.getSaved.html" name="contacts.getSaved">Get all contacts: contacts.getSaved</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.getGroupsForDiscussion.html" name="channels.getGroupsForDiscussion">Get all groups that can be used as discussion groups: channels.getGroupsForDiscussion</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getAllStickers.html" name="messages.getAllStickers">Get all installed stickers: messages.getAllStickers</a>

2
docs

@ -1 +1 @@
Subproject commit 248fb3fee6bb2c72af66a6b8612ae7256d0a187b
Subproject commit c1148c944af6f126ca28b926c5fef5a094dfe123

@ -1 +1 @@
Subproject commit 415041aba9aa5e984dea97d088796b8b1e0ff8df
Subproject commit 2185331bb36565039fd1bcbe14ee7c25eeab2f51

View File

@ -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<int>|array<never, never> $except_ids Except these chats/channels/supergroups
* @return array{_: 'messages.chats', chats: list<array|int|string>}|array{_: 'messages.chatsSlice', count: int, chats: list<array|int|string>} @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
*

View File

@ -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<long> = 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<InputDialogPeer> = Bool;