# auth.checkPhone

Returns information on whether the passed phone number was registered.

No such method in the current schema.

### Parameters

This constructor does not require any parameters.

### Result
&nbsp;

### Possible errors

| Code | Type | Description |
| --- | --- | --- |
| 400 | PHONE\_NUMBER\_BANNED | The provided phone number is banned from telegram. |
| 406 | PHONE\_NUMBER\_INVALID | The phone number is invalid. |

### Query example

```
(auth.checkPhone "79123413132")
=
(auth.checkedPhone
  phone_registered:(boolFalse)
  phone_invited:(boolFalse)
)
```

### Both users and bots can use this method