Pārlūkot izejas kodu

Fix for TypeError: client._getInputDialog is not a function (#209)

* Fix for TypeError: client._getInputDialog is not a function

* _getInputNotify fix
Pavel 3 gadi atpakaļ
vecāks
revīzija
2c88deef3c
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 10 0
      gramjs/client/TelegramClient.ts

+ 10 - 0
gramjs/client/TelegramClient.ts

@@ -1169,6 +1169,16 @@ export class TelegramClient extends TelegramBaseClient {
         return userMethods.getPeerId(this, peer, addMark);
     }
 
+    /** @hidden */
+    _getInputDialog(peer: any) {
+        return userMethods._getInputDialog(this, peer);
+    }
+
+    /** @hidden */
+    _getInputNotify(notify: any) {
+        return userMethods._getInputNotify(this, notify);
+    }
+
     //endregion
 
     //region base methods