mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 03:13:45 +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:
|
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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user