Layer 227
InputRichMessageHtml
Input rich message authored as raw HTML, with optional inline file attachments.
constructor
inputRichMessageHTML#dacb836a flags:# rtl:flags.0?true noautolink:flags.1?true html:string files:flags.2?Vector<InputRichFile> = InputRichMessage;
Parameters
| Name | Type | Description |
|---|---|---|
| Rtl | flags.0?true | |
| Noautolink | flags.1?true | |
| Html | string | |
| Files | Vector<InputRichFile> |
Returns
InputRichMessageGogram Example
// Creating InputRichMessageHtml constructor obj := &tg.InputRichMessageHtml{ Html: "Hello, World!", // Optional fields: // Rtl: true, // Noautolink: true, // Files: []tg.InputRichFile{&tg.InputRichFile{}}, }