Questions tagged [aiogram]

aiogram is an asynchronous Python framework for Telegram Bot API. Use this tag when your question is related specifically to aiogram.

aiogram asynchronous framework for Telegram Bot API based on client.

Resources

Related Tags

430 questions
-2
votes
1 answer

I can’t get the user id

I was writing a bot and I was dealing with this problem. Who knows how to fix it? enter image description here from aiogram import Bot, types from aiogram.dispatcher import Dispatcher from aiogram.types import message from aiogram.utils import…
-2
votes
1 answer

Telegram bot aiogram erros

mistakes mistakes 2 photo https://github.com/mahenzon/aiogram-lessons/tree/master/lesson-02 I can't understand why my code isn't working. I took code from here and only change file config.py, change token and MY_ID. executor.py [ LINE:362 ]# INFO…
-3
votes
1 answer

Telegram Bot joins count

How to get the number of joins in a private channel by the link generated by the bot earlier? I want my bot to be able to get the count of joins by the link or to handle joins by links generated by the bot earlier I will be grateful for the solution
-3
votes
1 answer

how to make two people communicate through the bot

I can’t figure out how to make two people communicate through the bot? That is, user1 >message> bot>message>user2 It turns out that the bot acts as an intermediary, passing messages from one user to another I was thinking of making a database with a…
Cisco
  • 1
-3
votes
1 answer

How to correctly import class from folder into yet another folder?

i have a folder with a bot and a folder with a future api. The problem is that when I try to import a class from the database folder in the bot, it gives an error that this package does not exist. inits are all written, what could be wrong? Or how…
-3
votes
2 answers

Database python telegram bot MySQL

How I make two parametres for check database info = db.execute(f"SELECT * FROM 'storage_users' WHERE status = ? balance = ?", [status, balance]) Two WHERE parametres
-3
votes
1 answer

TelegramBot authorization

I am creating TelegramBot using aiogram and SQLAlchemy to interact with database. I want to start with authorization. All users' phone numbers are stored in SQLite database. When the user runs Bot, it should ask the user to enter phone number. After…
Sofia
  • 3
  • 1
1 2 3
28
29