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:
parent
c4948eac27
commit
b2643e9197
@ -95,6 +95,7 @@ class InlineQueryResultCachedDocument(InlineQueryResult):
|
|||||||
id=self.id,
|
id=self.id,
|
||||||
type=self.type,
|
type=self.type,
|
||||||
title=self.title,
|
title=self.title,
|
||||||
|
description=self.description,
|
||||||
document=raw.types.InputDocument(
|
document=raw.types.InputDocument(
|
||||||
id=file_id.media_id,
|
id=file_id.media_id,
|
||||||
access_hash=file_id.access_hash,
|
access_hash=file_id.access_hash,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user