MadelineProtoDocs/old_docs/API_docs_v21/constructors/textEmail.md

40 lines
711 B
Markdown
Raw Permalink Normal View History

2020-06-16 17:50:25 +02:00
---
title: textEmail
description: Rich text email link
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: textEmail
[Back to constructors index](index.md)
Rich text email link
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[RichText](../types/RichText.md) | Yes|Link text|
|email|[string](../types/string.md) | Yes|Email address|
### 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'}
```