Simple Telegram Bot

BespredeL

New member

🇬🇧 Simple Telegram Bot


Multifunctional. Secure. Expandable.
A powerful and flexible Telegram bot designed for remote interaction with your Android device using MacroDroid. Whether you need a basic tracker, notification forwarder, or a full-featured remote control panel — this setup is for you.

📲 Link to macro

🔐 Key Features​

  • User ID-based Authorization
  • Security Shutdown on Unauthorized Access
  • Custom Commands Support
  • Device Info & Status
  • GPS Geolocation Retrieval
  • Find My Phone Sound & Flash
  • SMS & Notification Forwarding
  • Call Reject / Dial
  • Intruder Detection (Camera Trigger)
  • Multilingual Interface
  • Auto Save Media & Files
  • Text Note Saving
  • VirusTotal URL Scan (API key)
  • DeepSeek AI Chat Assistant (API key)

🛠️ Setup Instructions​

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Follow the prompts to name and create your bot
  4. Copy the API Token from BotFather
  5. Paste into apiToken in your macro
  6. Enable macro and run "Test Macro"
    ✅ Done!

💬 Default Commands​

CommandDescription
/startActivate and verify access
/helpShow help page
/device_infoShow phone stats
/geo_positionShow location
/sound_searchFind phone by sound
/reject_callReject incoming call
/call_to +1234567890Dial number
/note textSave note
/check_url https://...Check URL (VirusTotal)
/deepseek_clearClear AI chat
Any textAI response (DeepSeek)

🌍 Language Support​

Switch interface languages dynamically. Dictionaries included: English, Russian.

⚙️ Notes​


🧩 Use Cases​

  • Anti-theft tracker
  • Remote control
  • Call/SMS alerts
  • AI assistant in Telegram
  • Custom macro hub

🙏 Special Thanks​


🇷🇺 Простой Telegram Бот​

Многофункциональный. Безопасный. Гибкий.
Мощный Telegram-бот для удалённого управления Android-устройством с помощью MacroDroid. Отлично подходит как для трекера, так и для полноценной панели управления.

📲 Ссылка на макрос

🔐 Основные возможности​

  • Авторизация по Telegram ID
  • Отключение при несанкционированном доступе
  • Поддержка пользовательских команд
  • Информация об устройстве (батарея, ОЗУ, модель)
  • Геолокация через GPS
  • Поиск телефона по звуку/вспышке
  • Пересылка уведомлений и SMS
  • Отклонение/вызов звонков
  • Фото злоумышленника при неверном PIN
  • Многоязычный интерфейс
  • Автосохранение медиа и документов
  • Сохранение текстовых заметок
  • Проверка ссылок через VirusTotal (нужен ключ)
  • Чат с ИИ DeepSeek (нужен ключ)

🛠️ Инструкция по настройке​

  1. Откройте Telegram и найдите @BotFather
  2. Введите команду /newbot
  3. Укажите имя и логин бота
  4. Скопируйте API Token
  5. Вставьте его в переменную apiToken макроса
  6. Активируйте макрос и выполните "Test Macro"
    ✅ Готово!

💬 Команды по умолчанию​

КомандаОписание
/startПроверка доступа
/helpСтраница помощи, с описанием команд и информацией о боте
/device_infoИнформация об устройстве
/geo_positionГеолокация
/sound_searchЗвук для поиска
/reject_callОтклонить вызов
/call_to +1234567890Вызов номера
/note текстСохранить заметку
/check_url https://...Проверка ссылки
/deepseek_clearОчистить чат с ИИ
Любое сообщениеОтвет ИИ (DeepSeek)

🌍 Поддержка языков​

Встроенные словари позволяют переключать язык интерфейса (EN/RU).

⚙️ Примечания​

  • Требуются разрешения (камера, геолокация и пр.)
  • MacroDroid не должен выгружаться системой
  • Ключ VirusTotal
  • Токен DeepSeek

🧩 Примеры применения​

  • Трекер устройства
  • Панель управления
  • Пересылка звонков и SMS
  • Telegram-чатбот с ИИ
  • Центр запуска макросов

🙏 Благодарности​

  • @vavlut — тестирование, багрепорты
 
Last edited:
How to use this macro? I don't know 😅, what's is work of this macro? How to work? I completed process of discription guide 🙃.. but don't know next step 🪜
 

BespredeL

New member
How to use this macro? I don't know 😅, what's is work of this macro? How to work? I completed process of discription guide 🙃.. but don't know next step 🪜
Hi! Don't worry, we'll figure it out together now )). If you followed the steps in the instructions, the bot should already be working, and you can send it commands that are already in the bot, or create your own.
Have you tried sending commands to the bot, do they work? What's the problem you're having now? Sorry for the stupid questions, I just need to understand how to help you.
 

BespredeL

New member
What's is commads? What can be done with this macro? How can I do it?

✅ What you've done so far:​

  1. You created the bot using BotFather — awesome!
  2. You copied the API token and pasted it into the apiToken variable — perfect!
  3. You ran the “Test Macro” or toggled the macro — good!
Now your bot is most likely active and ready.



🤖 What can you do with this bot?​

You can send commands directly to the bot in Telegram and it will perform actions on your device.

Some example commands (may vary depending on your macro version):​


CommandAction
/startGetting Started with the Bot
/helpHelps to understand how to control the bot. Currently empty
/device_infoGet device info (battery, memory, model, etc.)
/geo_positionGet current GPS location
/sound_searchPlay a loud sound — helps you find your phone
/reject_callReject an incoming call
/call_to 1234567890Call the specified number
/note somethingSave a message as a note
/check_url https://...Check URL with VirusTotal (needs API key https://www.virustotal.com/gui/sign-in)
Image, document, audio and video filesSave photos, videos, audio, and documents
Any messageTalk to AI assistant (like DeepSeek, needs API key https://openrouter.ai/deepseek/deepseek-chat-v3-0324:free)
/deepseek_clearClear chat history with DeepSeek

⚠️ These commands are created as an example, in order to make it easier to understand how to implement your ideas on working through a telegram bot based on this macro, because this macro is a basis, and not a fully finished bot. Although all current commands are fully functional and can be used out of the box



🪜 What to do now:​

  1. Open your bot in Telegram.
  2. Try sending a command like /device_info or /geo_position.
  3. If the bot replies — you're good to go!
  4. If nothing happens — make sure:
    • You are an authorized user (check your user ID is allowed in the macro var permittedUserId).
    • The macro is active and running in background.
    • You didn’t forget to set permissions for GPS, camera, sound, etc.
Sorry for the template answer, I was just preparing the instructions. If something is still unclear, let me know
 
Last edited:

BespredeL

New member
Давайте пройдёмся по шагам.
1. Зарегистрировать бота.
2. Скопировать токен апи и вставить в макросе в переменную apiToken
3. Сделать в ручную тестовый запуск макроса (хотя и без этого должно работать но, через меню три точки, тестировать макрос)

Если всё это сделали и не работает, можете прислать мне здесь в личные сообщения скриншоты системного журнала или содержимое?
 

vavlut

New member
Давайте пройдёмся по шагам.
1. Зарегистрировать бота.
2. Скопировать токен API и вставить в макросе переменную apiToken.
3. Сделать в ручную тестовый запуск макроса (хотя и без этого должно работать но, меню через три точки, тестировать макрос)

Если всё это сделано и не работает, можете прислать мне здесь в личных сообщениях скриншоты системного журнала или уважения?
Ок
 
Top