levlam
|
b359b32080
|
Add searchMessages.only_in_channels.
|
2024-04-22 16:38:30 +03:00 |
|
levlam
|
6194fb4aa1
|
Support max_reaction_count setting.
|
2024-04-22 03:19:40 +03:00 |
|
levlam
|
4134f608af
|
Update layer to 179.
|
2024-04-21 21:57:10 +03:00 |
|
levlam
|
0e1600ac7d
|
Don't store copy of created public broadcasts in MessagesManager.
|
2024-04-30 14:07:06 +03:00 |
|
levlam
|
02a99f3c50
|
Add and use MessageQuote(td_api::inputTextQuote).
|
2024-04-25 16:18:07 +03:00 |
|
levlam
|
1f6fdd554a
|
Add class MessageQuote and use it in MessageInputReplyTo and RepliedMessageInfo.
|
2024-04-25 15:52:19 +03:00 |
|
levlam
|
e08cf00efb
|
Remove unused get_formatted_text parameters.
|
2024-04-23 20:04:38 +03:00 |
|
levlam
|
2ddab77b3e
|
Fix some misprints.
|
2024-04-21 02:43:33 +03:00 |
|
levlam
|
f3385d6cb7
|
Improve edit of quick reply messages.
|
2024-04-21 02:07:16 +03:00 |
|
levlam
|
1221cccbdf
|
Support quick reply media editing.
|
2024-04-20 18:57:32 +03:00 |
|
levlam
|
0f25201248
|
Use TRY_RESULT_PROMISE in edit_message_*.
|
2024-04-19 15:29:47 +03:00 |
|
levlam
|
4c72dc8ec5
|
Add and use FileManager::try_merge_documents.
|
2024-04-18 00:21:17 +03:00 |
|
levlam
|
298d16c150
|
Use MessagesManager::check_dialog_access.
|
2024-04-15 18:08:30 +03:00 |
|
levlam
|
c4e1a44a5c
|
Add MessagesManager::check_dialog_access.
|
2024-04-15 17:28:13 +03:00 |
|
levlam
|
723ba8978d
|
Use messages.affectedMessages.pts even if pts_count == 0.
|
2024-04-15 02:55:53 +03:00 |
|
levlam
|
c0ed8f09b0
|
Add explicit allow_secret_chats to have_input_peer.
|
2024-04-14 22:59:05 +03:00 |
|
levlam
|
9243f51ff9
|
Add SendQuickReplyShortcutMessagesLogEvent.
|
2024-04-12 02:10:55 +03:00 |
|
levlam
|
27721159bd
|
Return failed to add members in createNewBasicGroupChat.
|
2024-04-09 16:19:33 +03:00 |
|
levlam
|
4c1fa3b45d
|
Add td_api::removeBusinessConnectedBotFromChat.
|
2024-04-08 03:10:33 +03:00 |
|
levlam
|
69fd5333d7
|
Hide all business bot manage bars when changing business bot.
|
2024-04-08 02:45:54 +03:00 |
|
levlam
|
7aad37608f
|
Add separate BusinessBotManageBar.
|
2024-04-08 02:37:52 +03:00 |
|
levlam
|
e7ff4688fc
|
Add td_api::toggleBusinessConnectedBotChatIsPaused.
|
2024-04-07 22:45:55 +03:00 |
|
levlam
|
83a3190f2f
|
Add action bar dependencies.
|
2024-04-07 01:59:13 +03:00 |
|
levlam
|
f9dfd502da
|
Add td_api::chatActionBarManageBusinessBot.
|
2024-04-07 01:46:46 +03:00 |
|
levlam
|
4444f0e328
|
Log failed message edits.
|
2024-04-06 21:52:28 +03:00 |
|
levlam
|
bd8c6be0cd
|
Rename rest of ContactsManager to ChatManager.
|
2024-04-02 13:06:22 +03:00 |
|
levlam
|
03a624903e
|
Move relevant functions to UserManager.
|
2024-04-02 03:52:34 +03:00 |
|
levlam
|
0a21620194
|
Remove extract_group_invite_privacy_forbidden_updates.
|
2024-03-30 02:56:24 +03:00 |
|
levlam
|
a042122b7a
|
Add source to get_chat_type_object.
|
2024-03-29 11:19:50 +03:00 |
|
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 |
|