Commit Graph

260 Commits

Author SHA1 Message Date
Giuseppe Marino
6bb6893e6f
getMessageInfo: added send_reply parameter
if send_reply = true the message info will include the replied message
2021-09-04 15:29:00 +02:00
Andrea Cavalli
f544ff7606 Update readme, remove deprecated informations
TDLight and memory optimizations are no longer present in the bot api fork
2021-08-05 11:36:14 +02:00
Andrea Cavalli
4a4ef1b3ca Update version to 5.3.1, Update tdlib to 1.7.6. 2021-08-05 11:29:14 +02: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
Andrea Cavalli
724b814fb2
Merge pull request #66 from davidgfnet/master
Add API support to manage Telegram proxies.
2021-07-10 09:18:20 +02:00
David Guillen Fandos
74008ebce4 Fix proxy_id validation and add HTTP proxy support 2021-07-09 23:43:30 +02:00
David Guillen Fandos
de37889af1 Add API support to manage Telegram proxies.
This adds new endpoints: getProxies, addProxy, deleteProxy, enableProxy
and disableProxy.
The yaml doc file has been updated to hopefully correct information.
2021-07-05 00:58:09 +02:00
Andrea Cavalli
1c8ab81135
Merge pull request #62 from davidgfnet/master
Add knob to control the file expiration timeout.
2021-07-03 18:50:56 +02:00
David Guillen Fandos
aa118f7ae6 Add knob to control the file expiration timeout.
This allows tweaking the value (from the default 1h timeout) so that
loaded servers do not run out of disk by setting it to a smaller value.
2021-07-03 12:03:01 +02:00
Andrea Cavalli
538bf453c1
Merge pull request #65 from smaznet/patch-2
Fix filter for getChatMembers
2021-07-02 12:02:17 +02:00
SMAZNet
c0021e1d67
Update Client.cpp 2021-07-01 17:00:55 +04:30
SMAZNet
4df28c5676
Fix filter for getChatMembers 2021-07-01 16:31:51 +04:30
Giuseppe Marino
d7f30ca00e
Fix #64 2021-06-28 23:39:42 +02:00
Giuseppe Marino
3e79d99dfc
tdlight is no more 2021-06-28 13:50:13 +02:00
Giuseppe Marino
a1510e45bb
fix conflict 2021-06-28 13:41:22 +02: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
levlam
aa70087df4 Make bots online while logging in. 2021-06-14 03:45:44 +03:00
levlam
21cc85064c Do not export symbols from executable on Linux with CMake 3.4+. 2021-06-13 05:51:38 +03:00
levlam
29f11170be Fix Back button in build.html on the main page. 2021-06-08 19:22:52 +03:00
levlam
4eb391decd Dump memory statistics with other state. 2021-06-04 18:20:08 +03:00
levlam
19f9e1eff0 Output uptime and current state on closing. 2021-06-04 17:43:04 +03:00
levlam
6a7b2fd8a4 Don't store invalid callback_data in messages. 2021-06-03 19:26:19 +03:00
levlam
7f9e9fd809 Update TDLib. 2021-05-20 23:51:37 +03:00
levlam
72d8f73dbe Don't allow to access member list in deactivated groups. 2021-05-10 19:44:12 +03:00
levlam
f423f426a2 Improve handling of deleted group chats. 2021-05-10 19:02:49 +03:00
KnorpelSenf
bcd0c8eaa5
Add --version flag (#132) 2021-05-10 18:49:50 +03:00
Andrea Cavalli
5faf9eb741
Update botapi to v5.2
Update botapi to v5.2, update tdlib to v1.7.4
2021-05-06 14:55:51 +02:00
Giuseppe Marino
e6db5d0876
merge upstream 2021-05-06 12:35:09 +02:00
levlam
90fed9b9a7 Update version to 5.2. 2021-04-13 19:33:50 +03:00
levlam
12a3240656 Add InputInvoiceMessageContent. 2021-04-08 18:38:05 +03:00
levlam
aa737b3dcf Support messageVoiceChatScheduled. 2021-04-08 17:49:53 +03:00