HOW TO PIN MESSAGE
👀Command:
As Per You
Api.pinChatMessage({
chat_id: chatId, // Replace with your chat ID
message_id: messageId, // Replace with the message ID you want to pin
on_result: "onPinMessage" // Specify a callback if needed
});
👍3🎉1👌1😘1
📜 Message Particular User In Bot
👀Command:
/message
Wait For Answer ✅
🧬Answer:
*🛠Enter User id?*
var admin = Bot.getProperty("botadmin"+user.telegramid)
if (user.telegramid == admin){
let msg = message
User.setProperty("id", msg, "integer")
Bot.sendMessage(" Now Type Your Message For User ")
Bot.runCommand("/send")
} else {
Bot.sendMessage("*You're not an Admin*")
}
👀Command:
/send
Wait For Answer ✅
let tgid = User.getProperty("id")
let msag = message
let msg = "💬Message from Admin\n➖➖➖➖➖➖➖➖➖➖➖\n\n" + msag
Bot.sendMessageToChatWithId(tgid, msg)
Bot.sendMessage("✅Message sent to User")
👍4🥰1🎉1👌1
💪🏻 Strong Password Generator Command
👀Command:
/generator
Bot.sendMessage("Generating a secure password... ", {
on_result: "/gen"
})
👀Command:
/gen
var msg = options.result.message_id
var characters = "$%abcdefghijklmnopqrstuvwxyz@#&-_+<>$%1234567890ABCDEFGHIJKLUVWXYZ12345678901234567890@#%&-_+<>$%abcdefghijklMNOPQRSTUVWXyZ"
function genePassword(length) {
let result = '';
const charactersLength = characters.length;
for ( let i = 0; i < length; i++ ) {
result += characters.charAt(Math.floor(Math.random() * charactersLength));
}
return result;
}
Api.editMessageText({
text: " "+genePassword(15)+"",
message_id: msg,
parse_mode:"markdown"
})
🎉3👍1🤩1
ɪꜰ ʏᴏᴜ ᴀʀᴇ ꜱᴄᴀᴍᴍᴇᴅ ʙʏ ꜱᴏᴍᴇ ᴏɴᴇ ᴛʜᴇɴ ʏᴏᴜ ᴄᴀɴ ᴇxᴘᴏꜱᴇ ʜɪᴍ ᴜꜱɪɴɢ ᴏᴜʀ ʙᴏᴛ, ꜱᴏ ʜᴇ ᴄᴀɴɴᴏᴛ ꜱᴄᴀᴍ ᴏᴛʜᴇʀ ᴜꜱᴇʀꜱ. ʀᴇᴘᴏʀᴛ ᴀᴛ @ScamSecureBot ᴀꜰᴛᴇʀ ʀᴇᴘᴏʀᴛ ʏᴏᴜ ᴡᴏɴᴛ ɢᴇᴛ ʏᴏᴜʀ ᴍᴏɴᴇʏ ʙᴀᴄᴋ ʙᴜᴛ ʏᴏᴜ ᴄᴀɴ ᴀʟᴇʀᴛ ᴏᴛʜᴇʀ ᴜꜱᴇʀꜱ ᴀʙᴏᴜᴛ ʜɪᴍ👍
👍2🔥1🎉1
🗓️ 𝗔𝗹𝗹 𝗔𝗽𝗶 𝗖𝗼𝗱𝗲 𝗧𝗵𝗮𝘁 𝗜𝗻 𝗕𝗼𝘁 𝗕𝘂𝘀𝗶𝗻𝗲𝘀𝘀
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
➪
Api.sendMessage
- Send a message to a specific chat➪
Api.getMe
- Gets information about the bot itself➪
Api.getUserProfilePhotos
- Gets a user’s profile photos➪
Api.forwardMessage
- Forwards a message from one chat to another➪
Api.sendPhoto
- Send a photo to a specific chat➪
Api.sendDocument
- Send a document (e.g., PDF, Word, etc.) to a chat➪
Api.sendVideo
- Send a video to a chat➪
Api.sendAudio
- Send an audio file (such as a music track) to a chat➪
Api.sendVoice
- Send a voice message (a .ogg audio file➪
Api.sendLocation
- Sends location coordinates to a chat➪
Api.getChat
- Gets information about a specific chat➪
Api.getChatAdministrators
- Gets a list of administrators in a chat➪
Api.getChatMemberCount
- Get the number of members in a chat➪
Api.getChatMember
- Get information about a specific member of a chat➪
Api.kickChatMember
- Kicks a user from a chat (removes them from the group)➪
Api.unbanChatMember
- Unban a user from a chat➪
Api.leaveChat
- Leave a group, supergroup, or channel➪
Api.editMessageText
- Edit the text of an already sent message➪
Api.deleteMessage
- Delete a message from a chat➪
Api.answerCallbackQuery
- Sends a response to a callback query (used for inline buttons)🎉3👍2❤1🐳1😘1
Flex Coder
🗓️ 𝗔𝗹𝗹 𝗔𝗽𝗶 𝗖𝗼𝗱𝗲 𝗧𝗵𝗮𝘁 𝗜𝗻 𝗕𝗼𝘁 𝗕𝘂𝘀𝗶𝗻𝗲𝘀𝘀 ➪ Api.sendMessage - Send a message to a specific chat ➪ Api.getMe - Gets information about the bot itself ➪ Api.getUserProfilePhotos - Gets a user’s profile photos ➪ Api.forwardMessage - Forwards a message from one…
Give Some Reaction Also 🥺
👏4🎉1
Good Morning! 🌞☀️
We hope your day is off to a fantastic start! 🌼🌈 Remember, every morning is a new opportunity to chase your dreams and achieve great things. 💪🌟 Stay positive, stay motivated, and make today amazing! 🚀😊
Best wishes,
Dark_Bjs 🌺🌿
❤2👍1🎉1👌1
🚨 Giveaway Alert 🚨
⛓️ Use Bot To Generate Refer Link: @ReferBjsBot
📌 END AT 210 SUBSCRIBERS OF @DARK_BJS
High Refer Will Win Refer & Earn Bot With Admin Panel & Ai Helper Bot & More..
⛓️ Use Bot To Generate Refer Link: @ReferBjsBot
📌 END AT 210 SUBSCRIBERS OF @DARK_BJS
🎉2👍1👏1
This media is not supported in your browser
VIEW IN TELEGRAM
Want This Animation Text Giveaway 🤔?
👍3🕊2🎉1😍1
Flex Coder
Want This Animation Text Giveaway 🤔?
🧩 Command :-
🖥 BJS :-
🖥 BJS :-
👨💻 Credit:- @sohamdeogaonkar1
/type
🖥 BJS :-
Api.sendMessage({🧩 Command :-
text:"|",
on_result: "/on_result " + params
})
/on_result
🖥 BJS :-
var text = ""
for(var i in params.split("")){
Api.editMessageText({
message_id: options.result.message_id,
text: text + params.split("")[i] + "|"
})
Api.editMessageText({
message_id: options.result.message_id,
text: text + params.split("")[i]
})
text += params.split("")[i]
}
👨💻 Credit:- @sohamdeogaonkar1
👍2🔥1🥰1🎉1
🔔 Type Text [Telebot Creator Codes].
💓 Command:
🔍 TPY:
👨💻 Credit: @Swastik_Raj
💓 Command:
/type
🔍 TPY:
text = ""
params_list = list(params)
msg = bot.sendMessage(text="|")
ms = msg.message_id
for i, param in enumerate(params_list):
bot.editMessageText(
message_id=ms,
text=text + param + "|"
)
bot.editMessageText(
message_id=ms,
text=text + param
)
text += param
➡ Example:/type hello
👨💻 Credit: @Swastik_Raj
❤3👍1🎉1
📌 Type Text [Vps\Php]
🧑💻 Created By: @Rocoder_Owner
👀 Credit: @Dark_bjs
<?php
// Telegram Bot Token
$botToken = 'Bot_Token'; // Replace with your actual token
$website = "https://api.telegram.org/bot" . $botToken;
// Get updates from Telegram
$update = file_get_contents("php://input");
$update = json_decode($update, TRUE);
// Check if the update contains a message
if (isset($update['message'])) {
// Get message details, check if 'chat' and 'text' exist
if (isset($update['message']['chat']['id']) && isset($update['message']['text'])) {
$chatId = $update['message']['chat']['id'];
$message = $update['message']['text'];
if (strpos($message, "/type") === 0) {
// Extract the text after the /type command
$textToType = trim(str_replace("/type", "", $message));
// If the user hasn't typed anything, send a default message
if (empty($textToType)) {
sendMessage($chatId, "Please type a message after /type.");
exit;
}
// Send the initial message
$messageId = sendMessage($chatId, "Typing...");
// Update the message with each character
for ($i = 0; $i < strlen($textToType); $i++) {
// Current text to show
$currentMessage = substr($textToType, 0, $i + 1);
// Edit the message instead of sending a new one
editMessage($chatId, $messageId, $currentMessage);
// Simulate a typing delay
usleep(200000); // 0.2 seconds
}
}
}
}
// Function to send a message and return the message ID
function sendMessage($chatId, $message) {
global $website;
$url = $website . "/sendMessage?chat_id=" . $chatId . "&text=" . urlencode($message);
$response = file_get_contents($url);
$response = json_decode($response, TRUE);
return $response['result']['message_id']; // Return the message ID for editing
}
// Function to edit a message
function editMessage($chatId, $messageId, $newMessage) {
global $website;
$url = $website . "/editMessageText?chat_id=" . $chatId . "&message_id=" . $messageId . "&text=" . urlencode($newMessage);
file_get_contents($url);
}
?>
🧑💻 Created By: @Rocoder_Owner
👀 Credit: @Dark_bjs
⚠️ Give Us Credit If Your Posting On Your Channel
👍2🥰1🎉1💯1
Flex Coder
Want This Animation Text Giveaway 🤔?
Text Animation All Type Of Code 👇
BB: https://t.me/Dark_Bjs/549
Tbc: https://t.me/Dark_Bjs/550
Php\Vps: https://t.me/Dark_Bjs/551
Give Reaction To Gain More Code Like This 😉
🎉2❤1👌1
❓ Request: User Authorisation To Use Bot.
👀Command: /
start
let stat = Bot.getProperty("" + user.telegramid + "")👀Command: /
Bot.sendMessage("☑ Your Verification Request Sent To My Admin")
let inl = [
[
{
text: "✅️ Accept Verification",
callback_data: "/verify con " + user.telegramid
},
{
text: "❌ Reject Verification",
callback_data: "/verify can " + user.telegramid
}
]
]
Api.sendMessage({
chat_id: 6918300873, // admin tg id here
text:
"<b>⛱️ New Verify Request!\n\n🆔 User Telegram Id : </b><code>" +
user.telegramid +
"</code>\n\n<b>☣️ User First Name : </b><code>" +
user.first_name +
"</code>\n\n<b>♈ User Name : @" +
user.username +
"</b>",
parse_mode: "html",
reply_markup: { inline_keyboard: inl }
})
if (stat = "true") {
Bot.runCommand("/main_menu") // Change This Command With Your
}
verify
let receive = params.split(" ")
let amo = receive[0]
let clus = receive[1]
if ((amo = "can")) {
Api.deleteMessage({ message_id: request.message.message_id })
Bot.sendMessage("❌ Verification Rejected!")
Bot.setProperty("" + clus + "", "false", "string")
Api.sendMessage({
chat_id: clus,
text: "☹️ Your Verification Has Been Rejected By Admin"
})
return
}
if ((amo = "con")) {
Api.deleteMessage({ message_id: request.message.message_id })
Bot.sendMessage("✅️ Verification Accepted!")
Bot.setProperty("" + clus + "", "true", "string")
Api.sendMessage({
chat_id: clus,
text: "😍 Your Verification Has Been Accepted By Admin\n\nNow Hit /start"
})
return
}
🕊4🎉1
🥱 Good Morning Member
Rise and shine, it's time to debug life just like we debug code! 🧑💻
☕May your coffee be strong, your internet connection stable, and your bugs easy to squash! 🐛
🪷Regards,
DARK BJS
Rise and shine, it's time to debug life just like we debug code! 🧑💻
☕May your coffee be strong, your internet connection stable, and your bugs easy to squash! 🐛
🪷Regards,
DARK BJS
😍3🎉1👌1
User Have To Set Username To Run Bot ☘️
if (!user.username) {
Api.sendMessage({
chat_id: user.telegramid,
text:
"⚠️ You need to set a username to use this bot.\n\n[Click Here](tg://settings) To Set Username.",
parse_mode: "Markdown",
disable_web_page_preview: true
});
} else {
\\Add Your Next Command Here
}
⚠️ Give Us Credit While Posting On Your Channel
🧑💻 Coded By: @Rocoder_Owner
©️ Credit: @Dark_bjs
👍3🎉1😍1🐳1