₹0.00

No products in the cart.

₹0.00

No products in the cart.

HomeAPIHow To Add Captcha Verification On Telegram Bot | Bots.business

How To Add Captcha Verification On Telegram Bot | Bots.business

hello, how are you As you know it has been a long time since Telegram and Telegram are giving such good service that all the users are very happy with Telegram. Telegram is a social media platform. Here there is not only chat but all the tools you can do in this chat you like Instagram downloader. Facebook video downloader, text to audio converter, live price checker, there are many such tools that cannot be counted.

In that way, here we teach you how to create those tools. There are many such tools available here that you must have done them. So in this article, we are going to tell you that you are going to install a captcha verification system in your Telegram bot in Telegram bot, which can be done by Telegram bot only after verifying any user.

All the Telegram bots that we have created earlier are made on bots.business, this captcha verification is also going to tell you by adding them to the telegram bot made on bots.business. Which is very easy if you do not know what bots business is then you can read the article below.

So now let’s talk about how to install captcha verification in Telegram bot in bots.business

How to Add Captcha Verification in telegram bot with bots.business

First of all you must know that bots.business is an easy and simple app to do it and its programming language is also very easy, you can easily copy-paste the code here

Command 1

Command Name: /captcha
BJS
  function makecaptcha(length) {     var result           = [];     var characters       = '176266266226262626262262616160123456789';     var charactersLength = characters.length;     for ( var i = 0; i < length; i++ ) {       result.push(characters.charAt(Math.floor(Math.random() *   charactersLength)));    }    return result.join(''); }  var captcha = makecaptcha(4)   //website support only 4 characters or it will slice to 4 charachers if exceeds Api.sendPhoto({ chat_id: user.telegramid, photo: "https://api.ikitz.xyz/captcha/simple/v1?captcha="+captcha, caption: "Enter the captcha for human Verification" })  Bot.run({ command: "/check_captcha", options: {captcha: captcha} })  
As you know when we start the Telegram bot, the first start command is run. If you have named any other command as /start, then you can give it some other secure name that no one can guess.

Command 2

Command Name /check_captcha
Wait For Answer: True
BJS
   if(!options){return} if(!options.captcha){return}  var captcha = options.captcha  if(message != captcha){ Bot.sendMessage("Wrong Captcha") //Bot.runCommand(/captcha) or /Bot.runCommand(/main_menu) return }  Bot.sendMessage("✅ Verified Succefully") Bot.runCommand("/main_menu")  
This code will only work on bots.business. Here below you will be getting an API show, you can do it in any coding or programming language.

Captcha verification API

https://api.ikitz.xyz/captcha/simple/v1?captcha= Your Verification Code here
Copy Link And Add Your Verification Code

Credit

Code Credit: Parantak
API Credit: Soham Deogaonkar

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest news

Median UI v1.7 + (AMP) Premium Blogger Template Download

Hello and welcome to TechnoStone. In this post, I will be introducing you to the Median UI v1.7 Blogger Template. Median UI v1.7 is a...

Plus UI V2.6.1 Blogger Template with Safelink Free Download

Hey there! In this post, I want to tell you about a really cool blogger template called Plus UI. It's a premium design that's...

Litespot v2.0 – [Premium] Blogger Template Free Download

LiteSpot v2.0 Blogger Template: The Ultimate Theme for News Sites and Magazines LiteSpot v2.0 Blogger Template, which is a professional and SEO-friendly theme for creating...

FROM SHOP