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