Files
2025-07-10 21:02:34 +03:00

23 lines
699 B
Python
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# @Sekai_Yoney
from .. import loader, utils
def register(cb):
cb(TikTokMod())
class TikTokMod(loader.Module):
"""Качаем видео без водяного знака в Тик Ток."""
strings = {'name': 'TikTok'}
async def tikcmd(self, message):
""".tik ссылка на видео."""
await utils.answer(message, 'Ща...')
args = utils.get_args_raw(message)
if not args:
await utils.answer(message, "А где ссылка?")
return
r = await message.client.inline_query('tikdobot', args)
await message.client.send_file(message.to_id, r[1].result.content.url)
await message.delete()