MadelineProtoDocs/old_docs/API_docs_v89/constructors/textEmail.md

40 lines
678 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: textEmail
description: Text email
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: textEmail
[Back to constructors index](index.md)
Text email
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[RichText](../types/RichText.md) | Yes|Text|
|email|[string](../types/string.md) | Yes|Email|
### Type: [RichText](../types/RichText.md)
### Example:
```php
$textEmail = ['_' => 'textEmail', 'text' => RichText, 'email' => 'string'];
```
Or, if you're into Lua:
```lua
textEmail={_='textEmail', text=RichText, email='string'}
```