Commit Graph

3362 Commits

Author SHA1 Message Date
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