Skip to content

Commit b2643e9

Browse files
committed
Use "description" in InlineQueryResultCachedDocument
1 parent c4948ea commit b2643e9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyrogram/types/inline_mode/inline_query_result_cached_document.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ async def write(self, client: "pyrogram.Client"):
9595
id=self.id,
9696
type=self.type,
9797
title=self.title,
98+
description=self.description,
9899
document=raw.types.InputDocument(
99100
id=file_id.media_id,
100101
access_hash=file_id.access_hash,

0 commit comments

Comments
 (0)