Skip to content

Commit

Permalink
Remove messages.getAllChats
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Apr 25, 2023
1 parent 9e2e653 commit 6dece64
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion schemas
8 changes: 0 additions & 8 deletions src/Namespace/Messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -737,14 +737,6 @@ public function getInlineGameHighScores(array $id, array|int|string $user_id): a
*/
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
*
Expand Down
1 change: 0 additions & 1 deletion src/TL_telegram_v158.tl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6dece64

Please sign in to comment.