Commit Graph

10254 Commits

Author SHA1 Message Date
levlam
0030ae30f8 Locally update close friends after changing them. 2023-05-04 18:42:18 +03:00
levlam
161cc91acf Add td_api::setCloseFriends. 2023-05-04 18:27:03 +03:00
levlam
86946c6b1e Reload once contacts to repair close friends. 2023-05-03 20:55:28 +03:00
levlam
fb57555f3d Add td_api::getCloseFriends. 2023-05-03 20:42:47 +03:00
levlam
a65af73b90 Add User.is_close_friend. 2023-05-03 20:22:16 +03:00
levlam
d7f72e03b0 Add td_api::userPrivacySettingRuleAllowCloseFriends. 2023-05-03 19:42:36 +03:00
levlam
83dfdcd9ee Add class StoryId. 2023-05-01 22:33:52 +03:00
levlam
b0ab122d91 Add StoryManager. 2023-05-01 22:19:16 +03:00
levlam
030e440757 Update layer to 160. 2023-05-01 21:07:01 +03:00
levlam
76e2ff1140 Add messageSponsorTypeWebsite. 2023-06-02 15:13:20 +03:00
levlam
2969f570b8 Add class td_api::messageSponsor. 2023-06-02 14:42:28 +03:00
levlam
6e011cb212 Add and use full_message_id variable. 2023-06-01 15:46:57 +03:00
levlam
24d012bc73 Add td_api::searchRecentlyFoundChat. 2023-05-16 21:41:19 +03:00
levlam
96da28d4fb Remove supergroupFullInfo.can_set_username; chat username can be changed by its owner and only by the owner. 2023-05-10 17:17:26 +03:00
levlam
cdb3df8966 Log PTS and QTS gap statistics for each million events. 2023-05-09 12:53:48 +03:00
levlam
e8e1236e31 Allow clicking sponsored message after it was viewed. 2023-05-04 17:33:35 +03:00
levlam
1a5f81163d Add td_api::clickSponsoredMessage. 2023-05-04 17:21:50 +03:00
levlam
10338c0490 Add privacy setting for bio. 2023-05-04 17:03:37 +03:00
levlam
f733cb56ce Fix my_recent_chooser when removing reaction. 2023-05-01 18:28:06 +03:00
levlam
e4a15cc0ef Fix MessageReaction::set_my_recent_chooser_dialog_id. 2023-05-01 18:09:27 +03:00
levlam
ac81a35283 Add td_api::getChatFolderChatCount. 2023-05-01 14:57:16 +03:00
levlam
29c0004bfd Automatically send screenshot notification messages. 2023-04-30 16:00:20 +03:00
levlam
44d2b0af1e Fix method name. 2023-04-29 22:27:31 +03:00
levlam
1b891ddc7b Add chatFolderInfo.is_shareable. 2023-04-29 22:04:25 +03:00
levlam
1f8129e94f Invalidate authentication codes from copied messages. 2023-04-28 16:36:07 +03:00
levlam
340312e3da Add messageSourceScreenshot and notify about screenshotted codes. 2023-04-28 14:44:35 +03:00
levlam
da813f3ee9 Support updates.difference in on_get_pts_update. 2023-04-27 22:47:45 +03:00
levlam
797156bf11 Fast PTS gap repair. 2023-04-27 22:01:10 +03:00
levlam
b34955e7a9 Use separate request to confirm PTS and QTS. 2023-04-27 20:21:30 +03:00
levlam
601a216078 Add reactions on behalf of channels. 2023-04-27 19:31:31 +03:00
levlam
036a7cd539 Ensure that my_dialog_id is the same for all reactions. 2023-04-27 18:46:51 +03:00
levlam
b1c627a3be Fix chosen reaction order in MessageReactions::update_from. 2023-04-27 17:26:26 +03:00
levlam
e528c85550 Remove now unneeded parameters from MessageReactions::remove_reaction. 2023-04-27 16:42:38 +03:00
levlam
89cd51b461 Add MessageReaction::update_from. 2023-04-27 16:37:15 +03:00
levlam
2d0fa11624 Support my_recent_chooser_dialog_id. 2023-04-27 16:20:54 +03:00
levlam
61e8e863d9 Update comment about recent voters. 2023-04-27 14:34:52 +03:00
levlam
aa42602701 Add td_api::suggestedActionRestorePremium. 2023-04-25 16:48:16 +03:00
levlam
38efb6d673 Support MessageSenders as poll voters. 2023-04-25 16:41:04 +03:00
levlam
48d72677d3 Update layer to 159. 2023-04-25 14:27:58 +03:00
levlam
66234ae253 Fix IPv6 usage on WatchOS. 2023-06-11 13:25:06 +03:00
levlam
e3256e7b4c Use td::append if possible. 2023-06-10 23:14:03 +03:00
levlam
8096cf0439 Register replies to messages in different chats. 2023-06-09 13:44:15 +03:00
levlam
1886bcf850 Make update_message_max_reply_media_timestamp const. 2023-06-08 20:14:38 +03:00
levlam
bc618b855e Replace all message reply-related fields simultaneously. 2023-06-08 20:09:42 +03:00
levlam
6f082a40d2 Improve MessagesManager::create_message_to_send. 2023-06-08 13:39:36 +03:00
levlam
e8ee1c5149 Don't force getChatHistory response for only_local requests. 2023-06-07 15:23:09 +03:00
levlam
7d83f2e15a Remove redundant check, existing also in get_history_impl. 2023-06-07 15:14:45 +03:00
levlam
677219a251 Simplify OrderedMessages::auto_attach_message. 2023-06-07 13:23:13 +03:00
levlam
dec814ce34 Fix auto_attach_message. 2023-06-07 13:14:24 +03:00
levlam
ea217b10c1 Add MessagesManager::set_message_reply. 2023-06-07 00:57:27 +03:00