You need to create a bot in Telegram (SMS receipt service)
That is, the client went to the bot, chose the service he needed, rented a number for receiving SMS, the telegram bot replied him the answer about the code.
You also need to complete your account through CryptoBot.
Detailed TZ during discussion
Вот SMS Activate о котором шла речь https://sms-activate.org
Example of a bot, how it should look : https://t.me/SMSBest_bot
You need to add the following services for the possibility of rental in the bot:
The Facebook
Telegrams
Google, YouTube and Gmail
by Steam
The Instagram
TIKTOK
by MailRu
VKontakte
Yandex
by eBay
by OLX
by Viber
One class
by Avito
by BlaBlaCar
by Julia
by Glovo
hh
Drom
Some rented rooms don’t always send SMS, sometimes it’s related to problems on the side of the 5SIM service.
This is why you need to add the button to the number:
- cancellation of the number (free within 20 minutes, provided that no code has entered the number)
- Replacement of the number is free (at the condition that no code has come to the first number)
- Repeat SMS to the rented number, actually within 20 minutes, free ( 2 or more SMS in a row on the same sim for one session )
- Ready (this button is pressed when the code has arrived and everything is OK)
If the code has arrived and the customer has not confirmed receipt of the SMS, the money is recorded.
The main menu should consist of the buttons:
Buy a number.
Number rental for 4 hours, or 12 hours, or 1 or more days
Complete the balance
- Country/operator ( indicate all countries that are available in 5SIM ) and add the search button inside the menu so that the country can be searched on request rather than listed 10 pages )
- Profile (this indicates the balance)
The completion of the account should take place through CryptoBot or ukr card
Доброго времени бытия.
По поводу бота и его разработки, вот детальное ТЗ :
Пример бота, как должен выглядеть : https://t.me/SMSBest_bot
Требуется добавить следующие сервисы для возможности аренды в бота :
Telegram
Google, youtube, gmail
Steam
TikTok
MailRu
ВКонтакте
Яндекс
Ebay
OLX
Viber
Одноклассники
Avito
BlaBlaCar
Юла
Glovo
hh
Drom
Некоторые арендованные номера не всегда присылают СМС, иногда это связано с проблемами на стороне сервиса 5SIM
Именно по этому к номеру нужно добавить кнопки :
- Отмена номера ( бесплатно в течении 20-ти минут, при условии, что ни один код не поступил на данный номер )
- Замена номера бесплатно ( при условии, что ни один код не пришёл на первый номер )
- Повторное смс на арендованный номер, действительно в течении 20-ти минут, бесплатно ( 2 и более смс подряд на одну и ту же симку за одну сессию )
- Готово ( эту кнопку нажимают тогда, когда код пришёл и всё в порядке )
Если код пришёл и заказчик не подтвердил получение смс, деньги списываются
Основное меню должно состоять из кнопок :
- Купить номер
- Аренда номеров на 4 часа, или 12 часов, или 1 и более дней
- Пополнить баланс
- Страна/оператор ( указывать все страны что имеются в 5SIM ) и добавить кнопку поиска внутри меню, чтоб страну можно было искать по запросу а не листать 10 страниц )
- Профиль ( там указывается баланс )
Пополнение аккаунта должно происходить через CryptoBot или укр карты
Так же, вот часть кода, которую отрыл в GitHub
<?php
$json = file_get_contents('php://input');
$action = json_decode($json, true);
$message = $action['message']['text'];
$chat = $action['message']['chat']['id'];
$user = $action['message']['from']['id'];
$token = 'YOUR_TELEGRAM_BOT_TOKEN';
$smstoken = 'YOUR_SMSACTIVATE_API_KEY'
if ($message == '/nomer@YOUR_BOT_NAME' OR $message == '/nomer' OR !file_exists($filename)) {
$nom = file_get_contents('http://sms-activate.ru/stubs/handler_api.php?api_key=$smstoken&action=getNumber&service=$ya&forward=$0&operator=$any'); //формирует запрос на получение номера в формате ACCESS_NUMBER:432112:79019043090
$arrWithData = explode(':', $nom);
file_put_contents($filename, $arrWithData[1].':'.$arrWithData[2]);
$id = $arrWithData[1];
$nomer = $arrWithData[2];
} else {
$getFileWithInfo = file_get_contents($filename);
$arrWithData = explode(':', $getFileWithInfo);
$id = $arrWithData[0];
$nomer = $arrWithData[1];
}
if ($message == '/start@YOUR_BOT_NAME' || $message == '/start') {
file_get_contents('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$chat.'&text=Добро пожаловать в SMS-Activate Telegram Bot! Для справки используйте команду /help'); //Приветственное сообщение
} elseif ($message == '/balance@YOUR_BOT_NAME' || $message == '/balance') {
$bal= file_get_contents('http://sms-activate.ru/stubs/handler_api.php?api_key=$smstoken&action=getBalance');
$balance = trim($bal, "ACCESS_BALANCE:");
file_get_contents('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$chat.'&text=Баланс счета: '.$balance.' руб.'); // Баланс личного счета
} elseif ($message == '/nomer@YOUR_BOT_NAME' || $message == '/nomer') {
file_get_contents('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$chat.'&text='.$nomer); // запрос номера
} elseif ($message == '/kod@YOUR_BOT_NAME' || $message == '/kod') {
$status = file_get_contents('http://sms-activate.ru/stubs/handler_api.php?api_key=$smstoken&action=getStatus&id=$'.$id);
file_get_contents('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$chat.'&text='.$status); //присылает смс-сообщение или статус
} elseif ($message == '/help@YOUR_BOT_NAME' || $message == '/help') {
file_get_contents('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$chat.'&text=Сюда можно вписать хелп'); //хелп
} elseif ($message == '/resend@YOUR_BOT_NAME' || $message == '/resend') {
$rese = file_get_contents('http://sms-activate.ru/stubs/handler_api.php?api_key=$smstoken&action=setStatus&status=3&id='.$id);
file_get_contents('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$chat.'&text=Проверяй новый код /kod. Ответ сервера: '.$rese); //новый запрос на код
} elseif ($message == '/cancel@YOUR_BOT_NAME' || $message == '/cancel') {
$canc = file_get_contents('http://sms-activate.ru/stubs/handler_api.php?api_key=$smstoken&action=setStatus&status=$-1&id='.$id);
file_get_contents('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$chat.'&text=Отменено: '.$canc); //отменить запрос на номер
} elseif ($message == '/black@YOUR_BOT_NAME' || $message == '/black') {
$blac = file_get_contents('http://sms-activate.ru/stubs/handler_api.php?api_key=$smstoken&action=setStatus&status=8&id='.$id);
file_get_contents('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$chat.'&text=Использованный номер, отмена. Ответ сервера: '.$blac); //Удалить использованный номер
}
?>
-
1982 47 7 2 Good day . I have a ready bot in which you can buy virtual numbers using SMS-activate. Payment there was through crypto, but we can change to CryptoBot. There are also other services available, if not necessary we can remove them.
-
882 29 1 Hello to you.
I have a great experience in developing tg-bots and also had to work with CryptoBot.
I do it quickly and quality. I look forward to your message.
-
1838 43 0 Good day !
My latest projects are related to integration with various APIs.
The project is interesting.
Turn to!
-
838 14 2 Hello to you!
I think I can realize this in a short line.
I’ve already seen the app service, it’s pretty easy.
I’m going to do it through aiogram 3.
Can you write in private messages for discussion?
I will be happy to cooperate!
-
310 5 1 Good evening . I have 3 years experience in developing bots on Python. There is a ready code for this bot. I will make your project in the shortest time possible.
Write to me for contact.
-
10063 117 0 Hello to you.
I’m developing bots for telegram on NodeJS. Ready to take. Let’s write, we will discuss.
-
Можно увидеть детальное ТЗ?
-
Current freelance projects in the category Bot Development
Automation setup: Form on the website → WhatsApp bot → CRM (Make + WATI)Project Description: There is a transportation company website. Clients submit requests through a form on the site — the form is sent to email. We need to set up the following automation:Stage 1 — Form → WhatsApp — When a new request comes to the email from the website, the… Web Programming, Bot Development ∙ 10 hours 45 minutes back ∙ 19 proposals |
Telegram chatbot for a closed club
22 USD
Good day! I need to set up a bot for Telegram. Task: selling access to a closed channel. The bot should accept payments and after successful payment, issue a one-time invitation link. It is also necessary to set up automatic removal of a participant from the channel when their… Bot Development ∙ 2 days 21 hours back ∙ 91 proposals |
Mini apps Telegram. StoreGood afternoon An application is required in Telegram (online store) Example - essentially 1 to 1 like here brandspacebot Your experience is important, the stack you propose to use and why Price and timeframe approximately to start, I will be waiting for questions Web Programming, Bot Development ∙ 2 days 23 hours back ∙ 89 proposals |
Bots"I am looking for a programmer to create a turnkey Telegram bot. The bot should be an intelligent conversationalist based on AI (Gemini or ChatGPT), helping people on any topic and in any language. Payment (Monobank or LiqPay) for subscription needs to be integrated as well. I… Bot Development ∙ 3 days 8 hours back ∙ 61 proposals |
Creation of a multifunctional bot in Telegram
22 USD
(I will provide all materials in private messages) Here is a detailed project description: After pressing the button /start The bot sends a text with rules and terms of use (under the text, the button ‘acknowledged’) After pressing the button, the next message is… Python, Bot Development ∙ 3 days 13 hours back ∙ 95 proposals |