Disable link previews
This commit is contained in:
parent
cb6a43cf46
commit
e2dd94ee34
|
@ -115,7 +115,7 @@ async def main():
|
||||||
k = None
|
k = None
|
||||||
if not k and len(j) == 1:
|
if not k and len(j) == 1:
|
||||||
j = j[0]
|
j = j[0]
|
||||||
await client.send_message(chat, j, file=k)
|
await client.send_message(chat, j, file=k, link_preview=False)
|
||||||
|
|
||||||
async def _download_file(filename, url):
|
async def _download_file(filename, url):
|
||||||
print(url)
|
print(url)
|
||||||
|
|
Loading…
Reference in New Issue