Skip to content

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuidoBot

A simple Telegram bot

Installation

cp .env.example .env

Usage

go run .

Webhook request example

curl --location --request GET 'localhost:3000/{API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "message": {
        "text": "pepe",
        "chat": {
            "id": 42
        },
        "entities": [
            {
                "type": "mention"
            },
            {
                "type": "bold"
            }
        ]
    }
}'
curl --location --request GET 'localhost:3000/{API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "message": {
        "text": "/tokens",
        "chat": {
            "id": 42
        }
    }
}'

About

A simple Telegram bot

Resources

Stars

2 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages