InputRichFile

class pyrogram.raw.base.InputRichFile

Telegram API base type.

Constructors:

This base type has 2 constructors available.

InputRichFileDocument

Telegram API type.

InputRichFilePhoto

Telegram API type.

TL Schema


Parameter Tree

InputRichFile
│ ├── 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