MadelineProtoDocs/old_docs/API_docs_v89/constructors/textImage.md

722 B

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

Constructor: textImage

Back to constructors index

Text image

Attributes:

Name Type Required Description
document_id long Yes Document ID
w int Yes Width
h int Yes Height

Type: RichText

Example:

$textImage = ['_' => 'textImage', 'document_id' => long, 'w' => int, 'h' => int];

Or, if you're into Lua:

textImage={_='textImage', document_id=long, w=int, h=int}