levlam
|
5acc895975
|
Improve error message.
|
2024-01-29 00:55:37 +03:00 |
|
levlam
|
c92948e8b9
|
Improve error message.
|
2024-01-29 00:39:07 +03:00 |
|
levlam
|
34935ca4b6
|
Reopen and reinit session when receive a failed to parse update by a bot.
|
2024-01-29 00:18:40 +03:00 |
|
levlam
|
a60d6f5dfb
|
Fix RepliedMessageInfo::need_reply_changed_warning.
|
2024-01-28 02:06:04 +03:00 |
|
levlam
|
4a29cd7f00
|
Don't warn about sent message identifier decrease, if the new message has identifier 1.
|
2024-01-28 01:59:33 +03:00 |
|
levlam
|
8c02d57443
|
Don't try to get name of an empty actor.
|
2024-01-27 13:27:55 +03:00 |
|
levlam
|
c5c55092dd
|
Update version to 1.8.24.
|
2024-01-27 03:43:28 +03:00 |
|
levlam
|
17e5d20583
|
Fix message_input_reply_to access for server messages.
|
2024-01-27 03:42:36 +03:00 |
|
levlam
|
7144475524
|
Increase MessageUnsupported version.
|
2024-01-26 23:07:39 +03:00 |
|
levlam
|
cdd7430d3a
|
Silently create chat in get_message_sender_object.
|
2024-01-26 23:03:37 +03:00 |
|
levlam
|
d3a5025dae
|
Remove unused header.
|
2024-01-26 17:07:42 +03:00 |
|
levlam
|
dace1cdb23
|
Fix GetMessagePositionQuery.
|
2024-01-26 15:37:32 +03:00 |
|
levlam
|
ba75dd2626
|
Improve update handling logging.
|
2024-01-26 15:08:16 +03:00 |
|
levlam
|
73dc2b9889
|
Use multiset to store pending updates and improve PendingPtsUpdate comparison.
|
2024-01-26 14:59:07 +03:00 |
|
levlam
|
aa6be7d9bf
|
Add canSendMessageToUser.only_local.
|
2024-01-26 14:06:27 +03:00 |
|
levlam
|
3391c643f3
|
Don't try to fetch the same update more than once.
|
2024-01-26 14:01:44 +03:00 |
|
levlam
|
b6fe959ece
|
Improve update processing logging.
|
2024-01-26 11:25:09 +03:00 |
|
levlam
|
238d154ed7
|
Immediately fetch affected messages.
|
2024-01-26 00:30:49 +03:00 |
|
levlam
|
168bba072d
|
Remove UpdatesManager::init_sessions, because sessions are inited now by choosing of random one to send request, and init_sessions isn't called after temporary key is changed.
|
2024-01-25 22:33:44 +03:00 |
|
levlam
|
233633b705
|
Don't postpone updates with pts_count > 1, because they can partly overlap with getDifference results.
|
2024-01-25 22:28:07 +03:00 |
|
levlam
|
c9a357f80d
|
Support gaps with 0 pts_count in UpdatesManager::on_get_pts_update.
|
2024-01-25 22:02:11 +03:00 |
|
levlam
|
2acbcdbb60
|
Allow sending messages to user after receiving a message from them.
|
2024-01-25 20:56:10 +03:00 |
|
levlam
|
8c2375fdfe
|
Invalidate user_full_contact_require_premium_ when contact_require_premium changes.
|
2024-01-25 20:51:52 +03:00 |
|
levlam
|
c95cb5d75c
|
Minor imrovements.
|
2024-01-25 20:06:07 +03:00 |
|
levlam
|
c2ccf0d784
|
Add some emptiness checks.
|
2024-01-25 19:37:56 +03:00 |
|
levlam
|
f2262cdcfb
|
Add checks for null user.
|
2024-01-25 19:11:54 +03:00 |
|
levlam
|
4464a8479b
|
Use FlatHashSet to check internal options.
|
2024-01-25 18:50:37 +03:00 |
|
levlam
|
dfdad00dca
|
Don't warn about topic changed to or from Author Hidden.
|
2024-01-25 18:08:53 +03:00 |
|
levlam
|
07e381eaab
|
Add SavedMessagesTopicId::is_author_hidden.
|
2024-01-25 18:04:32 +03:00 |
|
levlam
|
b97773457b
|
Don't set explicitly source.is_outgoing for messages forwarded from the user.
|
2024-01-25 18:01:51 +03:00 |
|
levlam
|
db1644bb13
|
Add and use SavedReactionTag constructor.
|
2024-01-25 17:29:29 +03:00 |
|
levlam
|
04ec06ef4f
|
Update tag labels locally.
|
2024-01-25 17:12:02 +03:00 |
|
levlam
|
2b442c1caa
|
Add ReactionManager::reget_saved_messages_tags.
|
2024-01-25 17:04:02 +03:00 |
|
levlam
|
650ca8844d
|
Init SavedMessagesTopic with real_forward_from_dialog_id.
|
2024-01-25 16:45:24 +03:00 |
|
levlam
|
2f1423a284
|
Allow forwardSource without source message.
|
2024-01-25 16:23:00 +03:00 |
|
levlam
|
81f1d61e7f
|
Improve Saved Messages tag documentation.
|
2024-01-25 14:58:32 +03:00 |
|
levlam
|
096fc39bd1
|
Cache reaction tag hash.
|
2024-01-25 14:29:22 +03:00 |
|
levlam
|
09122ba596
|
Update SavedReactionTag comparison operator.
|
2024-01-25 14:13:06 +03:00 |
|
levlam
|
0cbda12b4c
|
Remove handling of some sendMessage error messages.
|
2024-01-24 22:05:22 +03:00 |
|
levlam
|
faf975ccc9
|
Use UserId::get_user_ids instead of explicit transform.
|
2024-01-24 21:40:14 +03:00 |
|
levlam
|
b8799a7e8c
|
Fix source.is_outgoing flag.
|
2024-01-24 20:44:07 +03:00 |
|
levlam
|
a14091ff81
|
Improve LastForwardedMessageInfo logging.
|
2024-01-24 20:03:42 +03:00 |
|
levlam
|
56d75e7c53
|
Don't keep full message source for initially forwarded messages.
|
2024-01-24 20:01:29 +03:00 |
|
levlam
|
d7e35f4c44
|
Improve privacy settings.
|
2024-01-24 18:59:53 +03:00 |
|
levlam
|
94141a18dd
|
Make canSendMessageToUser response strongly typed.
|
2024-01-19 22:14:03 +03:00 |
|
levlam
|
0a6207700d
|
Use GetIsPremiumRequiredToContactQuery to check unknown users.
|
2024-01-19 21:55:24 +03:00 |
|
levlam
|
5624f91155
|
Add td_api::canSendMessageToUser.
|
2024-01-19 15:35:57 +03:00 |
|
levlam
|
59de70bd87
|
Keep flag UserFull.contact_require_premium.
|
2024-01-19 15:01:07 +03:00 |
|
levlam
|
a3ac41e283
|
Add user.restricts_new_chats.
|
2024-01-19 14:35:37 +03:00 |
|
levlam
|
c8e4622da4
|
Add td_api::newChatPrivacySettings and methods for getting and setting it.
|
2024-01-19 14:25:24 +03:00 |
|
levlam
|
2504de4978
|
Add td_api::setReadDatePrivacySettings.
|
2024-01-09 17:56:47 +03:00 |
|
levlam
|
252ca3135c
|
Add td_api::getReadDatePrivacySettings.
|
2024-01-09 17:11:22 +03:00 |
|
levlam
|
e85694e6ff
|
Support other global privacy settings.
|
2024-01-09 16:00:59 +03:00 |
|
levlam
|
d950add490
|
Reget global privacy settings before setting them.
|
2024-01-09 15:54:25 +03:00 |
|
levlam
|
9802119ff7
|
Return GlobalPrivacySettings from get_global_privacy_settings.
|
2024-01-09 15:14:45 +03:00 |
|
levlam
|
b2f8a8e5d6
|
Support UserFull.read_dates_private.
|
2024-01-09 14:56:32 +03:00 |
|
levlam
|
d6eca27e58
|
Improve td_api::MessageReadDate.
|
2024-01-09 14:47:04 +03:00 |
|
levlam
|
5fc554166f
|
Add Message.can_get_read_date.
|
2024-01-09 13:50:11 +03:00 |
|
levlam
|
5baf9f52f8
|
Add internal "pm_read_date_expire_period" option.
|
2024-01-09 13:41:59 +03:00 |
|
levlam
|
5fb64e7ccd
|
Add td_api::getMessageReadDate.
|
2024-01-09 13:37:29 +03:00 |
|
levlam
|
0e032795b6
|
Add by_my_privacy_settings flag to td_api::UserStatus.
|
2024-01-09 12:34:02 +03:00 |
|
levlam
|
b171fbe373
|
Update layer to 172.
|
2024-01-09 12:09:10 +03:00 |
|
levlam
|
9fe83feeeb
|
Add td_api::ReactionUnavailabilityReason.
|
2024-01-24 17:11:41 +03:00 |
|
levlam
|
33ec7a21a8
|
Update Saved Messages tag count when tags are added from another app or message is deleted.
|
2024-01-24 12:31:12 +03:00 |
|
levlam
|
2351a83227
|
Add and use get_chosen_tags.
|
2024-01-24 12:01:20 +03:00 |
|
levlam
|
1b15b2825c
|
Add and use SavedReactionTags::calc_hash().
|
2024-01-24 00:25:02 +03:00 |
|
levlam
|
839969e255
|
Allow tags with label but without count.
|
2024-01-23 23:11:12 +03:00 |
|
levlam
|
588b889e4c
|
Check Saved Messages tags for validness.
|
2024-01-23 23:04:47 +03:00 |
|
levlam
|
cb70c0fa97
|
Update saved reaction tags after changing them locally.
|
2024-01-23 22:56:00 +03:00 |
|
levlam
|
ae18e3de6b
|
Add availableReaction.is_tag.
|
2024-01-23 21:28:39 +03:00 |
|
levlam
|
956c35d6e0
|
Add td_api::setSavedMessagesTagLabel.
|
2024-01-23 19:04:31 +03:00 |
|
levlam
|
e7953c067c
|
Send GetSavedReactionTagsQuery ordered with SendReactionQuery.
|
2024-01-23 17:04:03 +03:00 |
|
levlam
|
1c53d32aba
|
Return default tag reactions first for tags.
|
2024-01-23 16:49:50 +03:00 |
|
levlam
|
9a09125d62
|
Support telegram_api::updateSavedReactionTags.
|
2024-01-23 16:39:15 +03:00 |
|
levlam
|
291cd4203a
|
Add td_api::updateSavedMessagesTags.
|
2024-01-23 16:23:35 +03:00 |
|
levlam
|
9df2ba6e64
|
Add td_api::getSavedMessagesTags.
|
2024-01-23 16:01:27 +03:00 |
|
levlam
|
e6611cdb8f
|
Add td_api::searchSavedMessages.
|
2024-01-22 21:14:02 +03:00 |
|
levlam
|
e8f96d2520
|
Support adding tags to a message.
|
2024-01-22 20:25:19 +03:00 |
|
levlam
|
61277da56f
|
Move message_id checks to get_message_active_reactions.
|
2024-01-22 20:15:02 +03:00 |
|
levlam
|
b9afcbb70c
|
Support reaction tags in getMessageAvailableReactions.
|
2024-01-22 20:03:05 +03:00 |
|
levlam
|
eb80098431
|
Add td_api::messageReactions and messageReactions.are_tags.
|
2024-01-22 19:37:05 +03:00 |
|
levlam
|
0823ee492e
|
Add enum ReactionListType.
|
2024-01-18 20:53:43 +03:00 |
|
levlam
|
f4388dfc5c
|
Add ReactionList.is_loaded_from_database.
|
2024-01-18 20:12:22 +03:00 |
|
levlam
|
74aab0a7b2
|
Load default tag reactions.
|
2024-01-18 20:08:37 +03:00 |
|
levlam
|
20c4815a12
|
Add td_api::setPinnedSavedMessagesTopics.
|
2024-01-18 19:38:26 +03:00 |
|
levlam
|
af43242ca7
|
Add td_api::toggleSavedMessagesTopicIsPinned.
|
2024-01-18 19:22:31 +03:00 |
|
levlam
|
ae7e290789
|
Add td_api::updatePinnedSavedMessagesTopics.
|
2024-01-18 18:51:34 +03:00 |
|
levlam
|
643b896958
|
Add td_api::premiumLimitTypePinnedSavedMessagesTopicsCount.
|
2024-01-18 18:34:39 +03:00 |
|
levlam
|
30dad21fae
|
Add MessagesManager::fix_delete_message_min_max_dates.
|
2024-01-18 17:47:59 +03:00 |
|
levlam
|
8c358a4fc5
|
Add SavedMessagesTopicId::is_valid_status.
|
2024-01-18 17:38:15 +03:00 |
|
levlam
|
788d169e69
|
Add td_api::deleteSavedMessagesTopicMessagesByDate.
|
2024-01-18 17:29:09 +03:00 |
|
levlam
|
5002f25c0a
|
Add td_api::getSavedMessagesTopicMessageByDate.
|
2024-01-18 16:45:45 +03:00 |
|
levlam
|
26d63f605b
|
Rename chat permission to can_create_topics.
|
2024-01-17 12:22:56 +03:00 |
|
levlam
|
93370af38d
|
Add td_api::deleteSavedMessagesTopicHistory.
|
2024-01-16 22:42:43 +03:00 |
|
levlam
|
40f8bffec8
|
Add td_api::getSavedMessagesTopicHistory.
|
2024-01-16 19:19:38 +03:00 |
|
levlam
|
d9f2fe57a6
|
Add td_api::getPinnedSavedMessagesTopics.
|
2024-01-16 17:32:11 +03:00 |
|
levlam
|
79a66c06cc
|
Add td_api::getSavedMessagesTopics.
|
2024-01-16 16:26:58 +03:00 |
|
levlam
|
16fc47fb88
|
Add getChatSparseMessagePositions.saved_messages_topic.
|
2024-01-16 14:12:57 +03:00 |
|
levlam
|
f76c384f90
|
Add getChatMessageCalendar.saved_messages_topic.
|
2024-01-16 14:00:14 +03:00 |
|
levlam
|
8f019eeb73
|
Add getChatMessageCount.saved_messages_topic.
|
2024-01-16 00:30:37 +03:00 |
|