MadelineProtoDocs/old_docs/API_docs_v109/constructors/textPhone.md
2020-03-06 12:24:14 +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'}