Create a Telegram Bot and Get the Token - DEXBOT
Skip to navigation Skip to main content
LOGB
  • Home
  • Blog
  • Catalog
  • Update
  • Instruction manual
  • Documentation
  • Support
  • TELEGRAM DEMO
Login / Register
Sign in Create an Account

Lost your password?

  • English
    • Русский
    • English
    • Deutsch
    • 中文 (中国)
    • Español
    • فارسی
    • हिन्दी
    • Italiano
    • 日本語
    • Tiếng Việt
    • Français
    • 한국어
    • Türkçe
    • العربية
    • Português
    • বাংলা
LOGB
  • English
    • Русский
    • English
    • Deutsch
    • 中文 (中国)
    • Español
    • فارسی
    • हिन्दी
    • Italiano
    • 日本語
    • Tiếng Việt
    • Français
    • 한국어
    • Türkçe
    • العربية
    • Português
    • বাংলা

Quick start

2
  • Create a Telegram Bot and Get the Token
  • Quick DEXBOT Installation

Telegram BOT EN

10
  • GRID BOT
  • Token setup
  • Setting up trading indicators
  • Bot Settings
  • Trading Settings
  • Selected Blockchain Overview
  • Blockchain Settings
  • Closed Trades
  • Active Trades
  • Main Menu

Setting up a VPS

7
  • DEXBOT version Update
  • Basic Commands for Working with a Linux VPS Server
  • Creating and Activating Systemd Services for Running Bots
  • Configuration Setup of .env and Database
  • Deploying the Bot on the Server
  • Server and Folder Preparation
  • Generating and Preparing the Secret Key

Website Documentation

4
  • Using a coupon (promo code) to get a discount
  • Two-Factor Authentication
  • License — Reset Device
  • Affiliate Program
  • Home
  • Documentation
  • Quick start
  • Create a Telegram Bot and Get the Token
View Categories

Create a Telegram Bot and Get the Token

< 1 мин. чтения


🤖 How to Create a Telegram Bot and Get the Token #

  1. Open the Telegram app on your phone or computer.
  2. Search for @BotFather — this is the official bot for creating other bots.
  3. Click the Start button or enter the command:
    /start
  4. Enter the command:
    /newbot
  5. Choose a name for your bot (any name, e.g., DEXBot).
  6. Then enter a username for your bot — it must be in English and end with bot (e.g., dexbot_helper_bot).
  7. After that, BotFather will send you an access token (API key) — it looks like this:
    1234567890:AAH9_q2ZzQwz3D5vGJ0EXAMPLEu1lA
  8. Copy this token and keep it safe — this is what you insert into the .env file to run your Telegram bot.

🗒️ Example: .env structure #

TELEGRAM_TOKEN=1234567890:AAH9_q2ZzQwz3D5vGJ0EXAMPLEu1lA

⚠️ Important #

  • Do not publish the token publicly (e.g., on GitHub).
  • If the token is compromised, open BotFather and use the /revoke command to generate a new one.



Rate this document?
Updated on July 31, 2025
Quick DEXBOT InstallationQuick DEXBOT Installation
Table of Contents
  • 🤖 How to Create a Telegram Bot and Get the Token
  • 🗒️ Example: .env structure
  • ⚠️ Important

© 2026 DEXBOT. All rights reserved

  • Home
  • Blog
  • Catalog
  • Update
  • Instruction manual
  • Documentation
  • Support
  • TELEGRAM DEMO
Telegram
We use cookies to ensure you get the best experience on our website. By continuing to use this site, you agree to our use of cookies.
More info More info Accept
Home
0 items Cart
My account
Menu