InputDocument

class pyrogram.raw.base.InputDocument

Defines a document for subsequent interaction.

Constructors:

This base type has 2 constructors available.

InputDocument

Defines a document for subsequent interaction.

InputDocumentEmpty

Empty constructor.

TL Schema

inputDocument#1abfb575
id:long
access_hash:long
file_reference:bytes

= InputDocument

Parameter Tree

InputDocument
├── id → long
├── access_hash → long
└── file_reference → bytes

Example

InputDocument(
    id=0,
    access_hash=0,
    file_reference=b"data",
)