@@ -1 +1 @@
-export const version = "2.10.5";
+export const version = "2.10.8";
@@ -131,11 +131,9 @@ export class _MessagesIter extends RequestIter {
});
} else if (
search !== undefined ||
- filter !== undefined ||
+ !(filter instanceof Api.InputMessagesFilterEmpty) ||
fromUser !== undefined
) {
- const ty = _entityType(this.entity);
-
this.request = new Api.messages.Search({
peer: this.entity,
q: search || "",
@@ -1,12 +1,12 @@
{
"name": "telegram",
- "version": "2.10.5",
+ "version": "2.10.8",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"license": "MIT",
"dependencies": {
"@cryptography/aes": "^0.1.1",
@@ -1,6 +1,6 @@
"description": "NodeJS/Browser MTProto API Telegram client library,",
"main": "index.js",
"types": "index.d.ts",