Skip to content

Commit

Permalink
feat: Layer 150 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcdunkan authored Feb 2, 2023
1 parent 916422a commit 0e55b1d
Show file tree
Hide file tree
Showing 6 changed files with 281 additions and 38 deletions.
2 changes: 1 addition & 1 deletion src/client/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class _MessagesIter extends RequestIter {
fromId: fromUser,
});
if (
filter instanceof Api.InputMessagesFilterEmpty &&
!(filter instanceof Api.InputMessagesFilterEmpty) &&
offsetDate &&
!search &&
!offsetId
Expand Down
2 changes: 1 addition & 1 deletion src/client/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export async function getInputEntity(
throw new Error(
`Could not find the input entity for ${JSON.stringify(peer)}.
Please read https://` +
"docs.telethon.dev/en/latest/concepts/entities.html to" +
"docs.telethon.dev/en/stable/concepts/entities.html to" +
" find out more details.",
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/tl/all_tl_objects.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const LAYER = 148;
export const LAYER = 150;

import { Api } from "./api.js";

Expand Down
Loading

0 comments on commit 0e55b1d

Please sign in to comment.