2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Use "description" in InlineQueryResultCachedDocument

This commit is contained in:
Dan 2022-04-24 11:56:07 +02:00
parent c4948eac27
commit b2643e9197

View File

@ -95,6 +95,7 @@ class InlineQueryResultCachedDocument(InlineQueryResult):
id=self.id,
type=self.type,
title=self.title,
description=self.description,
document=raw.types.InputDocument(
id=file_id.media_id,
access_hash=file_id.access_hash,