mykola2312
|
3cf6528d07
|
add dir argument
|
2024-03-16 11:31:18 +02:00 |
|
mykola2312
|
957a7450ab
|
make dockerfile use arguments
|
2024-03-16 11:26:57 +02:00 |
|
mykola2312
|
ff10461845
|
fix dockerfile
|
2024-03-16 10:08:22 +02:00 |
|
mykola2312
|
ee02ead089
|
add runtime dependencies
|
2024-03-16 08:52:12 +02:00 |
|
mykola2312
|
3ffb71b94c
|
implement dockerfile
|
2024-03-16 08:51:02 +02:00 |
|
levlam
|
55862199bb
|
Update version to 7.1.
|
2024-02-16 03:36:41 +03:00 |
|
levlam
|
b371d90d61
|
Add Message.reply_to_story.
|
2024-02-15 11:20:57 +03:00 |
|
levlam
|
31e5e22a8b
|
Add chat and id fields to the class Story.
|
2024-02-14 18:43:33 +03:00 |
|
levlam
|
ecd5904c78
|
Add Chat.unrestrict_boost_count.
|
2024-02-14 18:16:48 +03:00 |
|
levlam
|
2523333383
|
Add Message.sender_boost_count.
|
2024-02-14 17:53:10 +03:00 |
|
levlam
|
bdae54053b
|
Support service messages about added boosts.
|
2024-02-14 17:44:52 +03:00 |
|
levlam
|
bdc2b8b053
|
Don't reopen instance by "close" request.
|
2024-02-14 17:05:51 +03:00 |
|
levlam
|
efcca904e6
|
Allow faster reopen for bots that were successfully authorized.
|
2024-02-14 16:59:22 +03:00 |
|
levlam
|
983abbf6b6
|
Make story management rights non-optional.
|
2024-02-14 14:06:55 +03:00 |
|
levlam
|
3a5101d241
|
Update TDLib to 1.8.25.
|
2024-02-14 14:04:56 +03:00 |
|
levlam
|
9aa8a69877
|
Update TDLib to 1.8.24.
|
2024-01-29 02:03:25 +03:00 |
|
levlam
|
92077cc004
|
Print log before dumping stack trace to avoid log overwriting by other threads.
|
2024-01-18 14:34:05 +03:00 |
|
levlam
|
1aa59e91ef
|
Allow to pass empty ReplyParameters.
|
2024-01-01 17:47:09 +03:00 |
|
levlam
|
010f32828d
|
Update version to 7.0.
|
2023-12-28 00:42:15 +03:00 |
|
levlam
|
2c9a81ff39
|
Add Message.users_shared field.
|
2023-12-22 23:32:52 +03:00 |
|
levlam
|
33a3480ddc
|
Support request_users.max_quantity.
|
2023-12-22 23:26:43 +03:00 |
|
levlam
|
069df2e001
|
Support channel emoji status.
|
2023-12-21 22:30:01 +03:00 |
|
levlam
|
75ac6ee044
|
Add setMessageReaction method.
|
2023-12-20 17:57:39 +03:00 |
|
levlam
|
7758c0accd
|
Add "message_reaction_count" update.
|
2023-12-20 17:45:26 +03:00 |
|
levlam
|
a0b1f8b5fd
|
Add "message_reaction" updates.
|
2023-12-20 17:35:18 +03:00 |
|
levlam
|
286cf6257b
|
Add Message.giveaway_winners.
|
2023-12-20 16:44:01 +03:00 |
|
levlam
|
a9b3401854
|
Add "has_public_winners" and "prize_description" giveaway fields.
|
2023-12-20 16:19:06 +03:00 |
|
levlam
|
9af9bd0cb4
|
Add fields chat.profile_accent_color_id and chat.profile_background_custom_emoji_id.
|
2023-12-20 16:09:15 +03:00 |
|
levlam
|
900c7af0ff
|
Update TDLib to 1.8.23.
|
2023-12-20 16:05:37 +03:00 |
|
levlam
|
dfc69153c2
|
Add Chat.available_reactions.
|
2023-12-20 15:14:10 +03:00 |
|
levlam
|
0452079474
|
Add copyMessages method.
|
2023-12-12 14:48:35 +03:00 |
|
levlam
|
45a68a7356
|
Add forwardMessages method.
|
2023-12-12 14:37:51 +03:00 |
|
levlam
|
4cc8d36963
|
Add deleteMessages method.
|
2023-12-11 20:55:10 +03:00 |
|
levlam
|
7237f1c1d5
|
Store identifier of inaccessible pinned message.
|
2023-12-04 15:32:17 +03:00 |
|
levlam
|
9f981fe1c3
|
Add Message.giveaway_completed.
|
2023-12-04 15:23:59 +03:00 |
|
levlam
|
e9d4232231
|
Support quote position in reply parameters.
|
2023-12-04 14:31:45 +03:00 |
|
levlam
|
bc6fd31e46
|
Add class TextQuote.
|
2023-12-04 14:18:57 +03:00 |
|
levlam
|
69c9f82026
|
Update TDLib to 1.8.22.
|
2023-12-04 13:42:00 +03:00 |
|
levlam
|
3620a6eaac
|
Support chat in ReplyParameters.
|
2023-11-15 16:18:00 +03:00 |
|
levlam
|
33c080d7ae
|
Support quote in ReplyParameters.
|
2023-11-14 19:34:38 +03:00 |
|
levlam
|
0b4106c0dc
|
Improve error message.
|
2023-11-14 19:22:17 +03:00 |
|
levlam
|
955cf5ccb6
|
Add class ReplyParameters and fields "reply_parameters".
|
2023-11-14 18:55:55 +03:00 |
|
levlam
|
86ce0fd73e
|
Add Client::check_reply_parameters.
|
2023-11-14 18:10:00 +03:00 |
|
levlam
|
19756324cc
|
Simplify JsonChat usage.
|
2023-11-14 13:07:14 +03:00 |
|
levlam
|
c7e341955c
|
Add Message.quote and Message.quote_entities.
|
2023-11-14 13:00:27 +03:00 |
|
levlam
|
903f987248
|
Add Message.external_reply.
|
2023-11-14 12:56:32 +03:00 |
|
levlam
|
aa72bb40cc
|
Add Message.forward_origin.
|
2023-11-13 23:17:15 +03:00 |
|
levlam
|
f9b3bd174f
|
Store td_api::MessageOrigin in MessageInfo.
|
2023-11-13 22:41:02 +03:00 |
|
levlam
|
1995d64a23
|
Add message.link_preview_options.
|
2023-11-13 22:08:07 +03:00 |
|
levlam
|
5495bc7ecb
|
Allow to specify link preview options for sent text messages.
|
2023-11-13 21:19:35 +03:00 |
|
levlam
|
3df33cdd19
|
Add getUserChatBoosts.
|
2023-11-13 20:16:11 +03:00 |
|
levlam
|
151d9fad10
|
Add "chat_boost" and "removed_chat_boost" updates.
|
2023-11-13 19:51:05 +03:00 |
|
levlam
|
e84109d165
|
Add Chat.background_custom_emoji_id.
|
2023-11-13 19:15:19 +03:00 |
|
levlam
|
a6e764667f
|
Add Chat.accent_color_id.
|
2023-11-13 19:08:21 +03:00 |
|
levlam
|
867195156b
|
Add Chat.has_visible_history.
|
2023-11-13 18:56:15 +03:00 |
|
levlam
|
5c0931d76d
|
Simplify update*FullInfo handling.
|
2023-11-13 18:53:04 +03:00 |
|
levlam
|
b0381f43b0
|
Add Message.giveaway.
|
2023-11-13 18:38:57 +03:00 |
|
levlam
|
b01e7f0dc8
|
Add Message.giveaway_created.
|
2023-11-13 18:22:04 +03:00 |
|
levlam
|
b30e793198
|
Support td_api::textEntityTypeBlockQuote.
|
2023-11-09 19:15:42 +03:00 |
|
levlam
|
9bc2049363
|
Add Client::get_same_chat_reply_to_message_id(const MessageInfo *message_info).
|
2023-11-09 18:24:50 +03:00 |
|
levlam
|
34a79c82a0
|
Update version to 6.9.2.
|
2023-11-09 02:32:21 +03:00 |
|
levlam
|
c4b5115ab2
|
Keep reply to the top thread message for external replies.
|
2023-11-05 22:08:06 +03:00 |
|
levlam
|
0c8890b018
|
Store td_api::messageReplyToMessage in MessageInfo.
|
2023-11-05 21:54:58 +03:00 |
|
levlam
|
a5faa42923
|
Minor improvements.
|
2023-11-04 02:39:57 +03:00 |
|
levlam
|
3c02c03966
|
Slowly recheck webhook IP addresses after loading them from database.
|
2023-11-01 23:01:08 +03:00 |
|
levlam
|
8437024617
|
Update TDLib to 1.8.21.
|
2023-10-31 03:10:35 +03:00 |
|
levlam
|
7da0a95104
|
Log skipped updates.
|
2023-10-23 11:53:20 +03:00 |
|
levlam
|
e9fd07f217
|
Update TDLib to 1.8.20.
|
2023-10-13 01:15:42 +03:00 |
|
levlam
|
31429e1f97
|
Maintain last time when a file was uploaded for all requests.
|
2023-09-25 19:39:51 +03:00 |
|
levlam
|
f90cc8b641
|
Update TDLib and version to 6.9.1.
|
2023-09-23 16:39:14 +03:00 |
|
levlam
|
5940af70d3
|
Update version to 6.9.
|
2023-09-22 16:23:26 +03:00 |
|
levlam
|
e0bcca5324
|
Add more fields to WriteAccessAllowed.
|
2023-09-19 20:37:10 +03:00 |
|
levlam
|
91697d5b40
|
Support "can_post_stories", "can_edit_stories" and "can_delete_stories" administrator rights.
|
2023-09-19 19:37:24 +03:00 |
|
levlam
|
df5365cbf7
|
Update TDLib to 1.8.19.
|
2023-09-19 19:26:43 +03:00 |
|
levlam
|
646d60093e
|
Fail request early if message/caption/explanation text is too long.
|
2023-09-14 19:11:12 +03:00 |
|
levlam
|
420739d6e4
|
Don't update CPU statistics before returning it to avoid synchronous open of "/proc/stat".
|
2023-09-14 16:57:28 +03:00 |
|
levlam
|
dd328e555b
|
Update TDLib to 1.8.18.
|
2023-09-13 23:14:57 +03:00 |
|
levlam
|
761dbd7d12
|
Improve query logging.
|
2023-09-08 18:09:08 +03:00 |
|
levlam
|
1f2fd4bb9d
|
Immediately return an error if more than 50 inline query results are provided.
|
2023-09-06 18:48:41 +03:00 |
|
levlam
|
4144f0bd8f
|
Explicitly disallow message updates with "channel_chat_created" content.
|
2023-09-06 17:06:21 +03:00 |
|
levlam
|
9e20c8199a
|
Update TDLib to 1.8.17.
|
2023-09-06 16:17:47 +03:00 |
|
levlam
|
1c67bd6a00
|
Update CPU statistics on a dedicated thread.
|
2023-09-03 01:03:53 +03:00 |
|
levlam
|
b97b00cf88
|
Improve ServerCpuStat.
|
2023-09-03 00:55:10 +03:00 |
|
levlam
|
191e5a732f
|
Make watchdog timeouts more precise.
|
2023-08-31 22:51:07 +03:00 |
|
levlam
|
a9ebbba001
|
Update version to 6.8.
|
2023-08-18 18:39:30 +03:00 |
|
levlam
|
a1abcc19fc
|
Update TDLib to 1.8.16.
|
2023-08-17 00:34:34 +03:00 |
|
levlam
|
9b8a7ebe6d
|
Improve logging of big queries.
|
2023-08-08 18:00:24 +03:00 |
|
levlam
|
a97775a6fd
|
Simplify reply markup parsing.
|
2023-07-31 20:01:53 +03:00 |
|
levlam
|
f463f78b3a
|
Use JsonObject member functions to get field values.
|
2023-07-31 17:53:56 +03:00 |
|
levlam
|
df0a60ab0b
|
Use get_json_object_long_field to fetch "amount".
|
2023-07-31 14:02:50 +03:00 |
|
levlam
|
33c13a945d
|
Add dedicated threads for TQueue and webhook databases and webhook certificate processing.
|
2023-07-25 22:32:05 +03:00 |
|
levlam
|
4f341f366b
|
Improve threads usage.
|
2023-07-25 22:26:12 +03:00 |
|
levlam
|
cb9a21157f
|
Improve warnings for old updates.
|
2023-07-24 21:41:15 +03:00 |
|
levlam
|
4388b0162c
|
Add unpinAllGeneralForumTopicMessages.
|
2023-07-24 17:19:14 +03:00 |
|
levlam
|
9466a25da3
|
Support messageStory as empty objects.
|
2023-07-24 16:14:03 +03:00 |
|
levlam
|
f021889ae4
|
Add Chat.emoji_status_expiration_date.
|
2023-07-21 13:33:00 +03:00 |
|
levlam
|
1c306f5449
|
Update TDLib to 1.8.15 and support votes by chats in polls.
|
2023-07-20 17:06:32 +03:00 |
|
levlam
|
8a0aace6a3
|
Improve processing of new messages.
|
2023-07-20 16:58:10 +03:00 |
|
levlam
|
bf333ae23a
|
Don't drop replies to deleted messages.
|
2023-07-20 16:30:46 +03:00 |
|
levlam
|
cd0ffe35e8
|
Don't track replies by yet unsent messages.
|
2023-07-20 16:25:42 +03:00 |
|
levlam
|
cae188da7a
|
Improve replies handling.
|
2023-07-19 23:54:47 +03:00 |
|
levlam
|
821f7b7e8a
|
Keep last time when a file was uploaded.
|
2023-07-06 14:47:31 +03:00 |
|
levlam
|
ea9ae2fa6a
|
Make Client::get_reply_markup static.
|
2023-07-06 14:01:14 +03:00 |
|
levlam
|
018f2cb483
|
Use bot identifier as token for webhook requests.
|
2023-06-28 20:55:38 +03:00 |
|
levlam
|
866d0984e1
|
Update TDLib and version to 6.7.1.
|
2023-04-21 16:08:20 +03:00 |
|
levlam
|
894cfb817d
|
Update version to 6.7.
|
2023-04-21 13:21:58 +03:00 |
|
levlam
|
d56670d677
|
Add "switch_inline_query_chosen_chat" inline keyboard buttons.
|
2023-04-07 15:29:16 +03:00 |
|
levlam
|
4480d67887
|
Add ChatMemberUpdated.via_chat_folder_invite_link.
|
2023-04-07 14:55:58 +03:00 |
|
levlam
|
e9f383eb76
|
Add setMyName.
|
2023-04-07 14:52:10 +03:00 |
|
levlam
|
bc77b930fe
|
Add getMyName.
|
2023-04-07 14:48:34 +03:00 |
|
levlam
|
82a4af5f5d
|
Update TDLib to 1.8.14.
|
2023-04-07 14:36:27 +03:00 |
|
levlam
|
4f3842da39
|
Don't dump trace on Watchdog timeouts if log is disabled.
|
2023-03-27 19:05:23 +03:00 |
|
levlam
|
372ccea547
|
Update TDLib and version to 6.6.2.
|
2023-03-27 12:08:49 +03:00 |
|
levlam
|
ee36def7d9
|
Update version to 6.6.1.
|
2023-03-25 09:27:17 +03:00 |
|
levlam
|
f404fdca90
|
Fix warning.
|
2023-03-23 20:18:32 +03:00 |
|
levlam
|
1e7ef9236e
|
Add Query::get_peer_ip_address.
|
2023-03-13 18:42:35 +03:00 |
|
levlam
|
29bcf32783
|
Completely disable network statistics.
|
2023-03-13 17:40:07 +03:00 |
|
levlam
|
6a00e2d89a
|
Update TDLib to 1.8.13.
|
2023-03-13 17:28:01 +03:00 |
|
levlam
|
a3dc0f3b89
|
Statically link libstdc++ and libgcc when memprof is enabled.
|
2023-03-12 22:39:48 +03:00 |
|
levlam
|
dd272dfc41
|
Update version to 6.6.
|
2023-03-09 18:55:26 +03:00 |
|
levlam
|
35d5f108b5
|
Minor improvements.
|
2023-03-09 18:54:59 +03:00 |
|
levlam
|
a48ad46f7e
|
Add setMyShortDescription.
|
2023-03-04 22:13:39 +03:00 |
|
levlam
|
edc146ba99
|
Add getMyShortDescription.
|
2023-03-04 22:12:34 +03:00 |
|
levlam
|
c87615f840
|
Improve BotStatActor::get_score.
|
2023-02-27 22:12:12 +03:00 |
|
levlam
|
bbb7c45815
|
Add getMyDescription.
|
2023-02-27 21:32:38 +03:00 |
|
levlam
|
f8949dcdc6
|
Add setMyDescription.
|
2023-02-27 02:19:10 +03:00 |
|
levlam
|
640822c857
|
Add emoji to sendSticker.
|
2023-02-26 22:23:38 +03:00 |
|
levlam
|
2a84b3e3a1
|
Support "web_app" button in inline query results.
|
2023-02-22 21:01:05 +03:00 |
|
levlam
|
de048634fe
|
Add optional web_app_name to WriteAccessAllowed.
|
2023-02-22 20:45:37 +03:00 |
|
levlam
|
220dc2425c
|
Avoid unneeded namespace qualification.
|
2023-02-22 19:50:53 +03:00 |
|
levlam
|
dbacb14408
|
Remove using of td::Json*.
|
2023-02-22 19:47:23 +03:00 |
|
levlam
|
c2e229bbaf
|
Remove using for td::Status and td::Slice.
|
2023-02-22 19:40:25 +03:00 |
|
levlam
|
6a102ba7ec
|
Add deleteStickerSet.
|
2023-02-16 16:27:58 +03:00 |
|
levlam
|
ef6375006c
|
Add getStickerMaskPosition.
|
2023-02-14 18:04:47 +03:00 |
|
levlam
|
5750361ae3
|
Add setStickerKeywords.
|
2023-02-14 17:54:59 +03:00 |
|
levlam
|
72f3441771
|
Add setStickerEmojiList.
|
2023-02-14 17:43:08 +03:00 |
|
levlam
|
decbf78a2b
|
Add Client::get_sticker_input_file.
|
2023-02-14 17:40:32 +03:00 |
|
levlam
|
2474b5f6f5
|
Add setStickerSetTitle.
|
2023-02-14 17:30:50 +03:00 |
|
levlam
|
b772da8f07
|
Add setCustomEmojiStickerSetThumbnail.
|
2023-02-14 17:26:31 +03:00 |
|
levlam
|
5d850c17ec
|
Support keywords in InputSticker.
|
2023-02-14 17:13:19 +03:00 |
|
levlam
|
4b8fbd0dba
|
Allow to preupload animated and video stickers.
|
2023-02-14 16:46:05 +03:00 |
|
levlam
|
baad9c7082
|
Aloow to specify up to 50 stickers in createNewStickerSet.
|
2023-02-14 16:34:10 +03:00 |
|
levlam
|
b9599ca808
|
Support InputSticker in addStickerToSet.
|
2023-02-14 14:26:42 +03:00 |
|
levlam
|
b7851efb6b
|
Add Sticker.needs_repainting.
|
2023-02-14 14:07:38 +03:00 |
|
levlam
|
261adca7ec
|
Add "needs_repainting" parameter in createNewStickerSet.
|
2023-02-14 13:37:27 +03:00 |
|
levlam
|
8f41f09afd
|
Rename "thumb" to "thumbnail".
|
2023-02-14 13:30:17 +03:00 |
|
levlam
|
9dbc713464
|
Update TDLib to 1.8.12.
|
2023-02-13 17:25:33 +03:00 |
|
levlam
|
2b3b53e8a1
|
Fail flood-limited queries with a delay.
|
2023-02-13 15:52:15 +03:00 |
|
levlam
|
fcdc7ed6df
|
Update clang-format to 16.0.0.
|
2023-02-13 15:44:46 +03:00 |
|
levlam
|
1b12c9b324
|
Update version to 6.5.
|
2023-02-02 19:21:46 +03:00 |
|
levlam
|
7c8ba921c3
|
Add use_independent_chat_permissions to restrictChatMember and setChatPermissions.
|
2023-02-01 04:00:16 +03:00 |
|
levlam
|
02f478cfba
|
Add ChatJoinRequest.user_chat_id.
|
2023-02-01 03:46:27 +03:00 |
|
levlam
|
d269dedbc0
|
Support separate media permissions.
|
2023-01-31 01:46:40 +03:00 |
|
levlam
|
f823ff2aca
|
Destroy HttpQuery on another thread.
|
2023-01-23 19:27:19 +03:00 |
|
levlam
|
11dcbb0431
|
Improve BotInfo for bots with invalid tokens.
|
2023-01-18 22:44:47 +03:00 |
|
levlam
|
61f1e7d114
|
Support messageUserShared and messageChatShared.
|
2023-01-12 14:49:26 +03:00 |
|
levlam
|
e008b9d582
|
Support "request_chat" keyboard buttons.
|
2023-01-11 20:50:43 +03:00 |
|
levlam
|
5be5f4abe3
|
Support "request_user" keyboard buttons.
|
2023-01-11 20:39:34 +03:00 |
|
levlam
|
ecbb19274a
|
Update TDLib to 1.8.11.
|
2023-01-11 20:30:27 +03:00 |
|
levlam
|
1a6c77757d
|
Rendomize maximum webhook event delay.
|
2023-01-08 21:30:51 +03:00 |
|
levlam
|
a09924aef6
|
Update TDLib and asynchronously destroy deleted TQueue events.
|
2023-01-06 18:03:45 +03:00 |
|
levlam
|
ac2641dd06
|
Reduce Watchdog timeout to 0.25.
|
2023-01-06 16:30:12 +03:00 |
|
levlam
|
41c2dc7549
|
Log top bots in dump_statistics.
|
2023-01-06 16:29:09 +03:00 |
|
levlam
|
70300a41c3
|
Add ClientManager::get_top_clients.
|
2023-01-06 15:52:53 +03:00 |
|
levlam
|
f27032a787
|
Update copyright year.
|
2023-01-01 00:31:16 +03:00 |
|
levlam
|
d44a662a3b
|
Update TDLib and version to 6.4.1.
|
2022-12-31 01:00:50 +03:00 |
|
levlam
|
8052d73897
|
Update version to 6.4.
|
2022-12-30 04:11:12 +03:00 |
|
levlam
|
f1644457b9
|
Use public photo if full profile photo is unavailable.
|
2022-12-30 00:21:16 +03:00 |
|
levlam
|
84d230a712
|
Add Chat.has_aggressive_anti_spam_enabled.
|
2022-12-29 21:11:42 +03:00 |
|
levlam
|
4cfcfb96e9
|
Add Chat.has_hidden_members.
|
2022-12-29 21:06:38 +03:00 |
|
levlam
|
8b5effc62f
|
Add methods for General topic management.
|
2022-12-29 21:02:15 +03:00 |
|
levlam
|
f3cb36efdb
|
Add Message.write_access_allowed.
|
2022-12-29 18:06:35 +03:00 |
|
levlam
|
1d180dfa0f
|
Add Message.general_forum_topic_hidden/general_forum_topic_unhidden.
|
2022-12-29 17:53:55 +03:00 |
|
levlam
|
b1f8e202ee
|
Add and use JsonEmptyObject.
|
2022-12-29 17:51:39 +03:00 |
|
levlam
|
b4a5bd0dbd
|
Add Message.forum_topic_edited.
|
2022-12-29 17:37:59 +03:00 |
|
levlam
|
8ba90d115e
|
Support sending of media with spoiler.
|
2022-12-29 17:26:39 +03:00 |
|
levlam
|
37a7d5f2b6
|
Dump statistics after stacktrace.
|
2022-12-29 16:59:38 +03:00 |
|
levlam
|
baf29b8f24
|
Add Message.has_media_spoiler field.
|
2022-12-29 16:56:32 +03:00 |
|
levlam
|
707d8e6bb9
|
Add ReplyKeyboardMarkup.is_persistent field.
|
2022-12-29 00:54:24 +03:00 |
|
levlam
|
aea44405f6
|
Update TDLib to 1.8.10.
|
2022-12-27 00:52:14 +03:00 |
|
levlam
|
cfb1acb0af
|
Add message_thread_id parameter to sendChatAction.
|
2022-12-15 20:05:22 +03:00 |
|
levlam
|
89a1a8d51e
|
Update version to 6.3.3.
|
2022-12-12 19:36:40 +03:00 |
|
levlam
|
4e1b414836
|
Improve authorization errors handling.
|
2022-12-12 19:33:35 +03:00 |
|
levlam
|
823084c65e
|
Add and use Client::get_closing_error().
|
2022-12-12 17:57:22 +03:00 |
|
levlam
|
dfe55b6245
|
Use fail_query_closing in Client::on_closed.
|
2022-12-12 14:05:37 +03:00 |
|
levlam
|
c0ca36da3a
|
Add Client::get_retry_after_time helper.
|
2022-12-11 23:26:23 +03:00 |
|
levlam
|
d0466e47da
|
Create SSL context asynchronously.
|
2022-12-11 17:17:25 +03:00 |
|
levlam
|
e9c83275bf
|
Improve error messages.
|
2022-12-05 00:00:08 +03:00 |
|
levlam
|
afdefaee79
|
Log number of flood-limited requests.
|
2022-11-30 17:37:35 +03:00 |
|
levlam
|
d3e0ef3893
|
Improve limit for active queries.
|
2022-11-30 17:30:28 +03:00 |
|
levlam
|
9bc3388c35
|
Use destroy_on_scheduler in WebhookActor.
|
2022-11-27 01:31:00 +03:00 |
|
levlam
|
cced8f9151
|
Use td::Hash instead of std::hash.
|
2022-11-23 23:43:05 +03:00 |
|
levlam
|
94c0cc55ed
|
Avoid speculative message deletion from cache.
|
2022-11-23 14:53:43 +03:00 |
|
levlam
|
7840d4204e
|
Check for MAX_CONCURRENTLY_SENT_CHAT_MESSAGES as early as possible.
|
2022-11-22 21:31:04 +03:00 |
|
levlam
|
6c863ef695
|
Improve HttpOutboundConnection parameters.
|
2022-11-22 16:44:30 +03:00 |
|
levlam
|
0718d93366
|
Improve flood control for new webhook connections.
|
2022-11-22 14:25:52 +03:00 |
|
levlam
|
c3df338da1
|
Reget poll messages from TDLib.
|
2022-11-22 13:34:16 +03:00 |
|
levlam
|
70e575c0f1
|
Limit the number of simultaneously uploaded files.
|
2022-11-14 15:35:43 +03:00 |
|
levlam
|
c528f84e10
|
Output log tag before stack trace.
|
2022-11-12 11:15:33 +03:00 |
|
levlam
|
e65558ac95
|
Use TQueue::clear.
|
2022-11-12 10:44:00 +03:00 |
|
levlam
|
9be3c50e1d
|
Update TDLib to 1.8.9 and add SslCtx caching.
|
2022-11-11 15:37:07 +03:00 |
|
levlam
|
420abcc42e
|
Update TDLib and version to 6.3.2.
|
2022-11-08 01:35:39 +03:00 |
|
levlam
|
dc51a7188b
|
Fix type of icon_custom_emoji_id.
|
2022-11-08 01:28:57 +03:00 |
|
levlam
|
a12f4b9209
|
Update version to 6.3.1.
|
2022-11-07 00:59:44 +03:00 |
|
levlam
|
d9c39b3ad5
|
Fix type of emoji_status_custom_emoji_id.
|
2022-11-07 00:59:20 +03:00 |
|
levlam
|
fbd5f549bc
|
Update version to 6.3.
|
2022-11-04 18:01:15 +03:00 |
|
levlam
|
adb5c6feb0
|
Destroy deleted messages on another thread.
|
2022-11-03 20:30:14 +03:00 |
|
levlam
|
9003612dac
|
Check message_thread_id parameter before using it.
|
2022-11-02 14:05:23 +03:00 |
|
levlam
|
1916e8c127
|
Add unpinAllForumTopicMessages method.
|
2022-10-31 20:29:38 +03:00 |
|
levlam
|
78b3d10dc8
|
Add deleteForumTopic method.
|
2022-10-31 19:16:14 +03:00 |
|
levlam
|
dad1b87445
|
Add reopenForumTopic method.
|
2022-10-31 19:13:57 +03:00 |
|
levlam
|
9297c37e83
|
Add closeTopicForum method.
|
2022-10-31 19:11:29 +03:00 |
|
levlam
|
ca3d7c2e14
|
Add editForumTopic method.
|
2022-10-31 18:55:34 +03:00 |
|
levlam
|
b75f5bae31
|
Add createForumTopic method.
|
2022-10-31 18:44:29 +03:00 |
|
levlam
|
0a3cc9d8e5
|
Add getForumTopicIconStickers method.
|
2022-10-31 18:27:17 +03:00 |
|
levlam
|
8f2c8cb1eb
|
Allow to specify message_thread_id while sending messages.
|
2022-10-31 18:16:51 +03:00 |
|
levlam
|
0b10cb32e2
|
Add "forum_topic_closed"/"forum_topic_reopened" messages.
|
2022-10-31 17:42:34 +03:00 |
|
levlam
|
f2f5bd01df
|
Add "forum_topic_created" messages.
|
2022-10-31 17:35:54 +03:00 |
|
levlam
|
936854cede
|
Add Message.is_topic_message.
|
2022-10-31 17:14:23 +03:00 |
|
levlam
|
b7f1d1f1c7
|
Add Message.message_thread_id.
|
2022-10-31 17:09:34 +03:00 |
|
levlam
|
9334101f47
|
Add can_manage_topics chat permission.
|
2022-10-31 16:15:46 +03:00 |
|
levlam
|
0e18ca4cec
|
Add can_manage_topics administrator right.
|
2022-10-31 16:12:13 +03:00 |
|
levlam
|
3228235f93
|
Add Chat.emoji_status_custom_emoji_id.
|
2022-10-31 15:59:15 +03:00 |
|
levlam
|
13387003d6
|
Add Chat.active_usernames.
|
2022-10-31 15:49:53 +03:00 |
|
levlam
|
b396c1d47b
|
Add Chat.is_forum.
|
2022-10-31 15:36:42 +03:00 |
|
levlam
|
1da3efa4ac
|
Update TDLib to 1.8.8.
|
2022-10-31 12:30:11 +03:00 |
|
levlam
|
66fbf73c56
|
Send less updates repeatedly in getUpdates.
|
2022-10-23 11:34:24 +03:00 |
|
levlam
|
20613008ae
|
Ignore dump-log and dump-stacktrace signals after crash.
|
2022-10-21 13:39:32 +03:00 |
|
levlam
|
eb229c1f72
|
Update TDLib and improve TQueue GC.
|
2022-10-14 00:46:54 +03:00 |
|
levlam
|
3d5d2ed937
|
Stop ClientManager watchdog at the beginning of closing.
|
2022-10-13 01:23:05 +03:00 |
|
levlam
|
b55c5acd72
|
Update TDLib and use AsyncFileLog instead of FileLog.
|
2022-10-09 20:16:45 +03:00 |
|
levlam
|
329e1860e4
|
Move dump_statistics to ClientManager.
|
2022-10-06 22:18:36 +03:00 |
|
levlam
|
ad3376521f
|
Move TQueue::run_gc to ClientManager.
|
2022-10-06 21:42:33 +03:00 |
|
levlam
|
c30c12190a
|
Add watchdog for ClientManager's thread.
|
2022-10-05 00:06:48 +03:00 |
|
levlam
|
bc62030daa
|
Move ClientManager to a separate thread.
|
2022-10-04 18:27:50 +03:00 |
|
levlam
|
ff2bd1be7b
|
Fail pending setWebhook queries during closing.
|
2022-10-04 17:05:35 +03:00 |
|
levlam
|
e792f78230
|
Copy webhook certificate in another thread.
|
2022-10-04 16:26:51 +03:00 |
|
levlam
|
b45424efbf
|
Improve logging for delayed message updates.
|
2022-09-29 20:28:44 +03:00 |
|
levlam
|
23795da6cd
|
Update TDLib to 1.8.7 and support extended_media in sendInvoice.
|
2022-09-23 20:29:42 +03:00 |
|
levlam
|
5b9156958c
|
Fail queries immediately if there are too many active queries already.
|
2022-09-18 10:19:58 +03:00 |
|
levlam
|
9d014593cb
|
Add active_request_count and active_file_upload_bytes to bot statistics.
|
2022-09-18 02:54:22 +03:00 |
|
levlam
|
e3b51578c1
|
Don't output empty fields in bot statistics.
|
2022-09-18 02:15:53 +03:00 |
|
levlam
|
73b48d4886
|
Improve dump of short MemoryLog.
|
2022-09-18 01:17:09 +03:00 |
|
levlam
|
32db2f53f6
|
Update TDLib to 1.8.6 and add options for changing CPU affinity.
|
2022-09-18 00:20:41 +03:00 |
|
levlam
|
ee5efdeabe
|
Improve NetBSD build instructions.
|
2022-09-06 19:02:57 +03:00 |
|
levlam
|
660e1169d7
|
Improve errors returned by get_input_message_contents.
|
2022-08-28 22:30:49 +03:00 |
|
levlam
|
4b86cd947d
|
Improve statistics retrieval.
|
2022-08-24 15:48:27 +03:00 |
|
levlam
|
fbaabaf073
|
Add watchdog for main thread hanging.
|
2022-08-22 02:26:36 +03:00 |
|
levlam
|
c7dfc992f6
|
Update TDLib and use td::WaitFreeHashMap if appropriate.
|
2022-08-21 14:44:57 +03:00 |
|
levlam
|
ae2100eace
|
Update version to 6.2.
|
2022-07-31 03:26:25 +03:00 |
|
levlam
|
fbdfa2fdb7
|
Add Chat.has_restricted_voice_and_video_messages.
|
2022-07-21 19:12:28 +03:00 |
|
levlam
|
1051ad6de0
|
Add custom_emoji_id field to the class Sticker.
|
2022-07-21 19:06:37 +03:00 |
|
levlam
|
a5bc4f214d
|
Add getCustomEmojiStickers.
|
2022-07-21 19:00:58 +03:00 |
|
levlam
|
d0000a8978
|
Add sticker_type fields and parameter.
|
2022-07-21 18:17:23 +03:00 |
|
levlam
|
18b401c925
|
Support custom_emoji entities.
|
2022-07-20 23:28:56 +03:00 |
|
levlam
|
1b41de1f19
|
Update TDLib to 1.8.5.
|
2022-07-20 22:54:07 +03:00 |
|
levlam
|
c20d06fa2e
|
Update TDLib and destroy some big data storages asynchronously.
|
2022-07-20 14:48:12 +03:00 |
|
levlam
|
b56bd7c82e
|
Add Ubuntu 22 to the list of Linux distros.
|
2022-07-12 20:26:44 +03:00 |
|
levlam
|
ef48c6102e
|
Improve warnings about size of update queue.
|
2022-07-09 14:08:08 +03:00 |
|
levlam
|
a6ac065cab
|
Unlink webhook certificate in another thread.
|
2022-07-01 13:58:28 +03:00 |
|
levlam
|
45e66d6a45
|
Use Scheduler::run_on_scheduler.
|
2022-06-30 21:30:14 +03:00 |
|
levlam
|
a695dd4c9c
|
Update TDLib.
|
2022-06-30 20:27:08 +03:00 |
|
levlam
|
e9bfc8db9b
|
Use LambdaPromise instead of PromiseActor.
|
2022-06-30 19:59:30 +03:00 |
|
levlam
|
37c8893d86
|
Rely on TDLib checks for downloaded file existence.
|
2022-06-29 18:51:24 +03:00 |
|
levlam
|
74a3eb65c8
|
Update version to 6.1.
|
2022-06-19 20:25:15 +03:00 |
|
levlam
|
fabc98e276
|
Add Sticker.premium_animation.
|
2022-06-06 16:33:42 +03:00 |
|
levlam
|
281fb9c926
|
Improve sendMediaGroup error message.
|
2022-05-30 21:32:01 +03:00 |
|
levlam
|
b52225e7f9
|
Add User.is_premium.
|
2022-05-24 16:56:53 +03:00 |
|
levlam
|
67411fd690
|
Allow to use attach protocol to upload webhook certificate.
|
2022-05-13 18:24:18 +03:00 |
|
levlam
|
1a13e1dde9
|
Add join_to_send_messages and join_by_request flags to Chat.
|
2022-05-13 16:41:12 +03:00 |
|
levlam
|
45f2c38bde
|
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 |
|
levlam
|
5d4042fa7d
|
Add the field User.added_to_attachment_menu.
|
2022-05-11 19:46:07 +03:00 |
|
levlam
|
31c0b23ba7
|
Add createInvoiceLink.
|
2022-05-09 21:49:26 +03:00 |
|
levlam
|
26cd6a28c5
|
Update TDLib to 1.8.4.
|
2022-05-09 19:25:56 +03:00 |
|
levlam
|
a8070f1844
|
Update TDLib and version to 6.0.2.
|
2022-05-04 20:12:23 +03:00 |
|
levlam
|
7c57af9211
|
Update TDLib and version to 6.0.1.
|
2022-04-18 01:23:20 +03:00 |
|
levlam
|
15abaff642
|
Update version to 6.0.
|
2022-04-16 06:13:09 +03:00 |
|
levlam
|
90ed16918a
|
Add setChatMenuButton.
|
2022-04-08 04:12:22 +03:00 |
|
levlam
|
29e19ad99a
|
Add getChatMenuButton.
|
2022-04-08 03:07:52 +03:00 |
|
levlam
|
5deafeff36
|
Add getMyDefaultAdministratorRights.
|
2022-04-03 13:29:57 +03:00 |
|
levlam
|
de264dacda
|
Add setMyDefaultAdministratorRights.
|
2022-04-03 09:33:40 +03:00 |
|
levlam
|
9961ea6ece
|
Add web_app_data messages.
|
2022-03-28 17:15:39 +03:00 |
|
levlam
|
7b61725c93
|
Unify message content variable names.
|
2022-03-28 17:10:49 +03:00 |
|
levlam
|
89c6b36f20
|
Support WebApp buttons.
|
2022-03-25 01:00:48 +03:00 |
|
levlam
|
7c2993f5ff
|
Add answerWebAppQuery method.
|
2022-03-24 12:02:15 +03:00 |
|
levlam
|
fe60d9f666
|
Update TDLib to 1.8.3.
|
2022-03-24 11:49:55 +03:00 |
|
levlam
|
60060b79f1
|
Rename voice chats to video chats.
|
2022-03-22 17:25:59 +03:00 |
|
levlam
|
ee8f35c96e
|
Add "last_synchronization_error_date" to getWebhookInfo.
|
2022-03-18 14:03:14 +03:00 |
|
levlam
|
90d093196b
|
Store full chatPhoto and compare it with chatPhotoInfo.
|
2022-03-16 14:49:38 +03:00 |
|
levlam
|
858373c80b
|
Use td::unique_ptr instead of std::unique_ptr.
|
2022-03-16 12:52:34 +03:00 |
|
levlam
|
93edba0e9d
|
Use td::FlatHashTable instead of std::unordered_map/set.
|
2022-03-16 12:41:12 +03:00 |
|
levlam
|
37b42d534b
|
Update TDLib to 1.8.2.
|
2022-03-15 20:28:51 +03:00 |
|
levlam
|
5412c9ff27
|
Update version to 5.7.
|
2022-01-31 22:49:25 +03:00 |
|
levlam
|
5c07030d1f
|
Update TDLib to 1.8.1.
|
2022-01-31 22:32:10 +03:00 |
|
levlam
|
fbdd460d8f
|
Minor improvements.
|
2022-01-25 18:18:44 +03:00 |
|
levlam
|
a29a335972
|
Update version to 5.6.1.
|
2022-01-01 12:45:09 +03:00 |
|
levlam
|
7d35dea42c
|
Update TDLib.
|
2022-01-01 12:44:12 +03:00 |
|
levlam
|
5ece773fb2
|
Improve logging.
|
2021-12-31 08:20:44 +03:00 |
|
levlam
|
d59e48b29d
|
Update version to 5.6.
|
2021-12-30 21:09:17 +03:00 |
|
levlam
|
cb5b3cfb2c
|
Allow all updateUser updates before authorization.
|
2021-12-30 21:01:14 +03:00 |
|
levlam
|
8ffcc68a2f
|
Improve log message.
|
2021-12-30 17:18:30 +03:00 |
|
levlam
|
7a46be6987
|
Add support for spoiler entities.
|
2021-12-30 14:44:21 +03:00 |
|
levlam
|
2eeceb2cd7
|
Add the ability to send messages with protected content.
|
2021-12-30 14:41:30 +03:00 |
|
levlam
|
4579bcc6b1
|
Update TDLib to 1.8.0.
|
2021-12-30 14:34:39 +03:00 |
|
levlam
|
7fb32cf407
|
Expect different Homebrew install paths on Apple silicon/Intel.
|
2021-12-23 15:04:56 +03:00 |
|
levlam
|
e2f8bdf2b5
|
Remove legacy message LRU deletion.
|
2021-12-18 23:26:05 +03:00 |
|
snxx-lppxx
|
7a471e0cf4
|
README.md: updated the code field
|
2021-12-18 11:15:33 +03:00 |
|
Mammad
|
48e8aa72df
|
Add copy button to build.html
|
2021-12-17 17:02:25 +03:00 |
|
Mammad
|
b0afef7bfb
|
Do not center text in build.html
|
2021-12-17 17:02:25 +03:00 |
|
Mammad
|
9cf11120f9
|
Update build.html
|
2021-12-17 17:02:25 +03:00 |
|
levlam
|
7e1ecc078a
|
Update .clang-format.
|
2021-12-13 00:35:46 +03:00 |
|
levlam
|
8f83563ad4
|
Update version to 5.5.1.
|
2021-12-09 19:06:22 +03:00 |
|
levlam
|
5914a10190
|
Use channel_bot as sender of channel messages.
|
2021-12-09 18:48:39 +03:00 |
|
levlam
|
c0d16e1d05
|
Update TDLib.
|
2021-12-09 18:36:38 +03:00 |
|
levlam
|
a92fe65dc0
|
Fix Message.is_automatic_forward flag for automatically forwarded manually forwarded messages.
|
2021-12-08 14:04:49 +03:00 |
|
Harshil
|
f53dc93bf9
|
fix spelling
|
2021-12-07 17:50:33 +03:00 |
|
levlam
|
81f8e5ff8e
|
Update version to 5.5.
|
2021-12-07 14:43:39 +03:00 |
|
levlam
|
ae7838ed32
|
Add banChatSenderChat/unbanChatSenderChat methods.
|
2021-12-07 14:03:40 +03:00 |
|
levlam
|
cfc28b9207
|
Add field Chat.has_private_forwards.
|
2021-12-07 13:40:47 +03:00 |
|
levlam
|
2f903c25b3
|
Add field Chat.has_protected_content.
|
2021-12-07 13:33:44 +03:00 |
|
levlam
|
d8896c108f
|
Add field Message.has_protected_content.
|
2021-12-07 13:25:01 +03:00 |
|
levlam
|
dd83a2934d
|
Update TDLib to 1.7.10.
|
2021-12-07 13:13:16 +03:00 |
|
levlam
|
8adbf87b1a
|
Add field Message.is_automatic_forward.
|
2021-12-07 12:56:22 +03:00 |
|
levlam
|
708bacf184
|
Assign a thread_id for main thread.
|
2021-11-17 13:24:19 +03:00 |
|
levlam
|
1a8acce2cf
|
Update TDLib and version to 5.4.1.
|
2021-11-07 04:23:28 +03:00 |
|
levlam
|
651181d929
|
Update version to 5.4.
|
2021-11-04 15:51:16 +03:00 |
|
levlam
|
7c1104c1eb
|
Add approve/declineChatJoinRequest.
|
2021-11-04 14:08:17 +03:00 |
|
levlam
|
9606a57b35
|
Add "chat_join_request" updates.
|
2021-11-04 13:35:43 +03:00 |
|
levlam
|
7c07a9778f
|
Update TDLib to 1.7.9.
|
2021-11-04 13:02:05 +03:00 |
|
levlam
|
c31aa31326
|
Add is_active to bot statistics.
|
2021-10-27 19:43:41 +03:00 |
|
levlam
|
c6f93c0571
|
Improve MultiPromiseActorSafe usage.
|
2021-10-26 14:28:09 +03:00 |
|
levlam
|
25e3673af3
|
Explicitly mention that libc++ needs to be installed when clang is used.
|
2021-10-26 14:27:03 +03:00 |
|
levlam
|
14b6d0502c
|
Limit number of concurrently sent messages to a chat.
|
2021-10-01 14:52:47 +03:00 |
|
levlam
|
5a1a265fc8
|
Count number of active clients with a given tqueue_id.
|
2021-09-30 23:23:41 +03:00 |
|
levlam
|
026d2d1627
|
Log all responses with code < 200.
|
2021-09-29 20:40:18 +03:00 |
|
levlam
|
bc3d1251b1
|
Update TDLib.
|
2021-09-29 20:34:21 +03:00 |
|
levlam
|
a9fe2d81c7
|
Update version to 5.3.3.
|
2021-09-20 23:56:53 +03:00 |
|
levlam
|
83d81de202
|
Update TDLib to 1.7.8.
|
2021-09-20 16:58:22 +03:00 |
|
levlam
|
d80bca3d40
|
Fix gperf install instructions through vcpkg.
|
2021-09-15 10:16:53 +03:00 |
|
levlam
|
055239c0ad
|
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
|
70e24bbe5f
|
Print stack trace to stderr after receiving signal RTMIN+2.
|
2021-09-12 13:51:22 +03:00 |
|
levlam
|
2122134ec6
|
Add TELEGRAM_BOT_API_ENABLE_LTO build option.
|
2021-09-10 17:38:27 +03:00 |
|
levlam
|
05b53ab11b
|
Update version to 5.3.2.
|
2021-09-08 17:22:40 +03:00 |
|
levlam
|
b2e4c4205e
|
Update TDLib to 1.7.7.
|
2021-09-08 17:21:28 +03:00 |
|
levlam
|
795edbc257
|
Remove unused field.
|
2021-09-06 16:51:45 +03:00 |
|
levlam
|
3db604f33c
|
Install gperf through vcpkg on Windows.
|
2021-09-03 19:35:10 +03:00 |
|
levlam
|
ac00bcd797
|
Enable CMP0074 policy to suppress CMake warning.
|
2021-09-01 19:10:34 +03:00 |
|
levlam
|
7cf64bac44
|
Remove unneeded check for unavailable supergroup member count.
|
2021-08-13 19:36:11 +03:00 |
|
levlam
|
f27fdc30e8
|
Update CentOS 8 repo name.
|
2021-08-12 20:43:24 +03:00 |
|
levlam
|
665b8cab68
|
Store separate size of query_list_.
|
2021-08-10 12:50:02 +03:00 |
|
levlam
|
55a5e18bc2
|
Allow to change tag verbosity level.
|
2021-08-02 23:57:11 +03:00 |
|
levlam
|
0a1f27f1cb
|
Update version to 5.3.1.
|
2021-07-27 01:55:06 +03:00 |
|
levlam
|
918a92c7ad
|
Remove debug logging for slow internal queries.
|
2021-07-27 01:54:11 +03:00 |
|
levlam
|
d80927269a
|
Update TDLib to 1.7.6.
|
2021-07-27 01:50:23 +03:00 |
|
levlam
|
a522085401
|
Fix check for self-destructing messages.
|
2021-07-22 18:15:31 +03:00 |
|
levlam
|
9f4bafc54f
|
Replace error code 403 with 400 in server-side errors just in case.
|
2021-07-17 04:40:32 +03:00 |
|
levlam
|
0fa80011c6
|
Output TQueue load time to log.
|
2021-06-26 04:22:29 +03:00 |
|
levlam
|
7000daf43d
|
Update version to 5.3.
|
2021-06-25 04:20:57 +03:00 |
|
levlam
|
2c10dfc0dc
|
Update TDLib.
|
2021-06-25 04:20:24 +03:00 |
|
levlam
|
d090b9485a
|
Add logging on errors with non-positive error code.
|
2021-06-24 17:27:15 +03:00 |
|
levlam
|
cd2965e2b1
|
Support new bot command methods.
|
2021-06-23 06:48:24 +03:00 |
|
levlam
|
515b41cab1
|
Support input field placehoder in ReplyMarkup.
|
2021-06-23 03:38:17 +03:00 |
|
levlam
|
fb3c99f238
|
Update TDLib.
|
2021-06-23 03:34:31 +03:00 |
|
levlam
|
b769e108f4
|
Automatically detect whether colon can be used in a directory name.
|
2021-06-23 02:03:22 +03:00 |
|
levlam
|
fe3c1694f9
|
Use absolute file paths.
|
2021-06-22 21:26:41 +03:00 |
|
levlam
|
1b743d69fd
|
Allow to leave deactivated basic groups independently from supergroups.
|
2021-06-14 23:15:40 +03:00 |
|
levlam
|
38f20f0947
|
Log too old queries.
|
2021-06-14 22:58:23 +03:00 |
|
levlam
|
e965c491d6
|
Simplify Query creation and statistics.
|
2021-06-14 22:47:01 +03:00 |
|
levlam
|
ae4e5086c9
|
Check write access to temporary directory.
|
2021-06-14 21:24:20 +03:00 |
|
levlam
|
bfa788aca0
|
Dump statistics additionally to log by signal.
|
2021-06-14 20:53:55 +03:00 |
|
levlam
|
e7318da100
|
Ignore internal setWebhook queries in flood-control.
|
2021-06-14 04:11:15 +03:00 |
|
levlam
|
b5965b9b21
|
Clamp default arg value just in case.
|
2021-06-14 04:07:37 +03:00 |
|
levlam
|
d31c0f58a4
|
Make bots online while logging in.
|
2021-06-14 03:45:44 +03:00 |
|
levlam
|
8e7b85d838
|
Do not export symbols from executable on Linux with CMake 3.4+.
|
2021-06-13 05:51:38 +03:00 |
|
levlam
|
186ebe562b
|
Fix Back button in build.html on the main page.
|
2021-06-08 19:22:52 +03:00 |
|
levlam
|
a06fc8019c
|
Dump memory statistics with other state.
|
2021-06-04 18:20:08 +03:00 |
|
levlam
|
3581110b8b
|
Output uptime and current state on closing.
|
2021-06-04 17:43:04 +03:00 |
|
levlam
|
59af6d9079
|
Don't store invalid callback_data in messages.
|
2021-06-03 19:26:19 +03:00 |
|
levlam
|
6436c8e79a
|
Update TDLib.
|
2021-05-20 23:51:37 +03:00 |
|
levlam
|
d838a8812e
|
Don't allow to access member list in deactivated groups.
|
2021-05-10 19:44:12 +03:00 |
|
levlam
|
f7dc9bc812
|
Improve handling of deleted group chats.
|
2021-05-10 19:02:49 +03:00 |
|
KnorpelSenf
|
ef9436f8b8
|
Add --version flag (#132)
|
2021-05-10 18:49:50 +03:00 |
|
levlam
|
8ff8d0c792
|
Update version to 5.2.
|
2021-04-13 19:33:50 +03:00 |
|
levlam
|
de6892e148
|
Add InputInvoiceMessageContent.
|
2021-04-08 18:38:05 +03:00 |
|
levlam
|
bbcc4732fe
|
Support messageVoiceChatScheduled.
|
2021-04-08 17:49:53 +03:00 |
|
levlam
|
c21b46f42c
|
Don't store empty chat_type.
|
2021-04-08 17:44:55 +03:00 |
|
levlam
|
eeba24eae8
|
Support new invoice fields.
|
2021-04-08 17:42:21 +03:00 |
|
levlam
|
8e617a4afc
|
Update TDLib to 1.7.4.
|
2021-04-08 17:17:05 +03:00 |
|
levlam
|
5faa803cdc
|
Improve log message.
|
2021-04-08 16:49:00 +03:00 |
|
levlam
|
b8399c1c06
|
Update TDLib to 1.7.3.
|
2021-03-28 22:03:32 +03:00 |
|
levlam
|
8f2a50fd6c
|
Add version to ClientParameters and log it on launch.
|
2021-03-14 05:28:30 +03:00 |
|
levlam
|
2d5c20e3a4
|
Improve log messages in fail_query_with_error.
|
2021-03-14 05:24:32 +03:00 |
|
levlam
|
45f43f6ef8
|
Treat self as a member in deactivated basic groups.
|
2021-03-14 05:00:36 +03:00 |
|
levlam
|
527b1bfd8c
|
Update version to 5.1.
|
2021-03-09 13:30:42 +03:00 |
|
levlam
|
e8ba6a94dc
|
Use "from" instead of "actor" for consistency with most other updates.
|
2021-03-09 13:24:17 +03:00 |
|
levlam
|
d32288c2c7
|
Update TDLib and improve field names.
|
2021-03-05 23:48:13 +03:00 |
|
levlam
|
7b1598afa4
|
Don't log "Request aborted" errors.
|
2021-03-03 19:32:08 +03:00 |
|
levlam
|
5783ad11c0
|
Update TDLib.
|
2021-03-03 19:31:58 +03:00 |
|
levlam
|
c1a0e9c91f
|
Add Client::get_input_entities function.
|
2021-02-27 22:32:50 +03:00 |
|
levlam
|
68e9c284f4
|
Add update "my_chat_member".
|
2021-02-27 03:40:58 +03:00 |
|
levlam
|
875680e19f
|
Add Internal Server Error logging.
|
2021-02-26 03:50:42 +03:00 |
|
levlam
|
50da9f3bd8
|
Add update 'chat_member'.
|
2021-02-26 03:02:26 +03:00 |
|
levlam
|
3a4911f327
|
Add can_manage_chat administrator privilege.
|
2021-02-25 22:40:54 +03:00 |
|
levlam
|
9ef4f5c142
|
Add revokeChatInviteLink method.
|
2021-02-25 22:32:23 +03:00 |
|
levlam
|
24d0d1d7ba
|
Add editChatInviteLink method.
|
2021-02-25 22:25:33 +03:00 |
|
levlam
|
da5e703df4
|
Add fast path in check_message.
|
2021-02-25 22:11:11 +03:00 |
|
levlam
|
3179dc2ff6
|
Add Chat.message_auto_delete_time field.
|
2021-02-25 22:00:17 +03:00 |
|
levlam
|
71c324e674
|
Update TDLib to 1.7.2. Add createChatInviteLink method.
|
2021-02-25 21:29:30 +03:00 |
|
levlam
|
76f9bfbb0c
|
Avoid some string copies.
|
2021-02-18 22:41:59 +03:00 |
|
levlam
|
20111d9e09
|
Support revoke_messages for groups in kickChatMember.
|
2021-02-17 20:43:55 +03:00 |
|
levlam
|
e56bd0d696
|
Update TDLib.
|
2021-02-17 17:23:58 +03:00 |
|
levlam
|
1380317e16
|
Add message_auto_delete_time_changed service message.
|
2021-02-17 15:45:24 +03:00 |
|
levlam
|
6ad5e3f8e6
|
Add related to voice chat service messages.
|
2021-02-17 14:45:22 +03:00 |
|
levlam
|
e7511c104e
|
Allow to change memory log verbosity level.
|
2021-02-15 01:23:18 +03:00 |
|
levlam
|
e1408fff95
|
Add webhook response time to log.
|
2021-02-03 17:32:43 +03:00 |
|
levlam
|
acdb814135
|
Improve error message on wrong API ID specified.
|
2021-02-01 15:44:32 +03:00 |
|
levlam
|
aaea8896d2
|
Return error 500 if sent message was immediately deleted and can't be returned.
|
2021-01-27 00:57:51 +03:00 |
|
levlam
|
4b4c34ee72
|
Improve warning messages.
|
2021-01-15 16:54:14 +03:00 |
|
levlam
|
59bbc2141f
|
Remove pending_update_count_ field.
|
2021-01-15 16:40:20 +03:00 |
|
levlam
|
b1c3c8e442
|
Remove unused field and improve pending_update_count_ field name.
|
2021-01-15 15:41:55 +03:00 |
|
levlam
|
d1357efe78
|
Improve HTTP error code for requests with unacceptable bot token.
|
2021-01-15 15:33:57 +03:00 |
|
levlam
|
e45aad4e37
|
Update copyright year.
|
2021-01-06 17:24:16 +03:00 |
|
levlam
|
e2800ba68e
|
Start webhook connection creation in inactive mode.
|
2021-01-01 16:27:36 +03:00 |
|
levlam
|
3dfda18937
|
Output fatal errors to both logs.
|
2020-12-30 21:50:52 +03:00 |
|
levlam
|
754905f452
|
Improve verbosity level change.
|
2020-12-30 17:28:44 +03:00 |
|
levlam
|
6bfeac67a3
|
Update .clang-format.
|
2020-12-23 10:39:52 +03:00 |
|
levlam
|
57cda58dc9
|
Add the field InlineQuery.chat_type, which can be sent by the server in the distant future.
|
2020-12-08 03:57:25 +03:00 |
|
levlam
|
bf118ce9cc
|
Update TDLib. Support can_manage_voice_chats administrator right.
|
2020-12-08 03:29:19 +03:00 |
|
levlam
|
56670702b1
|
Update version to 5.0.1.
|
2020-11-28 21:10:53 +03:00 |
|
levlam
|
b03f7e488f
|
Do not update ServerCpuStat too often.
|
2020-11-28 21:10:19 +03:00 |
|
levlam
|
c31fb577ff
|
Update TDLib.
|
2020-11-28 21:07:44 +03:00 |
|
levlam
|
643eacf14b
|
Fix media_group_id of messages automatically forwarded to discussion group.
|
2020-11-26 19:31:07 +03:00 |
|
levlam
|
b5f1752f26
|
Improve webhook updates delaying.
|
2020-11-26 19:12:19 +03:00 |
|
levlam
|
0793c3baf1
|
Improve log messages.
|
2020-11-26 18:09:18 +03:00 |
|
levlam
|
bba0a3b122
|
Safer handling of negative monotonic time.
|
2020-11-21 17:46:18 +03:00 |
|
levlam
|
6a722ebfb1
|
Use "time" for monotonic time variables.
|
2020-11-21 17:38:11 +03:00 |
|
Kunoi Sayami
|
ce96db8ec8
|
Add missing log part (#30)
|
2020-11-20 18:11:23 +03:00 |
|
levlam
|
bd33bf7b23
|
Update TDLib.
|
2020-11-20 18:09:21 +03:00 |
|
levlam
|
b1a8f6f5b7
|
Install pdb files.
|
2020-11-16 22:41:06 +03:00 |
|
levlam
|
6c45e7fed1
|
Run cron strictly each second.
|
2020-11-10 02:27:18 +03:00 |
|
levlam
|
97291e0d8a
|
Add http-ip-address and http-stat-ip-address options.
|
2020-11-10 02:15:40 +03:00 |
|
levlam
|
bcb8784768
|
Don't export CXXFLAGS in build instructions generator.
|
2020-11-08 21:08:13 +03:00 |
|
levlam
|
126c1eb0c2
|
Add CentOS to build instructions generator.
|
2020-11-08 18:53:28 +03:00 |
|
levlam
|
a0b80a6961
|
Remove useless check.
|
2020-11-08 18:14:22 +03:00 |
|
levlam
|
b98b2b88bf
|
Update TDLib.
|
2020-11-08 14:01:44 +03:00 |
|
levlam
|
ad991c9578
|
Update TDLib.
|
2020-11-08 12:10:27 +03:00 |
|
levlam
|
78288e0329
|
Make Client.start_up private.
|
2020-11-07 19:34:21 +03:00 |
|
levlam
|
255d1b1095
|
Fix possible CE.
|
2020-11-07 19:31:00 +03:00 |
|
levlam
|
c90fa587a8
|
Update TDLib.
|
2020-11-06 02:14:49 +03:00 |
|
levlam
|
d24fe6c94a
|
Always use SplitSource on OpenBSD.
|
2020-11-05 23:38:57 +03:00 |
|
levlam
|
cfbdf054af
|
Add filter option argument checks.
|
2020-11-05 17:55:13 +03:00 |
|
demget
|
62431da791
|
Fix usage message typo (#8)
|
2020-11-05 17:47:21 +03:00 |
|