php-telegram-bot-pooling-ex.../config-example.ini
2023-03-17 14:53:13 +08:00

18 lines
809 B
INI

; Each bot is given a unique authentication token when it is created.
; The token looks something like 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11.
; You can learn about obtaining tokens and generating new ones in the Telegram Bot API document.
token =
; The Telegram Bot API endpoint. Change this when you want to use your own Bot API server.
endpoint = https://api.telegram.org/bot
; The file that saves the last update id to tell Telegram that we already processed the updates.
last_update_id_file = last-update-id.txt
; Limits the number of updates to be retrieved. Values between 1-100 are accepted. Defaults to 100.
limit = 100
; Timeout in seconds for long polling.
; Defaults to 0, i.e. usual short polling.
; Should be positive, short polling should be used for testing purposes only.
timeout = 60