Layer 227
constructor
inputRichMessage#e4c449fc flags:# rtl:flags.0?true noautolink:flags.1?true blocks:Vector<PageBlock> photos:flags.2?Vector<InputPhoto> documents:flags.3?Vector<InputDocument> users:flags.4?Vector<InputUser> = InputRichMessage;

Parameters

Name Type Description
Rtl flags.0?true
Noautolink flags.1?true
Blocks Vector<PageBlock>
Photos Vector<InputPhoto>
Documents Vector<InputDocument>
Users Vector<InputUser>

Gogram Example

// Creating InputRichMessageObj constructor
obj := &tg.InputRichMessageObj{
    Blocks: []tg.PageBlock{&tg.PageBlock{}},

    // Optional fields:
    // Rtl: true,
    // Noautolink: true,
    // Photos: []tg.InputPhoto{&tg.InputPhoto{ID: int64(5678901234567890), AccessHash: int64(1234567890123456), FileReference: []byte{0x01, 0x02}}},
    // Documents: []tg.InputDocument{&tg.InputDocument{ID: int64(5678901234567890), AccessHash: int64(1234567890123456), FileReference: []byte{0x01, 0x02}}},
    // ... more optional fields
}