Layer 227
RichMessageObj
Rich message composed of structured page blocks, photos, and documents.
constructor
richMessage#baf39d8b flags:# rtl:flags.0?true part:flags.1?true blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> = RichMessage;
Parameters
Returns
RichMessageGogram 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, }