Commit Graph

134 Commits

Author SHA1 Message Date
levlam
3992c3695a Add more logging for long update applying. 2022-11-20 22:41:50 +03:00
levlam
d1afd1c3b7 Minor improvements. 2022-11-02 19:51:41 +03:00
levlam
eadf411679 Support forum topic creation. 2022-10-25 16:10:15 +03:00
levlam
46562f56d0 Explicitly subscribe to updateTranscribedAudio updates. 2022-10-20 17:52:32 +03:00
levlam
87174e5e81 Update layer to 148. 2022-10-07 18:04:00 +03:00
levlam
7f353cd064 Support telegram_api::updateMessageExtendedMedia. 2022-09-23 12:07:07 +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
8e5f33e699 Process updateMoveStickerSetToTop update. 2022-09-02 18:35:57 +03:00
levlam
6f940b5e9b Support updateRecentEmojiStatuses. 2022-08-31 16:56:40 +03:00
levlam
ce845b0753 Process updateUserEmojiStatus. 2022-08-23 18:14:46 +03:00
levlam
bb2034ae36 Update layer to 145. 2022-08-08 23:00:06 +03:00
levlam
8717720ee9 Add constant for "after get difference" source. 2022-08-08 19:01:50 +03:00
levlam
e3e7368b17 Improve error message. 2022-08-02 21:12:05 +03:00
levlam
4442293acf Support trending emoji sticker sets. 2022-07-17 22:39:22 +03:00
levlam
e38615b71e Update layer to 144. 2022-07-01 14:33:59 +03:00
levlam
faaf8f10f9 Process channel PTS updates during getDifference. 2022-06-28 16:39:32 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
d9a9693747 Support updateTranscribeAudio. 2022-05-25 21:48:31 +03:00
levlam
cfc20397a0 Update layer to 143. 2022-04-19 17:43:24 +03:00
levlam
d04552045d Add warnings about long application of postponed updates. 2022-05-22 22:09:46 +03:00
levlam
941206495a Reload data once an hour. 2022-05-13 13:56:18 +03:00
levlam
f1f6e61cd1 Reload all data when going online. 2022-05-12 16:40:53 +03:00
levlam
6790c309ac Move data reloading to UpdatesManager. 2022-05-12 16:34:13 +03:00
levlam
17275fe422 Output the number of objects to be freed on closing. 2022-04-25 20:52:44 +03:00
levlam
07424ae14e Add updateWebAppMessageSent. 2022-03-31 22:02:19 +03:00
levlam
ec802b1b57 Add updateAttachMenuBots. 2022-03-25 16:00:06 +03:00
levlam
479667dd1a Update layer to 140. 2022-03-18 14:46:01 +03:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
24d2505f5b Improve pts extraction from updates. 2022-02-16 21:18:36 +03:00
levlam
7c4d333a77 Support updateMessageReactions. 2022-01-21 11:53:18 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
20a460aeb3 Update layer to 136. 2021-12-28 17:19:18 +03:00
levlam
ae987f2211 Add inlineKeyboardButtonTypeUser. 2021-11-10 17:14:00 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
b7cf2e578d Save reference to UpdatesManager in promise. 2021-11-05 03:31:48 +03:00
levlam
f743c782bf Move TlStorerToString to TlStorerToString.h. 2021-11-01 19:21:24 +03:00
levlam
39b5db357e Add updateNewChatJoinRequest. 2021-10-28 22:49:56 +03:00
levlam
e49ae700b6 Add chat.pending_join_request_count. 2021-10-12 18:11:17 +03:00
levlam
23775700ac Update layer to 134. 2021-10-08 13:45:10 +03:00
levlam
3b794126d8 Avoid G usage in lambda promises. 2021-10-07 15:28:52 +03:00
levlam
196128b2f1 Update chat theme cache after receiving telegram_api::updateTheme. 2021-09-12 22:29:40 +03:00
levlam
4988e94c02 Don't save pts too often for bots. 2021-08-19 20:36:26 +03:00
levlam
c19a0751f0 Apply postponed pts/qts updates after each getDifference iteration. 2021-08-16 13:35:30 +03:00
levlam
b9b9f56b24 Process pending pts updates as fast as possible. 2021-08-16 12:19:30 +03:00
levlam
d7dd6ff1ea Improve logging. 2021-08-15 22:31:24 +03:00
levlam
9a5872fe27 Use update receive time to calculate proper gap time. 2021-08-15 12:46:38 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
da2d81c81b Update layer to 131. 2021-06-28 15:55:11 +03:00