Commit Graph

125 Commits

Author SHA1 Message Date
Giuseppe Marino
fd714cdc04
Update TDLib 2021-12-10 00:48:18 +01:00
Giuseppe Marino
768793e88d
Merge remote-tracking branch 'upstream/master' 2021-12-09 23:57:03 +01:00
levlam
3980748099 Use channel_bot as sender of channel messages. 2021-12-09 18:48:39 +03:00
levlam
df89ddf059 Fix Message.is_automatic_forward flag for automatically forwarded manually forwarded messages. 2021-12-08 14:04:49 +03:00
giuseppeM99
9a1b509a78
Merge branch 'tdlib:master' into master 2021-12-07 15:53:17 +01:00
Harshil
04361155aa fix spelling 2021-12-07 17:50:33 +03:00
Giuseppe Marino
6389996a5d
Merge upstream 5.5 2021-12-07 14:59:54 +01:00
levlam
541126ead5 Add banChatSenderChat/unbanChatSenderChat methods. 2021-12-07 14:03:40 +03:00
levlam
052032ee8b Add field Chat.has_private_forwards. 2021-12-07 13:40:47 +03:00
levlam
9f8606b612 Add field Chat.has_protected_content. 2021-12-07 13:33:44 +03:00
levlam
5d118ebf6b Add field Message.has_protected_content. 2021-12-07 13:25:01 +03:00
levlam
f7e38e273c Update TDLib to 1.7.10. 2021-12-07 13:13:16 +03:00
levlam
824b23afc6 Add field Message.is_automatic_forward. 2021-12-07 12:56:22 +03:00
Giuseppe Marino
188fa9d8b0
Merge remote-tracking branch 'upstream/master' into merge-upstream 2021-11-05 14:52:04 +01: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
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
Giuseppe Marino
032f82b6ca
update tdlib 2021-09-22 15:35:11 +02:00
Giuseppe Marino
97872f5b87
merge conflict 2021-09-22 11:46:33 +02:00
levlam
0034afbcba Update TDLib to 1.7.8. 2021-09-20 16:58:22 +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
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
levlam
d598402a3c Remove unneeded check for unavailable supergroup member count. 2021-08-13 19:36:11 +03: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
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
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
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
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
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
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
7de971ec20 Simplify Query creation and statistics. 2021-06-14 22:47:01 +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
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