MadelineProtoDocs/old_docs/API_docs_v89/constructors/textPhone.md
2019-12-27 17:48:04 +01: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'}