Commit Graph

15 Commits

Author SHA1 Message Date
levlam
ec1310a0e7 Support multiple sponsored messages. 2022-10-21 15:04:56 +03:00
levlam
87174e5e81 Update layer to 148. 2022-10-07 18:04:00 +03:00
levlam
8537b3d495 Move MultiTimeout to MultiTimeout.h. 2022-07-02 23:32:18 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
a81ab8abba Remove viewSponsoredMessage in favor of viewMessages. 2021-12-27 18:17:02 +03:00
levlam
23d537052e Use unique 53-bit identifiers for sponsored messages. 2021-12-27 16:49:11 +03:00
levlam
ae1d1867f2 Remove multiple sponsored messages in a chat. 2021-12-21 14:19:48 +03:00
levlam
5c87fb853e Use int32 as sponsored message ID. 2021-09-10 11:44:50 +03:00
levlam
b8df633f34 Minor include improvements. 2021-09-08 16:50:03 +03:00
levlam
5bb10b4bb3 Cache sponsored messages. 2021-09-07 20:27:04 +03:00
levlam
efbb5bde96 Combine getSponsoredMessages queries. 2021-09-07 17:21:18 +03:00
levlam
ae6b79d57b Add SponsoredMessageManager. 2021-09-07 15:49:34 +03:00