Layer 220
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(0),
    W: 0,
    H: 0,
}