Explorar o código

fixed a typo in checkAuthorization (#297)

DadiT %!s(int64=3) %!d(string=hai) anos
pai
achega
17b8d6b23e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gramjs/client/TelegramClient.ts

+ 1 - 1
gramjs/client/TelegramClient.ts

@@ -109,7 +109,7 @@ export class TelegramClient extends TelegramBaseClient {
      * @example
      * ```ts
      * await client.connect();
-     * if (await client.checkAuthorization(){
+     * if (await client.checkAuthorization()){
      *     console.log("I am logged in!");
      * }else{
      *     console.log("I am connected to telegram servers but not logged in with any account/bot");