MadelineProtoDocs/docs/API_docs/constructors/textPhone.md

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'}