浏览代码

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

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

* _getInputNotify fix
Pavel 3 年之前
父节点
当前提交
2c88deef3c
共有 1 个文件被更改,包括 10 次插入0 次删除
  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