Commit Graph

380 Commits

Author SHA1 Message Date
levlam
7556ef4b18 Support telegram_api::updateAutoSaveSettings. 2023-02-03 16:08:44 +03:00
levlam
7596600548 Reload default chat photo custom emoji identifiers. 2023-02-01 02:35:57 +03:00
levlam
47fd88b33f Add and use "since_last_open" internal option. 2023-01-30 01:29:33 +03:00
levlam
5666925e5b Don't postpone updates during initial getDifference. 2023-01-29 12:49:25 +03:00
levlam
2325c5041b Collect statistics about received updates. 2023-01-25 17:48:04 +03:00
levlam
050a11ece7 Update layer to 152. 2023-01-06 12:42:16 +03:00
levlam
45ff12ca49 Improve PTS/QTS spelling. 2023-01-15 11:05:53 +03:00
levlam
ac0de06b5f Ensure that PTS/QTS updates are null after processing. 2023-01-09 13:27:28 +03:00
levlam
9834594b16 Don't send parallel ping-server requests. 2023-01-03 15:32:10 +03:00
levlam
5711c6c8eb Add some emptiness checks. 2023-01-02 20:12:15 +03:00
levlam
903d994799 Improve punctuation. 2023-01-02 15:38:04 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
3422ab1082 Process updates about pinned forum topics. 2022-12-30 01:06:05 +03:00
levlam
996efb73fe Improve handling of telegram_api::updateUser. 2022-12-26 13:23:05 +03:00
levlam
8e7d5f5594 Update layer to 151. 2022-12-08 20:58:37 +03:00
levlam
2afe1fc6ce Drop pending updates with too big PTS after getDifference. 2022-12-20 12:42:03 +03:00
levlam
f1eedfaa47 Simplify some usages of optional TL fields. 2022-12-18 22:15:57 +03:00
levlam
f97c103e2b Update last read inbox/outbox message identifiers in topics. 2022-12-14 14:25:04 +03:00
levlam
0e33195953 Move static get_message_id/get_message_dialog_id to corresponding classes. 2022-12-12 21:43:49 +03:00
levlam
d2060a2eb3 Improve log messages with time. 2022-12-11 01:32:46 +03:00
levlam
8917b9c845 Support updates about forum topic notification settings. 2022-12-06 16:48:32 +03:00
levlam
70cfbab277 Extract only relevant random_id from updates. 2022-12-02 12:36:31 +03:00
levlam
f8a5f42886 Improve return value of UpdatesManager::get_new_messages. 2022-12-02 12:11:07 +03:00
levlam
fff8e81261 Don't return SetMessagesTTL messages in get_new_messages. 2022-12-01 23:44:58 +03:00
levlam
62e721fa6f Add messageChatSetTtl.from_user_id. 2022-11-29 14:02:05 +03:00
levlam
47c8d957a1 Update layer to 149. 2022-11-10 20:27:09 +03:00
levlam
c8507ec16a Add time limit for applying of pending PTS updates. 2022-11-27 00:59:09 +03:00
levlam
b1ddf9d3a7 Minor fixes. 2022-11-23 16:32:09 +03:00
levlam
3992c3695a Add more logging for long update applying. 2022-11-20 22:41:50 +03:00
levlam
6eb7217b66 Avoid expected warning. 2022-11-20 11:29:05 +03:00
levlam
2d2446ae77 Improve updating of reply info. 2022-11-19 11:21:41 +03:00
levlam
9f39aeecdf Add source to invalidate_channel_full. 2022-11-17 14:01:08 +03:00
levlam
d1afd1c3b7 Minor improvements. 2022-11-02 19:51:41 +03:00
levlam
e33dac507d Add getForumTopicDefaultIcons. 2022-10-27 10:06:13 +03:00
levlam
eadf411679 Support forum topic creation. 2022-10-25 16:10:15 +03:00
levlam
c9f8390bd5 Move TranscribeAudioQuery to TranscriptionInfo.cpp. 2022-10-20 19:52:20 +03:00
levlam
46562f56d0 Explicitly subscribe to updateTranscribedAudio updates. 2022-10-20 17:52:32 +03:00
levlam
4067ba66d3 Improve backward compatibility. 2022-10-17 15:44:30 +03:00
levlam
897032e0fd Add support for multiple usernames. 2022-10-12 21:04:18 +03:00
levlam
87174e5e81 Update layer to 148. 2022-10-07 18:04:00 +03:00
levlam
88ffdb62e7 Split NotificationSettings.h. 2022-10-25 01:22:04 +03:00
levlam
09cffa693a Improve source for telegram_api::updates. 2022-10-06 18:21:25 +03:00
levlam
7f353cd064 Support telegram_api::updateMessageExtendedMedia. 2022-09-23 12:07:07 +03:00
levlam
cb01c3022c Move check_currency_amount to misc.h. 2022-09-22 19:33:43 +03:00
levlam
7f433c7e18 Add OrderInfo.h. 2022-09-22 19:28:39 +03:00
levlam
1679d1338c Update layer to 146. 2022-09-16 15:36:25 +03:00
levlam
164f5e97fd Support telegram_api::updateRecentReactions. 2022-09-12 19:52:08 +03:00
levlam
ece581b797 Load recent reactions. 2022-09-12 19:14:02 +03:00
levlam
7b6d0ea6b4 Load top reactions from server. 2022-09-12 17:28:58 +03:00
levlam
8e5f33e699 Process updateMoveStickerSetToTop update. 2022-09-02 18:35:57 +03:00