MadelineProtoDocs/docs/API_docs/constructors/textPhone.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

805 B

title description image
textPhone Text phone https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: textPhone

Back to constructors index

Text phone

Attributes:

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

Type: RichText

Example:

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

PWRTelegram json-encoded version:

{"_": "textPhone", "text": RichText, "phone": "string"}

Or, if you're into Lua:

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