mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Fix sending of documents in inline results
This commit is contained in:
@@ -204,7 +204,7 @@ class InlineBuilder:
|
||||
if voice_note:
|
||||
type = 'voice'
|
||||
else:
|
||||
type = 'document'
|
||||
type = 'file'
|
||||
|
||||
try:
|
||||
fh = utils.get_input_document(file)
|
||||
|
Reference in New Issue
Block a user