skip to Main Content

Telegram – How to configure Proxy in Aiogram 3.1.1 (Python)

import asyncio from aiogram import Dispatcher, Bot from aiogram.filters import CommandStart from aiogram.types import Message token = 'tokentokentokentokentokentokentoken' the_bot = Bot(token) main_handler = Dispatcher() @main_handler.message(CommandStart()) async def cmd_start(msg: Message) -> None: await msg.answer('hi') async def main(): await main_handler.start_polling(the_bot) if __name__…

VIEW QUESTION
Back To Top
Search