InputRichMessageMarkdown

class pyrogram.raw.types.InputRichMessageMarkdown

Telegram API type.

Constructor of InputRichMessage.

Details:
  • Layer: 227

  • ID: 4B572C

Parameters:
  • markdown (str) – N/A

  • rtl (bool, optional) – N/A

  • noautolink (bool, optional) – N/A

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

TL Schema

inputRichMessageMarkdown#4b572c
flags:#
rtl:flags.0?true
noautolink:flags.1?true
markdown:string
files:flags.2?Vector<InputRichFile>

= InputRichMessage

Parameter Tree

InputRichMessageMarkdown
├── rtl → true (optional)
├── noautolink → true (optional)
├── markdown → 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

InputRichMessageMarkdown(
    markdown="text",
)