Fix sending of documents in inline results

This commit is contained in:
Lonami Exo 2020-10-15 10:40:41 +02:00
parent 7c3bbaca2a
commit 9c5b9abb93

View File

@ -204,7 +204,7 @@ class InlineBuilder:
if voice_note:
type = 'voice'
else:
type = 'document'
type = 'file'
try:
fh = utils.get_input_document(file)