levlam
|
93663c2542
|
Improve maintaining of created public broadcasts.
|
2024-03-28 23:56:06 +03:00 |
|
levlam
|
e1f7a1331d
|
Fetch last message of the personal channel if needed.
|
2024-03-28 18:58:45 +03:00 |
|
levlam
|
5acff85fa9
|
Handle MESSAGE_IDS_MISMATCH errors.
|
2024-03-21 15:13:03 +03:00 |
|
levlam
|
49372ab4c2
|
Add message.is_from_offline flag.
|
2024-03-20 18:54:04 +03:00 |
|
levlam
|
b28e1d2fd8
|
Support via_bot_user_id in sendQuickReplyShortcutMessages.
|
2024-03-18 22:38:30 +03:00 |
|
levlam
|
dd69dcdfe3
|
Support server-side updateMessageID for messages.sendQuickReplyMessages.
|
2024-03-18 22:32:08 +03:00 |
|
levlam
|
4219c62ee2
|
Ignore business messages not from private chats.
|
2024-03-18 17:17:48 +03:00 |
|
levlam
|
630762e511
|
Support reply to messages in business messages.
|
2024-03-17 00:19:24 +03:00 |
|
levlam
|
1b448b93e5
|
Add and use MessageInputReplyTo::clone().
|
2024-03-13 16:08:49 +03:00 |
|
levlam
|
c46af3318d
|
Add FileManager::delete_partial_remote_location_if_needed.
|
2024-03-12 18:52:23 +03:00 |
|
levlam
|
4a64803805
|
Support media upload to business connection.
|
2024-03-12 16:26:43 +03:00 |
|
levlam
|
0f98e748a8
|
Add td_api::sendBusinessMessage.
|
2024-03-11 21:27:16 +03:00 |
|
levlam
|
171e254634
|
Improve process_message_send_options.
|
2024-03-11 15:56:38 +03:00 |
|
levlam
|
69dd255f3d
|
Pass only chat type to get_reply_markup.
|
2024-03-11 15:08:17 +03:00 |
|
levlam
|
8770955522
|
Improve function name.
|
2024-03-11 14:19:08 +03:00 |
|
levlam
|
75d0114c5f
|
Add message.sender_business_bot_user_id.
|
2024-03-09 03:08:19 +03:00 |
|
levlam
|
b9891e0871
|
Add td_api::updateNewBusinessMessage.
|
2024-03-09 02:14:02 +03:00 |
|
levlam
|
bf3e25def0
|
Make MessagesManager::create_message static.
|
2024-03-08 22:19:22 +03:00 |
|
levlam
|
e46e342eba
|
Make parse_telegram_api_message static.
|
2024-03-08 22:11:50 +03:00 |
|
levlam
|
e6b9f2eb07
|
Support sendChatAction for business connections.
|
2024-03-07 23:05:58 +03:00 |
|
levlam
|
bce17cb5d8
|
Update layer to 177.
|
2024-03-07 15:24:28 +03:00 |
|
levlam
|
11a35768b7
|
Fix some plural spelling.
|
2024-03-28 02:03:03 +03:00 |
|
levlam
|
f195fcd6db
|
Fix misprinted triple characters.
|
2024-03-27 22:25:58 +03:00 |
|
levlam
|
95e86d3cf3
|
Pass ChannelId to can_get_channel_message_statistics.
|
2024-03-17 23:47:47 +03:00 |
|
levlam
|
046ed45152
|
Various fixes.
|
2024-03-07 14:09:31 +03:00 |
|
levlam
|
bc1a8d2bc2
|
Add quickReplyMessage.reply_markup.
|
2024-03-06 15:56:50 +03:00 |
|
levlam
|
bd97e81c32
|
Add td_api::sendQuickReplyShortcutMessages.
|
2024-03-05 13:08:26 +03:00 |
|
levlam
|
08084f35e3
|
Added updateChatAddedToList and updateChatRemovedFromList.
|
2024-02-23 13:38:51 +03:00 |
|
levlam
|
94ae90dcaf
|
Check that quick reply messages aren't received by MessagesManager.
|
2024-02-21 20:36:33 +03:00 |
|
levlam
|
dc2300d7ae
|
Update layer to 176.
|
2024-02-19 14:07:10 +03:00 |
|
levlam
|
1c06f69a03
|
Move on_view_dialog_active_stories to StoryManager.
|
2024-03-06 14:46:52 +03:00 |
|
levlam
|
0e8f076bab
|
Move is_dialog_info_received_from_server to DialogManager.
|
2024-03-05 12:47:42 +03:00 |
|
levlam
|
22d9c86b57
|
Move get_channel_participants to DialogParticipantManager.
|
2024-03-03 01:22:49 +03:00 |
|
levlam
|
3d80f1ae6f
|
Move get_dialog_search_text to DialogManager.
|
2024-02-24 23:47:30 +03:00 |
|
levlam
|
899587e4fa
|
Add and use is_editable_message_content.
|
2024-02-23 20:19:54 +03:00 |
|
levlam
|
acef6e61a0
|
Check close_flag() first.
|
2024-02-18 20:55:41 +03:00 |
|
levlam
|
78f3363486
|
Add key validness checks before adding to FlatHashSet.
|
2024-02-15 17:16:08 +03:00 |
|
levlam
|
e1098ef8e9
|
Allow empty non-null backgrounds in chat event log.
|
2024-02-13 16:56:07 +03:00 |
|
levlam
|
978cd5ef34
|
Support replying of supergroup stories in the supergroup.
|
2024-02-11 02:57:08 +03:00 |
|
levlam
|
e62f612c36
|
Add Message.sender_boost_count.
|
2024-02-11 02:45:18 +03:00 |
|
levlam
|
64635aefe1
|
Add td_api::messageChatBoost.
|
2024-02-07 20:50:00 +03:00 |
|
levlam
|
cb3c623fd2
|
Update layer to 174.
|
2024-02-07 20:34:28 +03:00 |
|
levlam
|
c0d78b9f04
|
Add MessagesManager::set_folder_pinned_dialogs.
|
2024-02-09 23:23:18 +03:00 |
|
levlam
|
3e66162c07
|
Add source to set_dialog_view_as_messages.
|
2024-02-08 01:33:08 +03:00 |
|
levlam
|
afb8524392
|
Minor fixes.
|
2024-02-07 17:50:57 +03:00 |
|
levlam
|
2ca4672a98
|
Improve logging and fix on_topic_changed.
|
2024-02-07 16:51:08 +03:00 |
|
levlam
|
6cfb50fd8f
|
Support Saved Messages topic draft.
|
2024-02-07 16:10:56 +03:00 |
|
levlam
|
21696de370
|
Support Saved Messages in toggleChatViewAsTopics.
|
2024-02-07 15:32:50 +03:00 |
|
levlam
|
f28d40605a
|
Improve Saved Messages topic API and naming.
|
2024-02-07 14:01:29 +03:00 |
|
levlam
|
73f3696eda
|
Send updateSavedMessagesTopic when last topic message changes.
|
2024-02-06 16:08:41 +03:00 |
|
levlam
|
7f0f3e9ff0
|
Add and use MessagesManager::send_update_last_message_if_needed.
|
2024-02-06 16:03:11 +03:00 |
|
levlam
|
82702c4331
|
Store last message date along last topic message identifier.
|
2024-02-06 00:11:36 +03:00 |
|
levlam
|
3d8c749536
|
Maintain last message of Saved Messages topics.
|
2024-02-05 00:56:20 +03:00 |
|
levlam
|
7267e1e89c
|
Move Saved Messages-specific functions to SavedMessagesManager.
|
2024-02-04 23:06:48 +03:00 |
|
levlam
|
32eba3c7d1
|
Enable setting tags by Premium users.
|
2024-02-01 22:40:55 +03:00 |
|
levlam
|
0e16c0af02
|
Hide video and voice message drafts when the message is sent.
|
2024-01-31 02:58:17 +03:00 |
|
levlam
|
2f1de10541
|
Add and use MessagesManager::clear_dialog_draft_by_sent_message.
|
2024-01-31 02:47:43 +03:00 |
|
levlam
|
f7bf5f268a
|
Mark top_thread_message_id as const when possible.
|
2024-01-31 01:52:02 +03:00 |
|
levlam
|
2a81a11e61
|
Keep and pass to the server initial top_thread_message_id specified by the app.
|
2024-01-31 01:45:20 +03:00 |
|
levlam
|
0ed3ed75fa
|
Add local video note drafts.
|
2024-01-30 16:59:14 +03:00 |
|
levlam
|
930a3ccdca
|
Support Saved Messages tags in topics.
|
2024-01-29 19:11:14 +03:00 |
|
levlam
|
034db9599d
|
Improve checks for changed link preview.
|
2024-01-31 18:10:53 +03:00 |
|
levlam
|
3d539f1bcc
|
Add class MessageSelfDestructType.
|
2024-01-30 15:07:21 +03:00 |
|
levlam
|
983f669116
|
Fail sending of messages for which updateMessageId has been received.
|
2024-01-29 01:48:58 +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
|
17e5d20583
|
Fix message_input_reply_to access for server messages.
|
2024-01-27 03:42:36 +03:00 |
|
levlam
|
cdd7430d3a
|
Silently create chat in get_message_sender_object.
|
2024-01-26 23:03:37 +03:00 |
|
levlam
|
dace1cdb23
|
Fix GetMessagePositionQuery.
|
2024-01-26 15:37:32 +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
|
2acbcdbb60
|
Allow sending messages to user after receiving a message from them.
|
2024-01-25 20:56:10 +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
|
dfdad00dca
|
Don't warn about topic changed to or from Author Hidden.
|
2024-01-25 18:08:53 +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
|
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
|
0cbda12b4c
|
Remove handling of some sendMessage error messages.
|
2024-01-24 22:05:22 +03:00 |
|
levlam
|
56d75e7c53
|
Don't keep full message source for initially forwarded messages.
|
2024-01-24 20:01:29 +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
|
5fb64e7ccd
|
Add td_api::getMessageReadDate.
|
2024-01-09 13:37:29 +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
|
cb70c0fa97
|
Update saved reaction tags after changing them locally.
|
2024-01-23 22:56:00 +03:00 |
|
levlam
|
1c53d32aba
|
Return default tag reactions first for tags.
|
2024-01-23 16:49:50 +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
|
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
|
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 |
|
levlam
|
7e3107b1d3
|
Add SavedMessagesTopicId::is_valid_in.
|
2024-01-15 23:25:51 +03:00 |
|
levlam
|
3eba7d4f2b
|
Add getChatMessagePosition.saved_messages_topic.
|
2024-01-15 20:39:47 +03:00 |
|
levlam
|
7d71562a24
|
Add searchChatMessages.saved_messages_topic_id.
|
2024-01-15 19:43:03 +03:00 |
|
levlam
|
341b59cb6c
|
Duplicate fields from origin to source if appropriate.
|
2024-01-15 18:56:59 +03:00 |
|
levlam
|
85c4cd4642
|
Add SavedMessagesTopicId class.
|
2024-01-13 12:06:31 +03:00 |
|
levlam
|
0aeb11dee8
|
Add message.saved_messages_topic.
|
2024-01-12 16:06:10 +03:00 |
|
levlam
|
09e0add01f
|
Add Message.saved_messages_dialog_id.
|
2024-01-12 15:38:12 +03:00 |
|
levlam
|
2ff04387b8
|
Add more information to forwardSource.
|
2024-01-12 00:23:33 +03:00 |
|
levlam
|
1dca0272be
|
Add class LastForwardedMessageInfo.
|
2024-01-11 22:33:12 +03:00 |
|
levlam
|
10f77aee95
|
Move get_dialog_reply_markup implementation to ReplyMarkup.cpp.
|
2024-01-11 20:35:02 +03:00 |
|
levlam
|
645102e4ed
|
Make MessageForwardInfo fields private.
|
2024-01-11 20:13:43 +03:00 |
|
levlam
|
6b180bcfd9
|
Add MessageForwardInfo::copy_message_forward_info.
|
2024-01-11 20:10:14 +03:00 |
|
levlam
|
c30c6168b5
|
Add and use MessageForwardInfo::need_change_warning.
|
2024-01-11 19:59:14 +03:00 |
|
levlam
|
edb02aa4c4
|
Add MessageForwardInfo::is_imported().
|
2024-01-11 19:39:32 +03:00 |
|
levlam
|
8c6024808a
|
Add and use MessagesManager::get_message_original_date.
|
2024-01-11 19:36:00 +03:00 |
|
levlam
|
b3a94f187f
|
Use public constructor to create legacy-parsed MessageForwardInfo.
|
2024-01-11 19:29:49 +03:00 |
|
levlam
|
5ccb67f28e
|
Improve MessageForwardInfo field names.
|
2024-01-11 19:24:01 +03:00 |
|
levlam
|
d59abc099d
|
Add MessageForwardInfo getters.
|
2024-01-11 19:11:16 +03:00 |
|
levlam
|
3ba660a655
|
Add some MessageForwardInfo methods.
|
2024-01-11 18:46:10 +03:00 |
|
levlam
|
3cb8ef9807
|
Store MessageForwardInfo as the whole.
|
2024-01-11 18:20:53 +03:00 |
|
levlam
|
8e2ef00696
|
Apply message self-destruct type changes for being sent messages.
|
2024-01-02 15:38:43 +03:00 |
|
levlam
|
139b61e4b6
|
Add td_api::messageExpiredVideoNote and td_api::messageExpiredVoiceNote.
|
2024-01-02 14:27:11 +03:00 |
|
levlam
|
be8b21cdf4
|
Update layer to 171.
|
2024-01-02 03:23:51 +03:00 |
|
levlam
|
2b0d3f6091
|
Improve error message.
|
2024-01-25 17:33:11 +03:00 |
|
levlam
|
09c6bad8bd
|
Remove pinned message notification only if new pinned message is added to Mentions.
|
2024-01-20 03:30:10 +03:00 |
|
levlam
|
2a9393ff7a
|
Add "process_pinned_messages_as_mentions" option to allow keep previous behavior.
|
2024-01-19 22:23:26 +03:00 |
|
levlam
|
121fbe535f
|
Create dependent chats right after Message object creation.
|
2024-01-18 15:21:44 +03:00 |
|
levlam
|
021c0bd02d
|
Improve logging.
|
2024-01-18 14:59:53 +03:00 |
|
levlam
|
14c93b1772
|
Fix added_message_full_id initialization.
|
2024-01-16 21:40:25 +03:00 |
|
levlam
|
6d910597e5
|
Delete message from map after using.
|
2024-01-16 21:36:24 +03:00 |
|
levlam
|
0aa8816c28
|
Don't always treat pins as mentions.
|
2024-01-12 18:15:19 +03:00 |
|
levlam
|
4bafdc2b71
|
Fix MessagesManager::drop_dialog_last_pinned_message_id.
|
2024-01-12 12:16:51 +03:00 |
|
levlam
|
21418140bd
|
Fix removal of message reply for failed to send forwarded messages.
|
2024-01-10 22:01:39 +03:00 |
|
levlam
|
17a412a04a
|
Don't delete notifications when initializing last_new_message_id. There should be no old notifications anyway (2).
|
2024-01-10 21:08:43 +03:00 |
|
levlam
|
bc5b1f4e19
|
Remove unavailable messages from the list of linked messages.
|
2024-01-10 20:22:45 +03:00 |
|
levlam
|
faee94b680
|
Apply message auto-delete time from chat creation message.
|
2024-01-10 17:20:13 +03:00 |
|
levlam
|
4d51b2c875
|
Move create_new_chat/create_new_channel to ContactsManager.
|
2024-01-10 17:09:09 +03:00 |
|
levlam
|
a409af0973
|
Move migrate_dialog_to_megagroup to ContactsManager.
|
2024-01-10 15:57:19 +03:00 |
|
levlam
|
1bc8e90c10
|
Move create_new_secret_chat to ContactsManager.
|
2024-01-10 15:20:16 +03:00 |
|
levlam
|
c6154c43aa
|
Don't store message interaction info for bots.
|
2024-01-09 10:59:24 +03:00 |
|
levlam
|
7b6ce8b822
|
Move reload_dialog_info to DialogManager.
|
2024-01-08 19:20:22 +03:00 |
|