Commit Graph

17 Commits

Author SHA1 Message Date
Luckydonald
c08d466be0
Stats: hide sensible data (#24)
Adds the --stats-hide-sensible-data flag (Docker: $TELEGRAM_STAT_HIDE_SENSIBLE_DATA=1), removing the bot token and the webhook url from the stats endpoint.
2020-12-15 17:43:20 +01:00
Jannik
100a7cc846
Allow Users to use the bot api (#19)
Co-authored-by: Jannik <none>
2020-12-12 00:45:36 +01:00
Andrea Cavalli
8f0f343203 Merge commit 'e2ae8dad02a7c0046e162e12bc0c0c077fff5d14'
Conflicts:
	td
	telegram-bot-api/ClientParameters.h
2020-12-02 23:34:56 +01:00
levlam
03a8573a03 Do not update ServerCpuStat too often. 2020-11-28 21:10:19 +03:00
levlam
67a477f471 Update TDLib. 2020-11-28 21:07:44 +03:00
Giuseppe Marino
fda54d44dc
Fix build 2020-11-24 01:12:39 +01:00
levlam
79134758a8 Use "time" for monotonic time variables. 2020-11-21 17:38:11 +03:00
8524f94883
Add --no-file-limit option
Co-Authored-By: giuseppeM99 <giuseppe.marino1999@gmail.com>
2020-11-12 23:15:49 +01:00
Giuseppe Marino
25d1ee172b
add --max-batch-operations parameter (default 10000) 2020-11-11 20:09:21 +01:00
Andrea Cavalli
185885c2d2 Add custom methods 2020-11-10 16:37:01 +01:00
Giuseppe Marino
a5a0c49467
Custom methods
* Added custom methods
  - getMessageInfo
  - getParticipants
  - deleteMessages
  - toggleGroupInvite

* Implemented method getMessageInfo
* added `views` field and `forwards` field to message
* getChat now resolves the username also for users

* Added custom executable flags
  - relative : use relative path for files in local mode
  - insecure (not implemented) : allow http connection in non-local mode
2020-11-10 16:14:44 +01:00
levlam
9692d58195 Run cron strictly each second. 2020-11-10 02:27:18 +03:00
levlam
c7769ea299 Add http-ip-address and http-stat-ip-address options. 2020-11-10 02:15:40 +03:00
levlam
5ca1c098bc Remove useless check. 2020-11-08 18:14:22 +03:00
levlam
91db058809 Add filter option argument checks. 2020-11-05 17:55:13 +03:00
demget
2dd7ef910f
Fix usage message typo (#8) 2020-11-05 17:47:21 +03:00
levlam
74559bab15 Telegram Bot APi server initial commit. 2020-11-03 19:34:10 +03:00