Skip to main content
Glama
psyb0t

docker-telethon-plus

by psyb0t

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TELETHON_API_IDYesAPI ID from my.telegram.org
TELETHON_DRY_RUNNoIf true, write endpoints validate but don't call Telegramfalse
TELETHON_SESSIONYesStringSession from the login helper
TELETHON_API_HASHYesAPI hash from my.telegram.org
TELETHON_AUTH_KEYNoWhen set, all endpoints require Authorization: Bearer <key>
TELETHON_LOG_LEVELNoDEBUG, INFO, WARNING, ERRORINFO
TELETHON_READ_ONLYNoIf true, all write endpoints return 403false
TELETHON_CACHE_PATHNoPath to the entity cache file/cache/entities.json
TELETHON_APP_VERSIONNoWhat Telegram thinks your app is1.0
TELETHON_POST_TO_URLNoURL to POST incoming update events to
TELETHON_DEVICE_MODELNoWhat Telegram thinks your device isdocker-telethon-plus
TELETHON_DOWNLOAD_DIRNoScratch space for send_file uploads/tmp/telethon-plus
TELETHON_CACHE_ENABLEDNoPersist resolved entities to disktrue
TELETHON_SYSTEM_VERSIONNoWhat Telegram thinks your OS is1.0
TELETHON_REQUEST_TIMEOUTNoPer-request timeout in seconds60
TELETHON_THROTTLE_ENABLEDNoMaster switch for all rate-limitingtrue
TELETHON_CACHE_TTL_SECONDSNoTTL for cached entities in seconds604800
TELETHON_THROTTLE_ADAPTIVENoOn each FLOOD_WAIT, multiply all waits ×2 for an hourtrue
TELETHON_THROTTLE_JITTER_MSNoRandom ±jitter added on top200
TELETHON_BUCKET_READ_PER_MINNoCap on read ops600
TELETHON_BUCKET_SEND_PER_MINNoCap on sends across all chats20
TELETHON_HTTP_LISTEN_ADDRESSNohost:port to bind0.0.0.0:8080
TELETHON_UPDATES_BUFFER_SIZENoBuffer size for slow WebSocket consumers
TELETHON_BUCKET_JOIN_PER_HOURNoCap on channel/group joins5
TELETHON_FLOOD_SLEEP_THRESHOLDNoAuto-sleep through FLOOD_WAIT errors below this many seconds60
TELETHON_BUCKET_CREATE_PER_HOURNoCap on channel/group creation5
TELETHON_BUCKET_RESOLVE_PER_MINNoCap on resolveUsername5
TELETHON_BUCKET_GET_FULL_PER_MINNoCap on getFullChannel / getFullUser / get_participants10
TELETHON_THROTTLE_GLOBAL_INTERVAL_MSNoMin gap between any two outgoing requests50
TELETHON_THROTTLE_PER_CHAT_INTERVAL_MSNoMin gap between sends to the same chat1100
TELETHON_THROTTLE_PER_CHAT_READ_INTERVAL_MSNoMin gap between reads from the same chat250

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/psyb0t/docker-telethon-plus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server