Layer 224
constructor
textImage#81ccf4f document_id:long w:int h:int = RichText;

Parameters

Name Type Description
DocumentId long Document ID
W int Width
H int Height

Returns

RichText

Gogram Example

// Creating TextImage constructor
obj := &tg.TextImage{
    DocumentId: int64(1234567890),
    W: 42,
    H: 42,
}