Answer the question
In order to leave comments, you need to log in
Where is the chat id in aiogram here?
@dp.message_handler(content_types=['new_chat_members'])
async def send_welcome(message: types.Message):
bot_obj = await bot.get_me()
bot_id = bot_obj.id
for chat_member in message.new_chat_members:
if chat_member.id == bot_id:
await message.reply("Hi!\nI'm EchoBot!\nPowered by aiogram.")
Answer the question
In order to leave comments, you need to log in
1. The snippet does not match the request well and is not attractive to the seekers, but is attractive to the "neighbors".
2. Issuance for different people is different.
3. Look in wordstat query with quotation marks
In Wordstat, is the frequency base, phrase or exact?
I guess it's basic.
This is the answer to your question.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question