InputDocument

class pyrogram.raw.types.InputDocument

Defines a document for subsequent interaction.

Constructor of InputDocument.

Details:
  • Layer: 223

  • ID: 1ABFB575

Parameters:
  • id (int 64-bit) – Document ID

  • access_hash (int 64-bit) – access_hash parameter from the document constructor

  • file_reference (bytes) – File reference

TL Schema

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

= InputDocument

Parameter Tree

InputDocument
├── idlong
├── access_hashlong
└── file_referencebytes

Example

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