Skip to content

jbelbo/GuidoBot

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published