Przeglądaj źródła

Add top msg id to albums.

Painor 1 rok temu
rodzic
commit
5aa75cc43b
4 zmienionych plików z 5 dodań i 4 usunięć
  1. 1 1
      gramjs/Version.ts
  2. 1 0
      gramjs/client/uploads.ts
  3. 2 2
      package-lock.json
  4. 1 1
      package.json

+ 1 - 1
gramjs/Version.ts

@@ -1 +1 @@
-export const version = "2.17.0";
+export const version = "2.17.8";

+ 1 - 0
gramjs/client/uploads.ts

@@ -666,6 +666,7 @@ export async function sendFile(
             clearDraft: clearDraft,
             clearDraft: clearDraft,
             forceDocument: forceDocument,
             forceDocument: forceDocument,
             noforwards: noforwards,
             noforwards: noforwards,
+            topMsgId: topMsgId,
         });
         });
     }
     }
     if (Array.isArray(caption)) {
     if (Array.isArray(caption)) {

+ 2 - 2
package-lock.json

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

+ 1 - 1
package.json

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