vamo_telbot.main ================ .. py:module:: vamo_telbot.main .. autoapi-nested-parse:: Main module of Telegram Bot. Attributes ---------- .. autoapisummary:: vamo_telbot.main.SESSION_NAME vamo_telbot.main.telegram_bot Functions --------- .. autoapisummary:: vamo_telbot.main.youtube_download vamo_telbot.main.start vamo_telbot.main.main Module Contents --------------- .. py:data:: SESSION_NAME :type: str :value: 'telegram_bot' .. py:data:: telegram_bot :type: telethon.TelegramClient .. py:function:: youtube_download(event) :async: Handle incoming YouTube links and trigger the download process. :param event: The event triggered by a new message, containing a YouTube link. :type event: events.newmessage.NewMessage.Event .. py:function:: start(event) :async: Handle the /start command from users. :param event: The event triggered by the /start command. :type event: events.newmessage.NewMessage.Event .. py:function:: main() :async: Main bot loop.