mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix sending of documents in inline results
This commit is contained in:
parent
7c3bbaca2a
commit
9c5b9abb93
|
@ -204,7 +204,7 @@ class InlineBuilder:
|
|||
if voice_note:
|
||||
type = 'voice'
|
||||
else:
|
||||
type = 'document'
|
||||
type = 'file'
|
||||
|
||||
try:
|
||||
fh = utils.get_input_document(file)
|
||||
|
|
Loading…
Reference in New Issue
Block a user