levlam
739d2b292d
Add MessageReactions.
2022-01-20 22:54:34 +03:00
levlam
aed0fc247d
Improve setChatAvailableReactions.available_reactions documentation.
2022-01-19 21:13:53 +03:00
levlam
99586edf26
Add updateReaction.
2022-01-19 14:14:21 +03:00
levlam
8339a5818e
Add td_api::translateMessage.
2022-01-14 22:28:28 +03:00
levlam
5a51462de8
Fix documentation.
2022-01-14 17:02:57 +03:00
levlam
b0ad4e5e62
Add td_api::setChatAvailableReactions.
2022-01-05 16:23:35 +03:00
levlam
47a445851a
Add td_api::chatEventAvailableReactionsChanged.
2022-01-04 17:55:57 +03:00
levlam
0957839cc6
Improve order of chat event types in the API scheme.
2022-01-04 16:45:25 +03:00
levlam
3becacf304
Add chat.available_reactions and updateChatAvailableReactions.
2022-01-04 16:33:57 +03:00
KnorpelSenf
789b9c0a55
Fix much typos
2022-01-25 16:07:36 +03:00
Andrea Cavalli
d325cea988
Merge remote-tracking branch 'tdlib/master'
2021-12-30 16:02:31 +01:00
levlam
fce20df018
Add support for sponsored chats with an invite link.
2021-12-30 14:15:04 +03:00
Andrea Cavalli
53d4e14c7d
Merge remote-tracking branch 'td/master'
2021-12-28 19:12:09 +01:00
levlam
68539fe846
Add textEntityTypeSpoiler.
2021-12-28 20:41:37 +03:00
levlam
ed766a4d2f
Add flag messageSendOptions.protect_content.
2021-12-28 18:19:19 +03:00
levlam
99ac6428e9
Improve documentation.
2021-12-28 17:27:11 +03:00
levlam
a81ab8abba
Remove viewSponsoredMessage in favor of viewMessages.
2021-12-27 18:17:02 +03:00
levlam
23d537052e
Use unique 53-bit identifiers for sponsored messages.
2021-12-27 16:49:11 +03:00
levlam
218de37c3a
Fix messageForwardOriginChat documentation.
2021-12-27 15:03:14 +03:00
Andrea Cavalli
7a3cf7ad57
Merge remote-tracking branch 'td/master'
2021-12-25 00:25:15 +01:00
levlam
680bad4a72
Return default icon name if there is no chosen name in chatFilterInfo.
2021-12-24 20:42:49 +03:00
levlam
d6a9c509ab
Fix spelling of deregister.
2021-12-24 13:33:34 +03:00
levlam
a8b22881e0
Improve the name of suggestedActionViewChecksHint
.
2021-12-23 20:00:41 +03:00
levlam
638767d919
Improve documentation.
2021-12-23 14:18:11 +03:00
levlam
dd8b1169b1
Rename the method to endGroupCall.
2021-12-23 13:00:05 +03:00
levlam
461b312369
Rename chat log event to chatEventVideoChatEnded.
2021-12-23 12:42:21 +03:00
levlam
160ab905f1
Fix handling of min-channels in recent repliers.
2021-12-22 20:15:18 +03:00
levlam
4f2689d44a
Rename expire_date to expiration_date.
2021-12-22 13:57:47 +03:00
levlam
44ec3186cc
Improve order of chat-related updates in the scheme.
2021-12-21 16:22:07 +03:00
levlam
cbc6d25a44
Replace user_id with member_id in chatEventLog.
2021-12-21 14:53:22 +03:00
levlam
ae1d1867f2
Remove multiple sponsored messages in a chat.
2021-12-21 14:19:48 +03:00
levlam
4e29d0e232
Rename message_ttl_setting to message_ttl.
2021-12-21 14:06:15 +03:00
levlam
81cebe39eb
Improve naming of selected message sender in a chat.
2021-12-21 13:49:26 +03:00
Andrea Cavalli
3440f2c07e
Merge remote-tracking branch 'td/master'
2021-12-20 16:51:07 +01:00
levlam
f32a1b9af4
Document that there can be at most 3 recent repliers/speakers/pending join requests.
2021-12-20 15:54:19 +03:00
Andrea Cavalli
6d1329ee7a
Merge remote-tracking branch 'td/master'
2021-12-17 15:43:10 +01:00
levlam
059fe9911e
Documentation improvements.
2021-12-17 16:28:14 +03:00
levlam
8d69520967
Improve sponsoredMessage documentation.
2021-12-17 00:28:01 +03:00
Andrea Cavalli
f211df073e
Merge remote-tracking branch 'td/master'
2021-12-16 16:36:15 +01:00
levlam
86c4bac69d
Allow to simultaneously report supergroup messages from different senders.
2021-12-15 21:39:48 +03:00
levlam
3f2f45a802
Improve documentation.
2021-12-15 20:30:00 +03:00
Andrea Cavalli
3d913fcb2e
Merge remote-tracking branch 'td/master'
2021-12-14 20:25:59 +01:00
levlam
d437ad2761
Improve documentation.
2021-12-14 02:20:49 +03:00
levlam
bddcfa8601
Improve inlineKeyboardButtonTypeUser documentation.
2021-12-13 15:56:36 +03:00
levlam
ce3d9c2168
Improve reportChat/reportChatPhoto documentation.
2021-12-13 14:56:29 +03:00
Andrea Cavalli
1ba7090e84
Merge remote-tracking branch 'td/master'
2021-12-09 22:52:48 +01:00
levlam
5a76413990
Minor improvements.
2021-12-10 00:07:59 +03:00
Andrea Cavalli
e936461bdf
Merge remote-tracking branch 'td/master'
2021-12-09 17:04:06 +01:00
levlam
229fd5b715
Remove non-working searchMessagesFilterCall and searchMessagesFilterMissedCall.
2021-12-09 15:15:28 +03:00
Andrea Cavalli
d930901d94
Merge remote-tracking branch 'td/master'
2021-12-08 16:46:26 +01:00
levlam
b67466a554
Clarify that chats can't be banned with non-zero until_date.
2021-12-08 17:19:20 +03:00
Andrea Cavalli
bcc6636f3a
Merge remote-tracking branch 'td/master'
2021-12-07 22:05:52 +01:00
levlam
831ca4b975
Rename allow_saving_content to has_private_content.
2021-12-06 21:43:55 +03:00
Andrea Cavalli
9a71c1f0ca
Merge remote-tracking branch 'td/master'
2021-12-03 00:40:25 +01:00
levlam
340e0f0b85
Fix has/have spelling.
2021-12-02 14:15:37 +03:00
levlam
f5c65b83ee
Add suggestedActionSetPassword.
2021-11-26 16:22:39 +03:00
levlam
6f835c12ee
Add messageSendingStateFailed.need_another_sender.
2021-11-25 16:55:03 +03:00
levlam
c1a5d4b76b
Add message.can_be_saved.
2021-11-25 13:47:54 +03:00
levlam
10159fbdf1
Add toggleChatAllowSavingContent.
2021-11-25 11:44:51 +03:00
levlam
d381323f56
Add chat.allow_saving_content flag.
2021-11-24 20:03:38 +03:00
levlam
47d0195c85
Add toggleSessionCanAcceptCalls method.
2021-11-24 17:59:17 +03:00
levlam
f41be864d0
Add session.can_accept_calls.
2021-11-24 17:33:16 +03:00
levlam
30e4350689
Support authentication tokens.
2021-11-24 17:01:02 +03:00
levlam
fd71b62045
Improve method name.
2021-11-24 14:03:35 +03:00
levlam
0b2207f180
Add td_api::processChatJoinRequests.
2021-11-24 12:02:23 +03:00
levlam
7c0a4117a4
Replace approve/decline with a single method processChatJoinRequest.
2021-11-24 11:33:18 +03:00
levlam
cb7bd82c01
Add chatEventAllowSavingContentToggled.
2021-11-23 16:07:26 +03:00
levlam
5068f585bb
Add authenticationCodeTypeMissedCall.
2021-11-23 15:21:22 +03:00
levlam
6143bb1b94
Replace color_replacements with fitzpatrick_type as needed by the latest rlottie version.
2021-11-23 15:01:12 +03:00
levlam
acc43bb0b5
Allow typings by chats and rename updateUserChatAction to updateChatAction.
2021-11-23 14:29:49 +03:00
levlam
2eb5f1195c
Add chatActionBarJoinRequest.
2021-11-23 13:06:38 +03:00
Andrea Cavalli
8e13003896
Merge remote-tracking branch 'td/master'
2021-11-22 23:28:02 +01:00
levlam
8f2a09f2cb
Add userFullInfo.has_private_forwards.
2021-11-20 22:48:44 +03:00
levlam
a58b4dc302
Fix misprint in documentation.
2021-11-19 17:56:51 +03:00
levlam
993a9e24c4
Remove user_id from reportSupergroupSpam.
2021-11-19 17:12:38 +03:00
levlam
5232774d89
Replace deleteChatMessagesFromUser with deleteChatMessagesBySender.
2021-11-19 15:48:05 +03:00
levlam
6c9b5ebf55
Add td_api::setInactiveSessionsTtl.
2021-11-16 16:04:19 +03:00
levlam
b940d2e208
Add inactive_sessions_ttl_days.
2021-11-16 15:39:55 +03:00
levlam
526e7dc631
Add toggleSessionCanAcceptSecretChats.
2021-11-16 15:22:00 +03:00
levlam
b672a7de22
Add session.can_accept_secret_chats.
2021-11-16 12:34:17 +03:00
levlam
10c03c450f
Improve MessageSender field names.
2021-11-15 17:25:24 +03:00
levlam
423e82ae2b
Add td_api::setChatDefaultMessageSender.
2021-11-15 17:08:37 +03:00
Andrea Cavalli
48e3660d2c
Merge remote-tracking branch 'td/master'
2021-11-14 22:46:37 +01:00
levlam
108fca1e6e
Add getChatAvailableMessageSenders.
2021-11-12 17:11:01 +03:00
levlam
fe8e521a41
Add chat.default_sender_id.
2021-11-12 16:15:19 +03:00
levlam
ae987f2211
Add inlineKeyboardButtonTypeUser.
2021-11-10 17:14:00 +03:00
levlam
365965d1fb
Improve documentation.
2021-11-08 13:28:44 +03:00
Andrea Cavalli
9c9772868b
Merge remote-tracking branch 'td/master'
2021-11-05 16:11:03 +01: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
47f3363ca8
Improve field names.
2021-11-04 09:52:27 +03:00
levlam
9d467d1ea5
Add chatEventMemberJoinedByRequest.
2021-11-02 18:05:50 +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
88d7b284b4
Add utc_time_offset option.
2021-11-01 22:32:49 +03:00
Andrea Cavalli
778ca70dd5
Merge remote-tracking branch 'td/master'
2021-11-01 20:12:43 +01: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
7cd7e5afd3
Improve slow_mode_delay documentation.
2021-10-31 23:05:31 +03:00
levlam
d8e3fd2ee6
Improve limit documentation.
2021-10-30 21:50:25 +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
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
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
Andrea Cavalli
0a6c64ee41
Merge remote-tracking branch 'td/master'
2021-10-22 10:10:59 +02:00
levlam
1394a2bedf
Fix documentation misprints found by t.me/Mammad900.
2021-10-22 00:13:51 +03:00
Andrea Cavalli
f11254bdcb
Merge remote-tracking branch 'td/master'
2021-10-21 17:09:27 +02:00
levlam
9f44816a62
Minor improvements.
2021-10-21 12:51:16 +03:00
Andrea Cavalli
982b994332
Merge remote-tracking branch 'td/master'
2021-10-16 18:25:57 +02: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
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
c3684e1b4a
Improve inputIdentityDocument/identityDocument documenation.
2021-10-13 13:07:25 +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
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
564521453f
Improve sponsoredMessage.
2021-10-08 15:00:13 +03:00
levlam
0259ee8262
Improve documentation.
2021-10-06 01:55:35 +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
ffe03ecb10
Add messageAnimatedEmoji.
2021-10-05 16:12:04 +03:00
Andrea Cavalli
5697b05622
Merge remote-tracking branch 'td/master'
2021-09-30 00:20:57 +02:00
levlam
39968780ba
Replace 'should' with more affirmative verbs in the documentation.
2021-09-29 19:15:08 +03:00
Andrea Cavalli
616a40b3b2
Merge remote-tracking branch 'td/master'
2021-09-29 00:33:23 +02:00
Andrea Cavalli
665b7c577d
Remove deprecated method
2021-09-29 00:29:59 +02:00
levlam
2ce0be4fe7
Remove getChatStatisticsUrl method.
2021-09-28 19:08:36 +03:00
levlam
cdb06da112
Add "; pass null" annotations for expected to be null request parameters.
2021-09-28 17:31:00 +03:00
Andrea Cavalli
9ca532c6a6
Merge remote-tracking branch 'td/master'
2021-09-26 23:08:36 +02:00
levlam
f317b1561a
Document that forward_limit is ignored for added bots.
2021-09-26 08:00:06 +03:00
Andrea Cavalli
45e855f89d
Remove most memory related features
...
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli
897d4af16c
Merge remote-tracking branch 'td/master'
2021-09-25 19:24:57 +02:00
levlam
2ec2e4d78f
Use "set"/"toogle" instead of "change".
2021-09-24 10:42:39 +03:00
levlam
d032ca2ab2
Support adding basic group members through setChatMemberStatus.
2021-09-23 18:39:13 +03:00
levlam
0126cec268
Improve documentation.
2021-09-20 16:26:44 +03:00
levlam
057cee8674
Improve name of the chatActionWatchingAnimations chat action.
2021-09-19 21:40:07 +03:00
levlam
95d4ec8973
Simplify updateAnimatedEmojiMessageClicked.
2021-09-17 23:36:25 +03:00