# invokeWithApnsSecret

Official clients only, invoke with Apple push verification.

```tl
---functions---
invokeWithApnsSecret#0dae54f8 {X:Type} nonce:string secret:string query:!X = X;
```

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **nonce** | [string](/type/string.md) | Nonce. |
| **secret** | [string](/type/string.md) | Secret. |
| **query** | !X | Query. |

### Result
Returns the type returned by the invoked method.

### Both users and bots can use this method