Layer 227
constructor
richMessage#baf39d8b flags:# rtl:flags.0?true part:flags.1?true blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> = RichMessage;

Parameters

Name Type Description
Rtl flags.0?true
Part flags.1?true
Blocks Vector<PageBlock>
Photos Vector<Photo>
Documents Vector<Document>

Returns

RichMessage

Gogram Example

// Creating RichMessageObj constructor
obj := &tg.RichMessageObj{
    Blocks: []tg.PageBlock{&tg.PageBlock{}},
    Photos: []tg.Photo{&tg.Photo{}},
    Documents: []tg.Document{&tg.Document{}},

    // Optional fields:
    // Rtl: true,
    // Part: true,
}