Procházet zdrojové kódy

fix: return type hint of client.unpinMessage

Man Nguyen před 3 roky
rodič
revize
d23a7feeb6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      gramjs/client/TelegramClient.ts

+ 1 - 1
gramjs/client/TelegramClient.ts

@@ -859,7 +859,7 @@ export class TelegramClient extends TelegramBaseClient {
             entity,
             message,
             unpinMessageParams
-        );
+        ) as Promise<Api.messages.AffectedHistory | undefined>;
     }
 
     /**