implementation
This commit is contained in:
parent
697f3cba67
commit
d157e331cc
5 changed files with 92 additions and 0 deletions
18
config-example.ini
Normal file
18
config-example.ini
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
; 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue