upload.SaveBigFilePart

class pyrogram.raw.functions.upload.SaveBigFilePart

Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.

Details:
  • Layer: 223

  • ID: DE7B673D

Parameters:
  • file_id (int 64-bit) – Random file id, created by the client

  • file_part (int 32-bit) – Part sequence number

  • file_total_parts (int 32-bit) – Total number of parts

  • bytes (bytes) – Binary data, part contents

Returns:

bool

TL Schema

upload.saveBigFilePart#de7b673d
file_id:long
file_part:int
file_total_parts:int
bytes:bytes

= Bool

Parameter Tree

SaveBigFilePart
├── file_idlong
├── file_partint
├── file_total_partsint
└── bytesbytes

Example

await app.invoke(
    SaveBigFilePart(
        file_id=0,
        file_part=0,
        file_total_parts=0,
        bytes=b"data",
    )
)