Skip to content

miniproto.mtproto.codec.GzipPacked.unpack

unpack() -> bytes

Decompress the contained gzip payload.

Returns:

  • bytes – Uncompressed message-body bytes.

Raises:

  • OSError – If the stored bytes are not a valid gzip stream.