https://github.com/alansiqma/telegram-api-python
Boott para registrar telegram
https://github.com/alansiqma/telegram-api-python
python telegram telegram-bot
Last synced: 4 months ago
JSON representation
Boott para registrar telegram
- Host: GitHub
- URL: https://github.com/alansiqma/telegram-api-python
- Owner: AlanSiqma
- License: mit
- Created: 2023-01-25T11:11:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-08T00:06:10.000Z (over 1 year ago)
- Last Synced: 2025-01-18T12:29:00.485Z (5 months ago)
- Topics: python, telegram, telegram-bot
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Robo Telegram Python 🐍
## O que é?
Os bots do Telegram são uma espécie de usuários robôs, ou seja, são usuários não humanos que realizam atividades programadas.## E esse bot, o que faz?
Responsável por responder um pedido.## Configurações
### 1- Crie um Bot no Telegram:
1. Abra o Telegram e pesquise por "@BotFather".
2. Inicie uma conversa com o BotFather e siga as instruções para criar um novo bot.
3. Anote o token de acesso fornecido pelo BotFather. Você precisará dele para conectar seu código ao bot.### 2- Instale o Python
[Clique aqui](https://www.python.org/downloads/), e você será redirecionado para a instalação do Python.
### 3- Baixe alguns pacotes
No CMD, digite os comandos:
```
pip install telebot
```
```
pip install python-dotenv
```### 4- Crie as variaveis de ambientes
Na raiz do projeto crie um arquivo .env
nele você ira adicionar:
```
TOKEN = "O TOKEN QUE PEGOU DO PASSO 1"
```