MadelineProtoDocs/old_docs/API_docs_v38/constructors/textPhone.md
2020-06-16 17:50:25 +02:00

733 B

title description image
textPhone Rich text linked to a phone number https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: textPhone

Back to constructors index

Rich text linked to a phone number

Attributes:

Name Type Required Description
text RichText Yes Text
phone string Yes Phone number

Type: RichText

Example:

$textPhone = ['_' => 'textPhone', 'text' => RichText, 'phone' => 'string'];

Or, if you're into Lua:

textPhone={_='textPhone', text=RichText, phone='string'}