Commit Graph

694 Commits

Author SHA1 Message Date
levlam
74b3c23e4b Add intro to businessInfo. 2024-03-19 14:31:19 +03:00
levlam
07a29ef56b Move chat suggested actions to DialogManager. 2024-03-23 23:15:04 +03:00
levlam
4227491ef4 Move on_get_permanent_dialog_invite_link to DialogInviteLinkManager. 2024-03-22 00:58:08 +03:00
levlam
649b8cef01 Pass ChannelId to can_get_channel_story_statistics. 2024-03-18 00:03:00 +03:00
levlam
95e86d3cf3 Pass ChannelId to can_get_channel_message_statistics. 2024-03-17 23:47:47 +03:00
levlam
5a00fb2ba3 Move migrate_dialog_to_megagroup to DialogManager. 2024-03-16 21:47:42 +03:00
levlam
2f2dbc30cd Move some methods to ChannelRecommendationManager. 2024-03-13 15:40:19 +03:00
levlam
2c61318a11 Move some methods to PeopleNearbyManager. 2024-03-11 01:42:08 +03:00
levlam
1fba0f0c84 Move can_use_premium_custom_emoji to DialogManager. 2024-03-10 03:15:01 +03:00
levlam
919a1d8329 Move on_update_bot_commands to DialogManager. 2024-03-09 23:35:12 +03:00
levlam
261a3d0c22 Move business info setters to BusinessManager. 2024-03-04 16:57:36 +03:00
levlam
50ba48fbfa Add td_api::setBusinessGreetingMessageSettings. 2024-02-27 14:26:19 +03:00
levlam
66761d1950 Add td_api::setBusinessAwayMessageSettings. 2024-02-27 14:18:56 +03:00
levlam
44bdcd4920 Add businessInfo.greeting_message_settings. 2024-02-27 02:07:21 +03:00
levlam
74fbe7f549 Add businessInfo.away_message_settings. 2024-02-27 01:58:14 +03:00
levlam
72a4cd0398 Add td_api::businessInfo. 2024-02-26 23:09:52 +03:00
levlam
5097989a4d Add td_api::setBusinessWorkHours. 2024-02-20 15:55:17 +03:00
levlam
ea58ed8831 Add userFullInfo.business_work_hours. 2024-02-20 15:22:02 +03:00
levlam
8d9edcb31d Add td_api::setBusinessLocation. 2024-02-20 12:49:30 +03:00
levlam
9c51809490 Add userFullInfo.business_location. 2024-02-20 00:33:40 +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
d66e3657a3 Move cached_channel_participants_ to DialogParticipantManager. 2024-03-04 03:16:20 +03:00
levlam
b788136508 Minor improvements. 2024-03-03 02:14:53 +03:00
levlam
1e8e2fcecc Move search_among_dialogs to DialogParticipantManager. 2024-03-03 01:43:42 +03:00
levlam
958f6ddffd Add ContactsManager::get_user_was_online. 2024-03-03 01:39:00 +03:00
levlam
854b054ed6 Fix default parameter value. 2024-03-03 01:35:17 +03:00
levlam
22d9c86b57 Move get_channel_participants to DialogParticipantManager. 2024-03-03 01:22:49 +03:00
levlam
3d9d6f51f4 Move search_chat_participants to DialogParticipantManager. 2024-03-02 03:02:34 +03:00
levlam
465fdd8505 Move search_dialog_participants to DialogParticipantManager. 2024-03-02 02:02:01 +03:00
levlam
555aa71f59 Move chat ownership transfer to DialogParticipantManager. 2024-02-26 14:14:54 +03:00
levlam
49674bb431 Move methods for chat participant changes to DialogParticipantManager. 2024-02-25 00:45:19 +03:00
levlam
3d80f1ae6f Move get_dialog_search_text to DialogManager. 2024-02-24 23:47:30 +03:00
levlam
fe749cfb9b Add DialogManager::set_dialog_location. 2024-02-20 00:43:04 +03:00
levlam
da979c4631 Move user_online_member_dialogs_ to DialogParticipantManager. 2024-02-19 02:15:05 +03:00
levlam
59b1d7a4f6 Add ContactsManager::update_chat_online_member_count(ChatId). 2024-02-19 01:46:57 +03:00
levlam
32040c22cb Move get_dialog_about to DialogManager. 2024-02-19 01:10:57 +03:00
levlam
46f076f47c Add td_api::setSupergroupUnrestrictBoostCount. 2024-02-12 17:42:35 +03:00
levlam
e62f612c36 Add Message.sender_boost_count. 2024-02-11 02:45:18 +03:00
levlam
0238a3da42 Ignore restrictions by supergroup boosters. 2024-02-08 23:30:41 +03:00
levlam
353c809298 Add supergroupFullInfo.unrestrict_boost_count. 2024-02-08 19:04:28 +03:00
levlam
2037b049c5 Add supergroupFullInfo.my_boost_count. 2024-02-08 18:51:40 +03:00
levlam
0dad023262 Allow to use Premium custom emoji from group emoji set in supergroups. 2024-02-08 15:09:26 +03:00
levlam
42784587ad Support custom emoji sticker set in supergroups. 2024-02-08 15:02:04 +03:00
levlam
2acbcdbb60 Allow sending messages to user after receiving a message from them. 2024-01-25 20:56:10 +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