levlam
2392cc7631
Fix some uses after move.
2021-11-10 20:05:41 +03:00
Trumeet
33c689aacc
Add missing 'struct' keywords for tdc headers
...
Some structs do not have typedef aliases, but their references forget to put 'struct' keywords when referencing them, so they cause compiling issues.
This commit adds the missing 'struct' keywords so TDLib C headers could compile successfully.
2021-11-10 19:21:04 +03:00
levlam
00cea653bf
Improve includes.
2021-11-09 19:02:01 +03:00
levlam
a3e9a0be1f
Move get_dialog_event_log to separate file.
2021-11-09 16:54:49 +03:00
levlam
4f1e5db8cd
Simplify message deletion.
2021-11-09 10:19:04 +03:00
levlam
544ec92aa9
Ensure that RequestActor function isn't run while closing.
2021-11-08 19:17:36 +03:00
levlam
244986ae7d
Crash if tryibg to create a NetActor while closing.
2021-11-08 19:07:55 +03:00
levlam
9f5a1567f0
Ignore CHANNEL_PRIVATE errors for GetChannelDifferenceQuery after restart.
2021-11-08 17:24:27 +03:00
levlam
b0eca77c9a
Improve logging.
2021-11-08 17:11:35 +03:00
levlam
6de2763fac
Remove duplicate logging before net queries.
2021-11-08 16:41:16 +03:00
levlam
2f1821a6c4
Improve RequestActor td_ private field name.
2021-11-08 15:26:22 +03:00
levlam
616b0e6d6f
Improve ResultHandler/NetActor td_ private field name.
2021-11-08 15:20:38 +03:00
levlam
776635e8c5
Simplify result handling.
2021-11-08 14:35:40 +03:00
levlam
5578ecc6b8
Remove NetQuery id from ResultHandler and NetActor.
2021-11-08 14:19:57 +03:00
levlam
365965d1fb
Improve documentation.
2021-11-08 13:28:44 +03:00
levlam
911c5fc32b
Fix MessagesManager closing.
2021-11-07 15:20:15 +03:00
levlam
1bd9e0f622
Fix editChatInviteLink.
2021-11-07 04:18:41 +03:00
levlam
7d41d9eaa5
Update version to 1.7.9.
2021-11-05 03:34:52 +03:00
levlam
b7cf2e578d
Save reference to UpdatesManager in promise.
2021-11-05 03:31:48 +03:00
levlam
8bc413742d
Simplify field name.
2021-11-04 13:13:52 +03:00
levlam
e57e938e56
Improve documentation.
2021-11-04 13:01:20 +03:00
levlam
ca7947cf44
Minor improvements.
2021-11-04 12:46:08 +03:00
levlam
eb2c0c9315
Check for is_bot just in case.
2021-11-04 11:41:07 +03:00
levlam
47f3363ca8
Improve field names.
2021-11-04 09:52:27 +03:00
levlam
46486bd82e
Init disable_web_page_preview for incoming messages.
2021-11-04 00:21:27 +03:00
levlam
d63471fcde
Update country list.
2021-11-02 19:20:18 +03:00
levlam
ca6fb2bdb2
Fix getCountries.
2021-11-02 19:04:02 +03:00
levlam
babb66d3e0
Fix processing of empty messages.
2021-11-02 18:30:11 +03:00
levlam
9d467d1ea5
Add chatEventMemberJoinedByRequest.
2021-11-02 18:05:50 +03:00
levlam
41668e3aca
Don't store dialog theme names for bots.
2021-11-02 18:01:09 +03:00
levlam
239f46b075
Don't store pending join requests for bots.
2021-11-02 17:51:52 +03:00
levlam
d732789cac
Disallow member_limit for links requiring administrator approval.
2021-11-02 17:21:36 +03:00
levlam
5a596fcc48
Reuse chatJoinRequest class.
2021-11-02 17:09:54 +03:00
levlam
32a2e51235
Improve documentation.
2021-11-02 15:25:55 +03:00
levlam
2ac0bea193
Disable animated emoji clicks if animated emoji are disabled.
2021-11-01 23:19:22 +03:00
levlam
6ab91f2712
Update chat join request after GetChatJoinRequestsQuery.
2021-11-01 23:03:41 +03:00
levlam
3d827b408f
Allow to set "utc_time_offset" option.
2021-11-01 22:42:33 +03:00
levlam
88d7b284b4
Add utc_time_offset option.
2021-11-01 22:32:49 +03:00
levlam
0c1e268706
Don't generate MASK for parsed True fields.
2021-11-01 21:53:23 +03:00
levlam
4533f79338
Don't generate MASK for parsed object/vector fields.
2021-11-01 20:48:06 +03:00
levlam
0522ba178a
Remove TlStoreTrue.
2021-11-01 20:02:24 +03:00
levlam
6e8a88be35
Add TlStorerTotString.store_vector_begin.
2021-11-01 19:45:55 +03:00
levlam
f743c782bf
Move TlStorerToString to TlStorerToString.h.
2021-11-01 19:21:24 +03:00
levlam
5e43075d3b
Add TlStorerToString::store_object_field method.
2021-11-01 18:59:35 +03:00
levlam
a4592bd522
Add messageChatJoinByRequest.
2021-11-01 17:22:42 +03:00
levlam
fd0de189f8
Add pushMessageContentChatJoinByRequest.
2021-11-01 17:17:08 +03:00
levlam
a3b71ca82c
Support getChatSparseMessagePositions in secret chats when message database enabled.
2021-11-01 16:30:03 +03:00
levlam
5a82af3f7f
Add MessagesDbDialogCalendarQuery.
2021-11-01 13:50:45 +03:00
levlam
463c4e96ac
Pass MessageSearchFilter instead of index_mask in message database queries.
2021-11-01 12:52:51 +03:00
levlam
13c76b349d
Add td_api::getChatMessageCalendar.
2021-10-30 03:34:49 +03:00
levlam
39b5db357e
Add updateNewChatJoinRequest.
2021-10-28 22:49:56 +03:00
levlam
81bfbecb18
Add internalLinkTypeUnsupportedProxy.
2021-10-28 21:46:34 +03:00
levlam
00a349656d
Unify td/telegram/include order.
2021-10-27 17:32:09 +03:00
levlam
6f34c5c6a1
Make PhotoSizeSource constructors named.
2021-10-27 16:52:22 +03:00
levlam
93f2436f0e
Use Delete..OnServer instead of Delete..FromServer.
2021-10-27 15:38:09 +03:00
levlam
8916cacd21
Improve log event name.
2021-10-27 15:27:09 +03:00
levlam
22a859045f
Fix getAnimatedEmoji.
2021-10-27 15:19:07 +03:00
levlam
2cd186f7b8
Fix invite link field checks.
2021-10-27 15:02:50 +03:00
levlam
1f75f7b494
Improve documentation.
2021-10-27 13:46:01 +03:00
levlam
c63fa2e743
Add chatInviteLink.title.
2021-10-27 13:21:50 +03:00
levlam
97243b53e4
Allow to create and edit chat invite links with title.
2021-10-27 13:04:34 +03:00
levlam
8d458f3038
Add chatJoinRequestsInfo with user identifiers.
2021-10-26 20:51:06 +03:00
levlam
6893c49be7
Add td_api::getAnimatedEmoji.
2021-10-26 17:59:15 +03:00
levlam
1dd054d896
Add const get_animated_emoji_object.
2021-10-26 16:50:18 +03:00
levlam
9addfaf6fe
Add class td_api::animatedEmoji.
2021-10-26 16:15:01 +03:00
levlam
d019d89d39
Add td_api::deleteChatMessagesByDate.
2021-10-25 20:39:22 +03:00
levlam
cf77428fab
Add td_api::getChatSparseMessagePositions.
2021-10-15 17:40:30 +03:00
levlam
c69293e1cc
Rename voice chats to video chats.
2021-10-14 15:44:21 +03:00
levlam
bcf0316432
Zoom sticker's outline.
2021-10-14 01:06:12 +03:00
levlam
34d77c7feb
Fix drop of pending_join_request_count.
2021-10-14 00:34:28 +03:00
levlam
cbca467991
Adjust dimensions of animated emojis.
2021-10-14 00:18:44 +03:00
levlam
0a9f6b1c91
Add approve/declineCjatJoinRequest.
2021-10-13 23:10:47 +03:00
levlam
1a7f4b4d3e
Add td_api::getChatJoinRequests.
2021-10-13 22:33:31 +03:00
levlam
90fea23dd7
Check that content was parsed.
2021-10-12 22:17:07 +03:00
levlam
d6502458f5
Allow to get option "is_location_visible".
2021-10-12 22:05:14 +03:00
levlam
250e593e3e
Add comment.
2021-10-12 20:05:36 +03:00
levlam
0f6247f856
Nullify pending_join_request_count if have no enough rights.
2021-10-12 19:39:03 +03:00
levlam
aee782562c
Add approver_user_id to chatEventMemberJoinedByInviteLink.
2021-10-12 19:04:18 +03:00
levlam
e49ae700b6
Add chat.pending_join_request_count.
2021-10-12 18:11:17 +03:00
levlam
a4aa509308
Add requested_ flag check.
2021-10-09 16:53:29 +03:00
levlam
6b511f277b
Add messageChatJoinByLink.is_approved.
2021-10-09 15:04:17 +03:00
levlam
64d572bcbe
Allow creation and edit of invite links, requiring approval.
2021-10-09 14:20:48 +03:00
levlam
5d9a224386
Add chatInviteLinkMember.approver_user_id.
2021-10-09 13:51:37 +03:00
levlam
63d86176f2
Add chatInviteLinkInfo.description/requires_approval.
2021-10-09 13:19:38 +03:00
levlam
884232d935
Add chatInviteLink.requires_approval/pending_join_request_count.
2021-10-09 12:52:25 +03:00
levlam
16f1e16107
Support message links in sponsoredMessage.
2021-10-08 15:29:40 +03:00
levlam
23775700ac
Update layer to 134.
2021-10-08 13:45:10 +03:00
levlam
f70498898b
Add fileSourceAppConfig.
2021-10-08 13:41:22 +03:00
levlam
0259ee8262
Improve documentation.
2021-10-06 01:55:35 +03:00
levlam
c3d898f1e6
Add ConfigManager::reget_app_config.
2021-10-06 01:17:10 +03:00
levlam
6ecba8cb5d
Download emoji sounds from main DC.
2021-10-06 00:55:22 +03:00
levlam
038abf5466
Add sound to messageAnimatedEmoji.
2021-10-05 23:20:49 +03:00
levlam
9fb1f1438e
Add color replacements to messageAnimatedEmoji.
2021-10-05 18:42:05 +03:00
levlam
aae781295c
Improve updating animated emoji stickers.
2021-10-05 18:06:05 +03:00
levlam
eb20f82730
Add disable_animated_emoji option.
2021-10-05 17:17:29 +03:00
levlam
ffe03ecb10
Add messageAnimatedEmoji.
2021-10-05 16:12:04 +03:00
levlam
77158cd7a5
Register emoji messages.
2021-10-04 16:08:51 +03:00
levlam
ad2cc6e534
Use ClientManager instead of Client in ClientDotNet.
2021-09-27 21:43:14 +03:00
levlam
f96d61dd4d
Use InvokeAfter for ToggleDialogIsBlocked queries.
2021-11-02 01:06:43 +03:00
levlam
5642947198
Simplify send_update_recent_stickers usage.
2021-11-01 01:35:39 +03:00