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

892 B

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

Constructor: textUrl

Back to constructors index

Text URL

Attributes:

Name Type Required Description
text RichText Yes Text
url string Yes URL
webpage_id long Yes Webpage ID

Type: RichText

Example:

$textUrl = ['_' => 'textUrl', 'text' => RichText, 'url' => 'string', 'webpage_id' => long];

PWRTelegram json-encoded version:

{"_": "textUrl", "text": RichText, "url": "string", "webpage_id": long}

Or, if you're into Lua:

textUrl={_='textUrl', text=RichText, url='string', webpage_id=long}