Commit Graph

786 Commits

Author SHA1 Message Date
levlam
4c803a1a75 Remove uneeded third try in getWebPageInstantView. 2021-10-07 13:00:41 +03:00
levlam
2f4524a949 Return WebPageId through promise. 2021-10-07 12:49:46 +03:00
levlam
557c5d1d4c Use request promise in searchChatRecentLocationMessages. 2021-10-06 14:22:42 +03:00
levlam
11af0a058d Add source to get_message_object. 2021-10-03 14:54:40 +03:00
levlam
49ab7cd53a Use messages.getSearchCounters. 2021-10-03 13:47:50 +03:00
levlam
0455b313b3 Improve testNetwork implementation. 2021-10-02 16:54:01 +03:00
levlam
d1532ef1f8 Improve result handlers storage. 2021-10-02 14:39:20 +03:00
levlam
4f9b35ea72 Use get_contact in importContacts and changeImportedContacts. 2021-09-30 14:18:01 +03:00
levlam
44efa70789 Pass Contact to add_contact. 2021-09-30 13:53:16 +03:00
levlam
665ae9434e Use error code 400 in Td.cpp. 2021-09-29 19:19:24 +03:00
levlam
888bd7988c Add warning on failed to open database. 2021-09-29 17:15:36 +03:00
levlam
90c0f18507 Send authorizationStateClosing when closing before initialization. 2021-09-29 15:41:53 +03:00
levlam
2ce0be4fe7 Remove getChatStatisticsUrl method. 2021-09-28 19:08:36 +03:00
levlam
36cbba4d2c Use request promise in td_api::getCallbackQueryAnswer implementation. 2021-09-27 23:22:10 +03:00
levlam
d882e222a7 Make FileStats fields private. 2021-09-26 12:44:18 +03:00
levlam
9115ba4aa5 Move topChat methods logic to TopDialogManager. 2021-09-25 11:37:32 +03:00
levlam
5091aa68e3 Allow direct access to TopDialogManager. 2021-09-24 23:17:38 +03:00
levlam
d6f3d9f08a Use error code 400 instead of small error codes. 2021-09-24 10:59:51 +03:00
levlam
e212d1293d Send stats.getMessagePublicForwards to the correct DC. 2021-09-24 09:07:38 +03:00
levlam
910f60c145 Use Promise instead of RequestActor in getMessagePublicForwards. 2021-09-23 22:56:38 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
b15244f59d Ensure delay of 0.2 seconds between updateAnimatedEmojiMessageClicked animations. 2021-09-17 19:59:31 +03:00
levlam
5fd11e4b7a Add td_api::clickAnimatedEmojiMessage. 2021-09-16 00:41:40 +03:00
levlam
f197d61c66 Support message viewers-related config options. 2021-09-03 19:06:24 +03:00
levlam
a4f66c69cb Add td_api::getMessageViewers. 2021-09-03 16:14:03 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
7d26a30bd0 Move StateManager::State to ConnectionState.h. 2021-09-16 18:23:10 +03:00
levlam
34094328bd Initialize Td::connection_state_ in header. 2021-09-16 17:54:04 +03:00
levlam
ded0b57905 Add td_api::getRecentlyOpenedChats. 2021-09-14 14:18:37 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
78baa7977b Don't inherit Td from NetQueryCallback. 2021-09-10 18:58:36 +03:00
levlam
2062daf9cd Don't wrap updates in NetQuery. 2021-09-10 17:32:39 +03:00
levlam
5c87fb853e Use int32 as sponsored message ID. 2021-09-10 11:44:50 +03:00
levlam
ae6b79d57b Add SponsoredMessageManager. 2021-09-07 15:49:34 +03:00
levlam
546898e199 Replace SetGameScoreRequest with promise. 2021-09-07 12:05:44 +03:00
levlam
5c59a10418 Move game-related methods to GameManager. 2021-09-07 10:45:01 +03:00
levlam
d395c2496e Add empty GameManager. 2021-09-07 10:02:44 +03:00
levlam
96ffd57881 Use Promise isntead of RequestOnceActor to get games high scores. 2021-09-05 10:54:20 +03:00
levlam
7dffe5aabe Use Promise instead of RequestActor in getBackgrounds. 2021-09-03 09:07:18 +03:00
levlam
d2f9c264ca Use promise instead of RequestActor in td_api::getChatThemes. 2021-09-03 08:59:34 +03:00
levlam
b1db807868 Add forwardMessages.only_preview. 2021-08-31 23:37:21 +03:00
levlam
23a4c2c8a8 Return Message objects from send_message/forward_messages. 2021-08-31 22:34:46 +03:00
levlam
c20fd1dd91 Add td_api::setChatTheme. 2021-08-27 19:23:22 +03:00
levlam
83e55b6b56 Add td_api::getChatThemes. 2021-08-27 15:51:50 +03:00
levlam
e3f55a71cd Add td_api::viewSponsoredMessage. 2021-08-25 22:34:18 +03:00
levlam
658d172256 Improve method name. 2021-08-25 20:29:14 +03:00
levlam
723b203c7d Add td_api::getSponsoredMessages. 2021-08-24 23:44:47 +03:00
levlam
b56119951b Support video streaming in group calls. 2021-08-23 16:59:00 +03:00
levlam
2045c131a9 Support video recording in group calls. 2021-08-23 15:29:03 +03:00
levlam
d49fdf3261 Remove offset from getChats and respect app-specified limit. 2021-08-11 15:59:09 +03:00