TeleHelp
💕 ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ TeleHelp ᴜᴘᴅᴀᴛᴇ 💕 ✨ 𝗦𝗽𝗼𝗻𝘀𝗼𝗿𝘀𝗵𝗶𝗽/𝗔𝗱𝘃𝗲𝗿𝘁𝗶𝘀𝗲 & 𝗣𝗿𝗼𝗺𝗼𝘁𝗶𝗼𝗻 : ➥ 𝙊𝙬𝙣𝙚𝙧 :- @Bot_Panel , @TH_Support_Robot
Більше2 059
Підписники
-124 години
-67 днів
-9930 днів
- Підписники
- Перегляди допису
- ER - коефіцієнт залучення
Триває завантаження даних...
Приріст підписників
Триває завантаження даних...
Pixabay Photo Search Bot BJS In Inline Mode.
Command 1 :
/start
BJS :
var inline_keyboard = [
[{ text: "Go inline here", switch_inline_query_current_chat: "" }],
[{ text: "Go inline in another chat", switch_inline_query: "" }]
]
var buttons = { inline_keyboard: inline_keyboard }
Api.sendMessage({ text: "Hy "+user.first_name+".\nI am simple photo search bot. \nI fetch images from pixabay api.", reply_markup: buttons })
Command 2 : /inlineQuery
BJS :
if (!request.query) {
return
}
let query=request.query
let text=query.replace(/\s/g, "%20");
HTTP.get({ url: "https://pixabay.com/api/?key=36545097-d5df6c20dfd41fe6ace3f8fa0&per_page=50&q="+text, success: "/onLoading "+request.id })
Command 3 : /onLoading
BJS :
var hits = JSON.parse(content).hits
var results = []
for (let i = 0; i < hits.length; i++) {
results.push({
type: "photo",
id: hits[i].id,
thumbnail_url: hits[i].previewURL,
photo_url: hits[i].webformatURL,
photo_width: hits[i].webformatWidth,
photo_height: hits[i].webformatHeight
})
}
Api.answerInlineQuery({
inline_query_id: params,
results: results
})
📌 Force Subscriber TPY Code
🚀 #1 Command:
*
🛠️ TPY Code:
def check():
channels = ["#@Channel"]
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True
usernm = f"""<a href="tg://user?id={u}">{message.from_user.first_name} {message.from_user.last_name}</a>"""
if message.from_user.last_name == None:
usernm = f"""<a href="tg://user?id={u}">{message.from_user.first_name}</a>"""
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text="🟢 Joined",
callback_data=f"/joined {u}"))
tim = int(time.time())
until = tim+600
if check() != True:
bot.deleteMessage(chat_id=message.chat.id, message_id= message.message_id)
bot.restrictChatMember(chat_id=message.chat.id, user_id=u,can_send_messages=False, until_date=until)
txt = f"""<b>
📛 Hello {usernm}, Please Join Our Channel To Send Message in This Group
➤ #@Channel
❇️ After Joining, Click <code>🟢 Joined</code></b>"""
bot.replyText(chat_id=message.chat.id, text =txt, reply_markup=markup)
🚀 #2 Command: /joined
🛠️ TPY Code:
if params != str(u):
bot.answerCallbackQuery(call.id,'⛔ This Message is Not For You',show_alert=True)
raise ReturnCommand()
def check():
channels = ["#@Channel"]
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True
usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name} {call.from_user.last_name}</a>"""
if call.from_user.last_name == None:
usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name}</a>"""
if check() == True:
bot.restrictChatMember(chat_id=message.chat.id, user_id=u,can_send_messages=True)
bot.editMessageText(chat_id=message.chat.id, message_id= message.message_id, text=f"<b>🚀 {usernm}, Thanks For Joining Our Channel\n\n💬 Now You Can Send Message</b>")
else:
bot.answerCallbackQuery(call.id,'❌ Must Join Our Channels',show_alert=True)
⚠️ Alert: Replace All #@Channel With Your Channel Username and Must Add Your Bot as Admin in Channel and Group.
⚡️By:- Hazex🚸 Hide Half Mobile Number And Email BJS.
➡️ For Email
var email = message
var msg = "<b>🤳Paid Address:</b> "+email.slice(0,4)+"****@gmail.com"
Api.sendMessage({
message: msg,
parse_mode: "html",
disable_web_page_preview: true})
➡️ For Mobile Number
var num = message
var msg = "<b>🤳Paid Address:</b> "+num.slice(0,4)+"***"+num.slice(8,10)+""
Api.sendMessage({
message: msg,
parse_mode: "html",
disable_web_page_preview: true})
☣ Copyright:- @TeleHelp_Real🖊 File Rename Bot Code [ Python ]
import os
import telebot
bot = telebot.TeleBot("BOT_API_TOKEN")
user_new_names = {}
@bot.message_handler(commands=['start'])
def send_welcome(message):
bot.reply_to(message, f"""<b>Welcome to the file renamer bot. Send me a file to rename it. By @Privates_Bots</b>""",parse_mode="HTML")
@bot.message_handler(content_types=['document'])
def handle_file(message):
file_name = message.document.file_name
file_id = message.document.file_id
file_info = bot.get_file(file_id)
downloaded_file = bot.download_file(file_info.file_path)
bot.send_message(message.chat.id, f"""<b>Current file name:</b> <code>{file_name}</code>\n<b>What should be the new name?</b>""",parse_mode="HTML")
user_chat_id = message.chat.id
user_new_names[user_chat_id] = (file_name, downloaded_file)
@bot.message_handler(func=lambda message: message.chat.id in user_new_names and user_new_names[message.chat.id] is not None)
def handle_new_name(message):
original_file_name, downloaded_file = user_new_names[message.chat.id]
new_name = message.text.strip()
renamed_file_name = "" + new_name
with open(renamed_file_name, 'wb') as renamed_file:
renamed_file.write(downloaded_file)
with open(renamed_file_name, 'rb') as renamed_file:
bot.send_document(message.chat.id, renamed_file)
del user_new_names[message.chat.id]
os.remove(renamed_file_name)
bot.polling()
👍 1🔥 1
🎚 Website Screenshot (BJS) .
❣️ Command:
/down
📖 Bjs:
Api.sendPhoto({
photo:
"https://api.screenshotmachine.com/?key=49dcbd&dimension=1024x768&format=png&cacheLimit=0&url=" +
params
})
Example use:📝 Change your API key. Get API Key from [ screenshotmachine.com ] 👨💻 Created By: Swastik © Copyright: @TeleHelp_Real./down
https://google.com
Фото недоступнеДивитись в Telegram
🔥 UST Airdrop Is Live!
🎁 Joining Reward: 0.50 UST
👨👨👦 Per Refer: 0.50 UST
🔗 Airdrop Link = https://t.me/USTAirdropRobot?start=Bot20632550
☑️ Don't Miss Free Income Chance!
❤ 1
Фото недоступнеДивитись в Telegram
Chalo Maine to 133 Rs Save Kar Liya 😁
Kisne kitna ka Recharge Kiya ⁉️
⛓ Auto Bed Time 💤🕓 BJS:- It's Working Between 12:00 AM to 6:00 AM (Indian Time).
❤️ Command:-
@
☣ BJS:-
function getIndianTime() {
var now = new Date()
var options = {
timeZone: "Asia/kolkata",
hour12: true,
hour: "numeric",
minute: "numeric",
second: "numeric"
}
return now.toLocaleString("en-US", options)
}
function isRestricted() {
var now = new Date()
var bdTime = new Date(
now.toLocaleString("en-US", { timeZone: "Asia/kolkata" })
)
var currentHour = bdTime.getHours()
return currentHour >= 0 && currentHour < 6 // Returns true if it's between 12:00 AM and 6:00 AM Indian time
}
if (isRestricted()) {
informRestrictedTime()
} else {
}
function informRestrictedTime() {
var remainingTime = getRemainingTime()
var up =
"<b>🛏️ It's Bed Time, So You Can Use Currently This Bot.</>\n━━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━━\n<b>⌛ Remaining Time:</> <code>" +
remainingTime +
"</>\n━━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━━\n<b>😎 Please Come Back After Bed Time.</>"
var bob = [[{ text: "🔄 Refresh", callback_data: "8388" }]]
if (request.message_id) {
Api.sendMessage({
text: up,
parse_mode: "html",
reply_markup: { inline_keyboard: bob }
})
return
}
Api.editMessageText({
message_id: request.message.message_id,
text: up,
parse_mode: "html",
disable_web_page_preview: true,
reply_markup: { inline_keyboard: bob }
})
}
function getRemainingTime() {
var now = new Date()
var bdTime = new Date(
now.toLocaleString("en-US", { timeZone: "Asia/kolkata" })
)
var currentHour = bdTime.getHours()
if (currentHour < 6) {
var remainingHours = 6 - currentHour
var remainingMinutes = 60 - bdTime.getMinutes()
var remainingSeconds = 60 - bdTime.getSeconds()
return (
remainingHours +
" hours, " +
remainingMinutes +
" minutes, " +
remainingSeconds +
" seconds"
)
} else {
return "Come back later" }
}
✅ Developed By:- SowRov
🧑💻 Copyright:- @TeleHelp_Real👍 1💯 1
Not any Profit by views bot
And many people come and discuss us for bargarding with prices of views.
So what I am do. ?!
🔥 3🥰 1🫡 1😘 1
Оберіть інший тариф
На вашому тарифі доступна аналітика тільки для 5 каналів. Щоб отримати більше — оберіть інший тариф.