IT news | Tg Bots
182 subscribers
1.16K photos
129 videos
490 files
1.68K links
👋 ᴀssᴀʟᴏᴍᴜ ᴀʟᴀʏᴋᴜᴍ,
👥 ᴊᴀᴍᴏᴀᴍɪᴢɴɪɴɢ ʀᴀsᴍɪʏ ᴛᴇʟᴇɢʀᴀᴍ ᴋᴀɴᴀʟɪɢᴀ xᴜsʜ ᴋᴇʟɪʙsɪᴢ!
📃 ʙɪᴢɴɪɴɢ ʟᴏʏɪʜᴀʟᴀʀ
@PrakurorRobot
@HisoblaRobot
@MajburRobot
@Kitoblarbot

📹

┌ ʙᴏᴛ ʏᴀsᴀsʜ xɪᴢᴍᴀᴛɪ:
@LiderKoder

© 2020-2024 !
Download Telegram
#python #aiogram

from aiogram import Bot, Dispatcher, types
from aiogram.utils import executor

bot = Bot(token='BOT TOKENI')
dp = Dispatcher(bot)

@dp.message_handler(commands=['start'])
async def send_welcome(message: types.Message):
await bot.send_message(message.chat.id,"Salom")

if name == '__main__':

executor.start_polling(dp)


Python da /start ga salom degich kod :)
IT news | Tg Bots
#python #aiogram from aiogram import Bot, Dispatcher, types from aiogram.utils import executor bot = Bot(token='BOT TOKENI') dp = Dispatcher(bot) @dp.message_handler(commands=['start']) async def send_welcome(message: types.Message): await bot.send_me…
#python #aiogram

from aiogram import Bot, Dispatcher, executor, types

API_TOKEN = '1649328853:AAHCNwTTJiobvC26oUo_Lz7MPyKgMasy_GU'

# Initialize bot and dispatcher
bot = Bot(token=API_TOKEN)
dp = Dispatcher(bot)


@dp.message_handler(commands=['start', 'help'])
async def send_welcome(message: types.Message):
"""
This handler will be called when user sends
/start or /help command
"""
await message.reply("Hi!\nI'm EchoBot!\nPowered by aiogram.")


if name == '__main__':
executor.start_polling(dp, skip_updates=True)


Biroz xato yozgan ekanman, Bu ishlaydi

@LIDERKODER
#python #foydali #aiogram

@dp.message_handler(commands=['help'])
async def start_message(message: types.Message):
link = hide_link("https://static.onlinetrade.ru/img/items/b/1746973_6.jpg")
salom = f"Assalomu alaykum {message.from_user.first_name} qalesz {link}"
await message.answer(salom)

Yashirin link yani xabarning tagida turli fayl chiqaradi
@phpdevelopersuz | Obuna bo'ling
📎 Nomi: @MajburRobot

⚙️ Dasturlash tili: Python (Aiogram)

👨🏻‍💻 Admin: @LiderKoder

💰 Narxi: Shaxsiy loyiha

📝 Qisqacha ma'lumot:
👥 Guruh va 📢 kanalga obunachi yig'ish uchun maxsus bot😄

📚 Yo'riqnoma: /help buyrug'ida

#aiogram #python #mysql #liderkoder #majburrobot