mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Use "description" in InlineQueryResultCachedDocument
This commit is contained in:
parent
c4948eac27
commit
b2643e9197
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue