levlam
|
a78edf0703
|
Use JsonObject member functions to get field values.
|
2023-07-31 17:53:56 +03:00 |
|
levlam
|
2bbaf87fea
|
Use get_json_object_long_field to fetch "amount".
|
2023-07-31 14:02:50 +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
|
ec8e44de5a
|
Improve warnings for old updates.
|
2023-07-24 21:41:15 +03:00 |
|
levlam
|
f4422f5976
|
Add unpinAllGeneralForumTopicMessages.
|
2023-07-24 17:19:14 +03:00 |
|
levlam
|
afd30f2cfa
|
Support messageStory as empty objects.
|
2023-07-24 16:14:03 +03:00 |
|
levlam
|
51fba26f78
|
Add Chat.emoji_status_expiration_date.
|
2023-07-21 13:33:00 +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
|
1fa5c2c31a
|
Improve processing of new messages.
|
2023-07-20 16:58:10 +03:00 |
|
levlam
|
9ce2f7df4c
|
Don't drop replies to deleted messages.
|
2023-07-20 16:30:46 +03:00 |
|
levlam
|
68dc4f54a5
|
Don't track replies by yet unsent messages.
|
2023-07-20 16:25:42 +03:00 |
|
levlam
|
c8e50b8011
|
Improve replies handling.
|
2023-07-19 23:54:47 +03:00 |
|
levlam
|
a9a0140476
|
Keep last time when a file was uploaded.
|
2023-07-06 14:47:31 +03:00 |
|
levlam
|
84e512c2e4
|
Make Client::get_reply_markup static.
|
2023-07-06 14:01:14 +03:00 |
|
levlam
|
d9c00c452b
|
Use bot identifier as token for webhook requests.
|
2023-06-28 20:55:38 +03:00 |
|
levlam
|
2515892217
|
Update TDLib and version to 6.7.1.
|
2023-04-21 16:08:20 +03:00 |
|
levlam
|
c7253129b5
|
Update version to 6.7.
|
2023-04-21 13:21:58 +03:00 |
|
levlam
|
e7a61ce8f8
|
Add "switch_inline_query_chosen_chat" inline keyboard buttons.
|
2023-04-07 15:29:16 +03:00 |
|
levlam
|
9e87ac2bf9
|
Add ChatMemberUpdated.via_chat_folder_invite_link.
|
2023-04-07 14:55:58 +03:00 |
|
levlam
|
38a11d1e1f
|
Add setMyName.
|
2023-04-07 14:52:10 +03:00 |
|
levlam
|
a894cace6b
|
Add getMyName.
|
2023-04-07 14:48:34 +03:00 |
|
levlam
|
6561063f52
|
Update TDLib to 1.8.14.
|
2023-04-07 14:36:27 +03:00 |
|
levlam
|
0e5673f2dc
|
Don't dump trace on Watchdog timeouts if log is disabled.
|
2023-03-27 19:05:23 +03:00 |
|
levlam
|
df53cfeb85
|
Update TDLib and version to 6.6.2.
|
2023-03-27 12:08:49 +03:00 |
|
levlam
|
8e00a8d41d
|
Update version to 6.6.1.
|
2023-03-25 09:27:17 +03:00 |
|
levlam
|
10c5272497
|
Fix warning.
|
2023-03-23 20:18:32 +03:00 |
|
levlam
|
e9d32ad23d
|
Add Query::get_peer_ip_address.
|
2023-03-13 18:42:35 +03:00 |
|
levlam
|
26854a6a3d
|
Completely disable network statistics.
|
2023-03-13 17:40:07 +03:00 |
|
levlam
|
c5b8e34cd3
|
Update version to 6.6.
|
2023-03-09 18:55:26 +03:00 |
|
levlam
|
79ea507664
|
Minor improvements.
|
2023-03-09 18:54:59 +03:00 |
|
levlam
|
8fd2a69378
|
Add setMyShortDescription.
|
2023-03-04 22:13:39 +03:00 |
|
levlam
|
8ee91caacf
|
Add getMyShortDescription.
|
2023-03-04 22:12:34 +03:00 |
|
levlam
|
4df8df2f17
|
Improve BotStatActor::get_score.
|
2023-02-27 22:12:12 +03:00 |
|
levlam
|
ac28919390
|
Add getMyDescription.
|
2023-02-27 21:32:38 +03:00 |
|
levlam
|
f25e81c015
|
Add setMyDescription.
|
2023-02-27 02:19:10 +03:00 |
|
levlam
|
ab54061365
|
Add emoji to sendSticker.
|
2023-02-26 22:23:38 +03:00 |
|
levlam
|
1720ba3e81
|
Support "web_app" button in inline query results.
|
2023-02-22 21:01:05 +03:00 |
|
levlam
|
4dc418b8d3
|
Add optional web_app_name to WriteAccessAllowed.
|
2023-02-22 20:45:37 +03:00 |
|
levlam
|
7b2acc80be
|
Avoid unneeded namespace qualification.
|
2023-02-22 19:50:53 +03:00 |
|
levlam
|
b81073cb1a
|
Remove using of td::Json*.
|
2023-02-22 19:47:23 +03:00 |
|
levlam
|
f24dca312f
|
Remove using for td::Status and td::Slice.
|
2023-02-22 19:40:25 +03:00 |
|
levlam
|
b38ce2a79d
|
Add deleteStickerSet.
|
2023-02-16 16:27:58 +03:00 |
|
levlam
|
64591671fc
|
Add getStickerMaskPosition.
|
2023-02-14 18:04:47 +03:00 |
|
levlam
|
116e7aab24
|
Add setStickerKeywords.
|
2023-02-14 17:54:59 +03:00 |
|
levlam
|
c48dfe5d4d
|
Add setStickerEmojiList.
|
2023-02-14 17:43:08 +03:00 |
|
levlam
|
bb5f3651b2
|
Add Client::get_sticker_input_file.
|
2023-02-14 17:40:32 +03:00 |
|
levlam
|
401894a53b
|
Add setStickerSetTitle.
|
2023-02-14 17:30:50 +03:00 |
|
levlam
|
0c7a7236eb
|
Add setCustomEmojiStickerSetThumbnail.
|
2023-02-14 17:26:31 +03:00 |
|
levlam
|
84e6f5fa1d
|
Support keywords in InputSticker.
|
2023-02-14 17:13:19 +03:00 |
|
levlam
|
d3898d9b7f
|
Allow to preupload animated and video stickers.
|
2023-02-14 16:46:05 +03:00 |
|
levlam
|
a1d7c768bb
|
Aloow to specify up to 50 stickers in createNewStickerSet.
|
2023-02-14 16:34:10 +03:00 |
|
levlam
|
d0b5abfc46
|
Support InputSticker in addStickerToSet.
|
2023-02-14 14:26:42 +03:00 |
|
levlam
|
1da3d34299
|
Add Sticker.needs_repainting.
|
2023-02-14 14:07:38 +03:00 |
|
levlam
|
3be3dfedf6
|
Add "needs_repainting" parameter in createNewStickerSet.
|
2023-02-14 13:37:27 +03:00 |
|
levlam
|
96e534bddc
|
Rename "thumb" to "thumbnail".
|
2023-02-14 13:30:17 +03:00 |
|
levlam
|
0cf13d3bf4
|
Update TDLib to 1.8.12.
|
2023-02-13 17:25:33 +03:00 |
|
levlam
|
09c9db306a
|
Fail flood-limited queries with a delay.
|
2023-02-13 15:52:15 +03:00 |
|
levlam
|
12c56318a8
|
Update clang-format to 16.0.0.
|
2023-02-13 15:44:46 +03:00 |
|
levlam
|
8180845429
|
Update version to 6.5.
|
2023-02-02 19:21:46 +03:00 |
|
levlam
|
0e6826b7e4
|
Add use_independent_chat_permissions to restrictChatMember and setChatPermissions.
|
2023-02-01 04:00:16 +03:00 |
|
levlam
|
0bc181c216
|
Add ChatJoinRequest.user_chat_id.
|
2023-02-01 03:46:27 +03:00 |
|
levlam
|
2c23688be6
|
Support separate media permissions.
|
2023-01-31 01:46:40 +03:00 |
|
levlam
|
d3846adaa2
|
Destroy HttpQuery on another thread.
|
2023-01-23 19:27:19 +03:00 |
|
levlam
|
70428fb762
|
Improve BotInfo for bots with invalid tokens.
|
2023-01-18 22:44:47 +03:00 |
|
levlam
|
82d592702d
|
Support messageUserShared and messageChatShared.
|
2023-01-12 14:49:26 +03:00 |
|
levlam
|
c3c8f112ee
|
Support "request_chat" keyboard buttons.
|
2023-01-11 20:50:43 +03:00 |
|
levlam
|
e636a6db45
|
Support "request_user" keyboard buttons.
|
2023-01-11 20:39:34 +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
|
1b741dd3b3
|
Update TDLib and asynchronously destroy deleted TQueue events.
|
2023-01-06 18:03:45 +03:00 |
|
levlam
|
452a190094
|
Reduce Watchdog timeout to 0.25.
|
2023-01-06 16:30:12 +03:00 |
|
levlam
|
75caf1b0e7
|
Log top bots in dump_statistics.
|
2023-01-06 16:29:09 +03:00 |
|
levlam
|
0dcec25d7e
|
Add ClientManager::get_top_clients.
|
2023-01-06 15:52:53 +03:00 |
|
levlam
|
348b94bdee
|
Update copyright year.
|
2023-01-01 00:31:16 +03:00 |
|
levlam
|
d091a730fb
|
Update TDLib and version to 6.4.1.
|
2022-12-31 01:00:50 +03:00 |
|
levlam
|
c3b3c3033f
|
Update version to 6.4.
|
2022-12-30 04:11:12 +03:00 |
|
levlam
|
c5ed576b1e
|
Use public photo if full profile photo is unavailable.
|
2022-12-30 00:21:16 +03:00 |
|
levlam
|
fbc493c361
|
Add Chat.has_aggressive_anti_spam_enabled.
|
2022-12-29 21:11:42 +03:00 |
|
levlam
|
b972cebad4
|
Add Chat.has_hidden_members.
|
2022-12-29 21:06:38 +03:00 |
|
levlam
|
849d48e858
|
Add methods for General topic management.
|
2022-12-29 21:02:15 +03:00 |
|
levlam
|
9b47c90de9
|
Add Message.write_access_allowed.
|
2022-12-29 18:06:35 +03:00 |
|
levlam
|
d19413f8e6
|
Add Message.general_forum_topic_hidden/general_forum_topic_unhidden.
|
2022-12-29 17:53:55 +03:00 |
|
levlam
|
3704082f2a
|
Add and use JsonEmptyObject.
|
2022-12-29 17:51:39 +03:00 |
|
levlam
|
38df7114f2
|
Add Message.forum_topic_edited.
|
2022-12-29 17:37:59 +03:00 |
|
levlam
|
28106d9df4
|
Support sending of media with spoiler.
|
2022-12-29 17:26:39 +03:00 |
|
levlam
|
30da51bc72
|
Dump statistics after stacktrace.
|
2022-12-29 16:59:38 +03:00 |
|
levlam
|
e5af2d3133
|
Add Message.has_media_spoiler field.
|
2022-12-29 16:56:32 +03:00 |
|
levlam
|
1fd451510f
|
Add ReplyKeyboardMarkup.is_persistent field.
|
2022-12-29 00:54:24 +03:00 |
|
levlam
|
921f5c4b2e
|
Update TDLib to 1.8.10.
|
2022-12-27 00:52:14 +03:00 |
|
levlam
|
b6f135b4c0
|
Add message_thread_id parameter to sendChatAction.
|
2022-12-15 20:05:22 +03:00 |
|
levlam
|
aec312006e
|
Update version to 6.3.3.
|
2022-12-12 19:36:40 +03:00 |
|
levlam
|
5166914162
|
Improve authorization errors handling.
|
2022-12-12 19:33:35 +03:00 |
|
levlam
|
ed9f836977
|
Add and use Client::get_closing_error().
|
2022-12-12 17:57:22 +03:00 |
|
levlam
|
9aeb8135e0
|
Use fail_query_closing in Client::on_closed.
|
2022-12-12 14:05:37 +03:00 |
|
levlam
|
66b5d8aa07
|
Add Client::get_retry_after_time helper.
|
2022-12-11 23:26:23 +03: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
|
1c0774b1a9
|
Log number of flood-limited requests.
|
2022-11-30 17:37:35 +03:00 |
|
levlam
|
48a5609de2
|
Improve limit for active queries.
|
2022-11-30 17:30:28 +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
|
428f438e4f
|
Avoid speculative message deletion from cache.
|
2022-11-23 14:53:43 +03:00 |
|
levlam
|
1d5dc9e5e8
|
Check for MAX_CONCURRENTLY_SENT_CHAT_MESSAGES as early as possible.
|
2022-11-22 21:31:04 +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
|
53aa4d2f03
|
Reget poll messages from TDLib.
|
2022-11-22 13:34:16 +03:00 |
|
levlam
|
ce6ddc74d7
|
Limit the number of simultaneously uploaded files.
|
2022-11-14 15:35:43 +03:00 |
|
levlam
|
c833612414
|
Output log tag before stack trace.
|
2022-11-12 11:15:33 +03:00 |
|
levlam
|
84ceee07bf
|
Use TQueue::clear.
|
2022-11-12 10:44:00 +03:00 |
|
levlam
|
a9cb897af4
|
Update TDLib to 1.8.9 and add SslCtx caching.
|
2022-11-11 15:37:07 +03:00 |
|
levlam
|
a822b35d87
|
Update TDLib and version to 6.3.2.
|
2022-11-08 01:35:39 +03:00 |
|
levlam
|
29cc000c08
|
Fix type of icon_custom_emoji_id.
|
2022-11-08 01:28:57 +03:00 |
|
levlam
|
ab2f0f0bbc
|
Update version to 6.3.1.
|
2022-11-07 00:59:44 +03:00 |
|
levlam
|
0ddf9a460d
|
Fix type of emoji_status_custom_emoji_id.
|
2022-11-07 00:59:20 +03:00 |
|
levlam
|
571baeead0
|
Update version to 6.3.
|
2022-11-04 18:01:15 +03:00 |
|
levlam
|
daf986972b
|
Destroy deleted messages on another thread.
|
2022-11-03 20:30:14 +03:00 |
|
levlam
|
8aac13eb4d
|
Check message_thread_id parameter before using it.
|
2022-11-02 14:05:23 +03:00 |
|
levlam
|
36e41d6b7f
|
Add unpinAllForumTopicMessages method.
|
2022-10-31 20:29:38 +03:00 |
|
levlam
|
88748a50f3
|
Add deleteForumTopic method.
|
2022-10-31 19:16:14 +03:00 |
|
levlam
|
807c353fc0
|
Add reopenForumTopic method.
|
2022-10-31 19:13:57 +03:00 |
|
levlam
|
82ec9dc608
|
Add closeTopicForum method.
|
2022-10-31 19:11:29 +03:00 |
|
levlam
|
1f7cd2cba5
|
Add editForumTopic method.
|
2022-10-31 18:55:34 +03:00 |
|
levlam
|
1e68d49193
|
Add createForumTopic method.
|
2022-10-31 18:44:29 +03:00 |
|
levlam
|
83bcb31994
|
Add getForumTopicIconStickers method.
|
2022-10-31 18:27:17 +03:00 |
|
levlam
|
39392705a7
|
Allow to specify message_thread_id while sending messages.
|
2022-10-31 18:16:51 +03:00 |
|
levlam
|
f4b4ab3d74
|
Add "forum_topic_closed"/"forum_topic_reopened" messages.
|
2022-10-31 17:42:34 +03:00 |
|
levlam
|
8fa63c21f9
|
Add "forum_topic_created" messages.
|
2022-10-31 17:35:54 +03:00 |
|
levlam
|
1c3235b402
|
Add Message.is_topic_message.
|
2022-10-31 17:14:23 +03:00 |
|
levlam
|
b0fec0b09d
|
Add Message.message_thread_id.
|
2022-10-31 17:09:34 +03:00 |
|
levlam
|
342d59a19d
|
Add can_manage_topics chat permission.
|
2022-10-31 16:15:46 +03:00 |
|
levlam
|
ea978c5770
|
Add can_manage_topics administrator right.
|
2022-10-31 16:12:13 +03:00 |
|
levlam
|
5fb80085fb
|
Add Chat.emoji_status_custom_emoji_id.
|
2022-10-31 15:59:15 +03:00 |
|
levlam
|
1ba4392648
|
Add Chat.active_usernames.
|
2022-10-31 15:49:53 +03:00 |
|
levlam
|
1270c70499
|
Add Chat.is_forum.
|
2022-10-31 15:36:42 +03:00 |
|
levlam
|
90d30d9a63
|
Update TDLib to 1.8.8.
|
2022-10-31 12:30:11 +03:00 |
|
levlam
|
c1db2380bd
|
Send less updates repeatedly in getUpdates.
|
2022-10-23 11:34:24 +03:00 |
|
levlam
|
bb8b7a6702
|
Ignore dump-log and dump-stacktrace signals after crash.
|
2022-10-21 13:39:32 +03:00 |
|
levlam
|
aa05180325
|
Update TDLib and improve TQueue GC.
|
2022-10-14 00:46:54 +03:00 |
|
levlam
|
018b4fc6f7
|
Stop ClientManager watchdog at the beginning of closing.
|
2022-10-13 01:23:05 +03:00 |
|
levlam
|
b44bc1cabd
|
Update TDLib and use AsyncFileLog instead of FileLog.
|
2022-10-09 20:16:45 +03:00 |
|
levlam
|
3be8cb6323
|
Move dump_statistics to ClientManager.
|
2022-10-06 22:18:36 +03:00 |
|
levlam
|
022bed651c
|
Move TQueue::run_gc to ClientManager.
|
2022-10-06 21:42:33 +03:00 |
|
levlam
|
337b657f9c
|
Add watchdog for ClientManager's thread.
|
2022-10-05 00:06:48 +03:00 |
|
levlam
|
04825c4b70
|
Move ClientManager to a separate thread.
|
2022-10-04 18:27:50 +03:00 |
|
levlam
|
2cca516445
|
Fail pending setWebhook queries during closing.
|
2022-10-04 17:05:35 +03:00 |
|
levlam
|
e4324ead54
|
Copy webhook certificate in another thread.
|
2022-10-04 16:26:51 +03:00 |
|
levlam
|
2224b715be
|
Improve logging for delayed message updates.
|
2022-09-29 20:28:44 +03:00 |
|
levlam
|
254ad97805
|
Update TDLib to 1.8.7 and support extended_media in sendInvoice.
|
2022-09-23 20:29:42 +03:00 |
|
levlam
|
834caf09bf
|
Fail queries immediately if there are too many active queries already.
|
2022-09-18 10:19:58 +03:00 |
|