Code With Karan
前往频道在 Telegram
🌐 Website - https://codewithkaran.com 📺 YouTube - https://youtube.com/@CodeWithKaran 🌐 GitHub - https://github.com/karancoder1 🌐 Instagram - https://www.instagram.com/karancoder1 😁 Owner - @KsCoder
显示更多778
订阅者
无数据24 小时
-67 天
-3230 天
帖子存档
If need fully explained tutorial than tell in comment...
please check code and give reactions and comment down
Guys today i have not opened my laptop so soory tomorrow confirm i'll provide php bot source code !!
🧑💻 PHP Referral Demo Bot
🔗 Link :- https://t.me/simpletgphprefbot?start=5337150824
➡️ Please Check Bot Properly And Comment If Any Problem In Bot :(
👩💻 Friends php telegram bot is almost ready.
🙏 Please share this channel to your channels/groups and with your friends and do 50+ subscribers.
👤 Regards:- Karan Swami
I have Own Many Websites but must check these 2:
🔗 karancoder.tech
🔗 codewithkaran.com
Guys there is one problem in python bots you need a VPS for host it so now am start to make PHP bots..
Send Error Ss to @KsCoder
🤖 BotDemo - NotAvailable
Description -
simple python referbot demo with good code.
Please Share And support Me for more codes
Don't Delete These codes from resources_data.json file
Code 👇
"global": {
"currency": "TRX",
"ref_bonus": 0.01,
"bonus_amount": 1,
"min_with": 0.1,
"max_with": 10
}import telebot
from telebot.types import ReplyKeyboardMarkup, KeyboardButton, InlineKeyboardMarkup, InlineKeyboardButton
token = '68613996:AAFG6d8Q92kKqzG8kY7Negg7sCT83ApBEP8' #bot token from @botfather
bot = telebot.TeleBot(token)
@bot.callback_query_handler(func=lambda call: True)
def callback_inline(call):
if call.data == 'test':
bot.send_message(call.message.chat.id, 'You clicked on Test Callback (Inline) Button')
@bot.message_handler(commands=['start'])
def start(message):
bot.send_message(message.chat.id, 'Hello!')
markup = ReplyKeyboardMarkup(resize_keyboard=True)
markup.add(KeyboardButton('Test'))
bot.send_message(message.chat.id, 'Hello choose a button',reply_markup=markup)
@bot.message_handler(commands=['inline'])
def inline_key(message):
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton('Test', callback_data='test'))
bot.send_message(message.chat.id, 'Hello choose a button',reply_markup=markup)
@bot.message_handler(content_types=['text'])
def msg_handler(message):
user_id = message.chat.id
if message.text == 'Test':
bot.reply_to(message,"You choosen Test Button")
return
bot.send_message(user_id,message.text)
bot.polling(non_stop=True)