Browse Source

Fix forward chat.

Painor 7 tháng trước cách đây
mục cha
commit
2e8eff33c7
4 tập tin đã thay đổi với 5 bổ sung4 xóa
  1. 1 1
      gramjs/Version.ts
  2. 1 0
      gramjs/tl/custom/forward.ts
  3. 2 2
      package-lock.json
  4. 1 1
      package.json

+ 1 - 1
gramjs/Version.ts

@@ -1 +1 @@
-export const version = "2.25.10";
+export const version = "2.25.14";

+ 1 - 0
gramjs/tl/custom/forward.ts

@@ -54,6 +54,7 @@ export class Forward extends SenderGetter {
         }
         ChatGetter.initChatClass(this, {
             chatPeer: peer,
+            chat: chat,
             inputChat: inputChat,
         });
         SenderGetter.initSenderClass(this, {

+ 2 - 2
package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "telegram",
-  "version": "2.25.11",
+  "version": "2.25.15",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
       "name": "telegram",
-      "version": "2.25.11",
+      "version": "2.25.15",
       "license": "MIT",
       "dependencies": {
         "@cryptography/aes": "^0.1.1",

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "telegram",
-  "version": "2.25.11",
+  "version": "2.25.15",
   "description": "NodeJS/Browser MTProto API Telegram client library,",
   "main": "index.js",
   "types": "index.d.ts",