vamo_telbot.main¶
Main module of Telegram Bot.
Attributes¶
Functions¶
|
Handle incoming YouTube links and trigger the download process. |
|
Handle the /start command from users. |
|
Main bot loop. |
Module Contents¶
- vamo_telbot.main.telegram_bot: telethon.TelegramClient¶
- async vamo_telbot.main.youtube_download(event)¶
Handle incoming YouTube links and trigger the download process.
- Parameters:
event (events.newmessage.NewMessage.Event) – The event triggered by a new message, containing a YouTube link.
- Return type:
None
- async vamo_telbot.main.start(event)¶
Handle the /start command from users.
- Parameters:
event (events.newmessage.NewMessage.Event) – The event triggered by the /start command.
- Return type:
None
- async vamo_telbot.main.main()¶
Main bot loop.
- Return type:
None