Commit Graph

56 Commits

Author SHA1 Message Date
a5r0n
c24c0a2dae
Merge remote-tracking branch 'official-upstream/master' into official-upstream-update 2023-12-15 15:16:35 +02:00
levlam
f169ae654c Slowly recheck webhook IP addresses after loading them from database. 2023-11-01 23:01:08 +03:00
levlam
9f688af4fb Add dedicated threads for TQueue and webhook databases and webhook certificate processing. 2023-07-25 22:32:05 +03:00
levlam
c927614964 Improve threads usage. 2023-07-25 22:26:12 +03:00
levlam
736411c113 Update TDLib to 1.8.15 and support votes by chats in polls. 2023-07-20 17:06:32 +03:00
levlam
d9c00c452b Use bot identifier as token for webhook requests. 2023-06-28 20:55:38 +03:00
David Guillen Fandos
1c30dc8d3d Merge remote-tracking branch 'official-upstream/master' 2023-05-03 23:48:27 +02:00
levlam
10c5272497 Fix warning. 2023-03-23 20:18:32 +03:00
Giuseppe Marino
76e5967b72
Merge remote-tracking branch 'upstream/master' 2023-03-11 12:05:34 +01:00
levlam
79ea507664 Minor improvements. 2023-03-09 18:54:59 +03:00
levlam
0cf13d3bf4 Update TDLib to 1.8.12. 2023-02-13 17:25:33 +03:00
Giuseppe Marino
85763a1591
Merge remote-tracking branch 'upstream/master' 2023-02-04 15:31:24 +01:00
levlam
d3846adaa2 Destroy HttpQuery on another thread. 2023-01-23 19:27:19 +03:00
levlam
c68f6a7a89 Update TDLib to 1.8.11. 2023-01-11 20:30:27 +03:00
levlam
a8f7f78fe1 Rendomize maximum webhook event delay. 2023-01-08 21:30:51 +03:00
levlam
348b94bdee Update copyright year. 2023-01-01 00:31:16 +03:00
Giuseppe Marino
73c8efa528
Merge remote-tracking branch 'upstream/master'
Changes how searchChatMessages works, may break some code
2022-12-30 21:33:26 +01:00
levlam
a497eb5fcd Create SSL context asynchronously. 2022-12-11 17:17:25 +03:00
levlam
b005f42b2e Improve error messages. 2022-12-05 00:00:08 +03:00
levlam
ed0532bcf7 Use destroy_on_scheduler in WebhookActor. 2022-11-27 01:31:00 +03:00
levlam
a016d13c15 Use td::Hash instead of std::hash. 2022-11-23 23:43:05 +03:00
levlam
c8405e95f3 Improve HttpOutboundConnection parameters. 2022-11-22 16:44:30 +03:00
levlam
9842d5754f Improve flood control for new webhook connections. 2022-11-22 14:25:52 +03:00
levlam
a9cb897af4 Update TDLib to 1.8.9 and add SslCtx caching. 2022-11-11 15:37:07 +03:00
Giuseppe Marino
bcc8c6e60e
Merge version 6.2 2022-08-21 20:16:05 +02:00
levlam
95131fe376 Update TDLib. 2022-06-30 20:27:08 +03:00
levlam
3de310c951 Use LambdaPromise instead of PromiseActor. 2022-06-30 19:59:30 +03:00
Giuseppe Marino
58168e2df3
Merge version 6.1 2022-06-30 15:51:45 +02:00
levlam
06d40edb0a Allow to specify a secret_token in setWebhook to ensure that webhook was set by the domain owner. 2022-05-13 16:39:32 +03:00
Giuseppe Marino
edcb8529e6
Merge version 6.0.1 2022-05-01 10:45:29 +02:00
levlam
4925532c25 Use td::unique_ptr instead of std::unique_ptr. 2022-03-16 12:52:34 +03:00
levlam
3e9da68537 Use td::FlatHashTable instead of std::unordered_map/set. 2022-03-16 12:41:12 +03:00
Giuseppe Marino
f2e7e45fc0
Merge remote-tracking branch 'upstream/master' into merge-upstream 2022-02-01 18:28:35 +01:00
levlam
1851ba7eb5 Update TDLib to 1.8.1. 2022-01-31 22:32:10 +03:00
levlam
208fd70d58 Minor improvements. 2022-01-25 18:18:44 +03:00
Giuseppe Marino
188fa9d8b0
Merge remote-tracking branch 'upstream/master' into merge-upstream 2021-11-05 14:52:04 +01:00
levlam
997a7408c7 Update TDLib. 2021-09-29 20:34:21 +03: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
7de971ec20 Simplify Query creation and statistics. 2021-06-14 22:47:01 +03:00
levlam
7f9e9fd809 Update TDLib. 2021-05-20 23:51:37 +03:00
Giuseppe Marino
d6a99d8519
Fix conflict 2021-03-16 18:48:23 +01:00
levlam
f781aab119 Add webhook response time to log. 2021-02-03 17:32:43 +03:00
levlam
d9c247e5ed Improve warning messages. 2021-01-15 16:54:14 +03:00
levlam
fcdb824f86 Remove pending_update_count_ field. 2021-01-15 16:40:20 +03:00
levlam
789d5bb610 Remove unused field and improve pending_update_count_ field name. 2021-01-15 15:41:55 +03:00
levlam
a1e7249750 Update copyright year. 2021-01-06 17:24:16 +03:00
levlam
525b8ff2f9 Start webhook connection creation in inactive mode. 2021-01-01 16:27:36 +03: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