Layer 228
constructor
pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock;

Parameters

Name Type Description
Text RichText Text
Language string Programming language of preformatted text

Returns

PageBlock

Gogram Example

// Creating PageBlockPreformatted constructor
obj := &tg.PageBlockPreformatted{
    Text: &tg.TextAnchor{},
    Language: "example",
}