InputRichMessageHTML

class pyrogram.raw.types.InputRichMessageHTML

Telegram API type.

Constructor of InputRichMessage.

Details:
  • Layer: 227

  • ID: DACB836A

Parameters:
  • html (str) – N/A

  • rtl (bool, optional) – N/A

  • noautolink (bool, optional) – N/A

  • files (List of InputRichFile, optional) – N/A

TL Schema

inputRichMessageHTML#dacb836a
flags:#
rtl:flags.0?true
noautolink:flags.1?true
html:string
files:flags.2?Vector<InputRichFile>

= InputRichMessage

Parameter Tree

InputRichMessageHTML
├── rtl → true (optional)
├── noautolink → true (optional)
├── html → string
└── files → Vector < InputRichFile > (optional)
│ ├── id → string
│ └── photo → InputPhoto
│ ├── InputPhotoEmpty
│ └── InputPhoto
│ ├── id → long
│ ├── access_hash → long
│ └── file_reference → bytes
├── id → string
└── document → InputDocument
└── InputDocument
├── id → long
├── access_hash → long
└── file_reference → bytes

Example

InputRichMessageHTML(
    html="text",
)