Disable link previews

This commit is contained in:
blank X 2020-09-04 17:54:07 +07:00
parent cb6a43cf46
commit e2dd94ee34
1 changed files with 1 additions and 1 deletions

View File

@ -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)