MadelineProtoDocs/docs/MTProto_docs/constructors/rsa_public_key.md

38 lines
675 B
Markdown
Raw Permalink Normal View History

2020-06-16 17:50:25 +02:00
---
title: rsa_public_key
description: rsa_public_key attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: rsa\_public\_key
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|n|[string](../types/string.md) | Yes|
|e|[string](../types/string.md) | Yes|
### Type: [RSAPublicKey](../types/RSAPublicKey.md)
### Example:
```php
$rsa_public_key = ['_' => 'rsa_public_key', 'n' => 'string', 'e' => 'string'];
```
Or, if you're into Lua:
```lua
rsa_public_key={_='rsa_public_key', n='string', e='string'}
```