소스 검색

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