Commit Graph

383 Commits

Author SHA1 Message Date
levlam
824b23afc6 Add field Message.is_automatic_forward. 2021-12-07 12:56:22 +03:00
levlam
5491729a3c Assign a thread_id for main thread. 2021-11-17 13:24:19 +03:00
levlam
e9587a0083 Update TDLib and version to 5.4.1. 2021-11-07 04:23:28 +03:00
levlam
a838756c9a Update version to 5.4. 2021-11-04 15:51:16 +03:00
levlam
e2728cba7c Add approve/declineChatJoinRequest. 2021-11-04 14:08:17 +03:00
levlam
c9a2a62248 Add "chat_join_request" updates. 2021-11-04 13:35:43 +03:00
levlam
2fa32d7db7 Update TDLib to 1.7.9. 2021-11-04 13:02:05 +03:00
levlam
5130c52676 Add is_active to bot statistics. 2021-10-27 19:43:41 +03:00
levlam
6aa090a43a Improve MultiPromiseActorSafe usage. 2021-10-26 14:28:09 +03:00
levlam
014890d720 Explicitly mention that libc++ needs to be installed when clang is used. 2021-10-26 14:27:03 +03:00
levlam
380e65d47e Limit number of concurrently sent messages to a chat. 2021-10-01 14:52:47 +03:00
levlam
e715de9e1c Count number of active clients with a given tqueue_id. 2021-09-30 23:23:41 +03:00
levlam
9380c2a3d1 Log all responses with code < 200. 2021-09-29 20:40:18 +03:00
levlam
997a7408c7 Update TDLib. 2021-09-29 20:34:21 +03:00
levlam
36b0c4426a Update version to 5.3.3. 2021-09-20 23:56:53 +03:00
levlam
0034afbcba Update TDLib to 1.7.8. 2021-09-20 16:58:22 +03:00
levlam
9461e3c2ae Fix gperf install instructions through vcpkg. 2021-09-15 10:16:53 +03:00
levlam
a1e41a1dc1 Use Debian 10 build instructions for Debian 11 and combine build instructions for Debian 8 and 9. 2021-09-12 20:55:52 +03:00
levlam
87981c105d Print stack trace to stderr after receiving signal RTMIN+2. 2021-09-12 13:51:22 +03:00
levlam
05ebe83f2f Add TELEGRAM_BOT_API_ENABLE_LTO build option. 2021-09-10 17:38:27 +03:00
levlam
0e1862d26d Update version to 5.3.2. 2021-09-08 17:22:40 +03:00
levlam
40ff6f637b Update TDLib to 1.7.7. 2021-09-08 17:21:28 +03:00
levlam
937fa526b9 Remove unused field. 2021-09-06 16:51:45 +03:00
levlam
cfa7124e76 Install gperf through vcpkg on Windows. 2021-09-03 19:35:10 +03:00
levlam
25946a5c8e Enable CMP0074 policy to suppress CMake warning. 2021-09-01 19:10:34 +03:00
levlam
d598402a3c Remove unneeded check for unavailable supergroup member count. 2021-08-13 19:36:11 +03:00
levlam
0256738f23 Update CentOS 8 repo name. 2021-08-12 20:43:24 +03:00
levlam
60acf1e402 Store separate size of query_list_. 2021-08-10 12:50:02 +03:00
levlam
eafb9375d2 Allow to change tag verbosity level. 2021-08-02 23:57:11 +03:00
levlam
05b3d5fcb1 Update version to 5.3.1. 2021-07-27 01:55:06 +03:00
levlam
0df68c6235 Remove debug logging for slow internal queries. 2021-07-27 01:54:11 +03:00
levlam
c95ccee93f Update TDLib to 1.7.6. 2021-07-27 01:50:23 +03:00
levlam
def3e84f12 Fix check for self-destructing messages. 2021-07-22 18:15:31 +03:00
levlam
7fd2c2a22d Replace error code 403 with 400 in server-side errors just in case. 2021-07-17 04:40:32 +03:00
levlam
8a3d43daa9 Output TQueue load time to log. 2021-06-26 04:22:29 +03:00
levlam
81f298361c Update version to 5.3. 2021-06-25 04:20:57 +03:00
levlam
a4c562e4a5 Update TDLib. 2021-06-25 04:20:24 +03:00
levlam
b7af179809 Add logging on errors with non-positive error code. 2021-06-24 17:27:15 +03:00
levlam
b8693ae500 Support new bot command methods. 2021-06-23 06:48:24 +03:00
levlam
73b65fc99e Support input field placehoder in ReplyMarkup. 2021-06-23 03:38:17 +03:00
levlam
878a1e16a8 Update TDLib. 2021-06-23 03:34:31 +03:00
levlam
badeb9a7f0 Automatically detect whether colon can be used in a directory name. 2021-06-23 02:03:22 +03:00
levlam
08a92a2347 Use absolute file paths. 2021-06-22 21:26:41 +03:00
levlam
ad55377cba Allow to leave deactivated basic groups independently from supergroups. 2021-06-14 23:15:40 +03:00
levlam
ab8edb4de7 Log too old queries. 2021-06-14 22:58:23 +03:00
levlam
7de971ec20 Simplify Query creation and statistics. 2021-06-14 22:47:01 +03:00
levlam
54112379ff Check write access to temporary directory. 2021-06-14 21:24:20 +03:00
levlam
061c34749a Dump statistics additionally to log by signal. 2021-06-14 20:53:55 +03:00
levlam
084aa2a6f3 Ignore internal setWebhook queries in flood-control. 2021-06-14 04:11:15 +03:00
levlam
05bbc55569 Clamp default arg value just in case. 2021-06-14 04:07:37 +03:00