Commit Graph

320 Commits

Author SHA1 Message Date
23rd 243b16398b Moved out api for user photos to related separated module. 2022-06-14 18:51:38 +04:00
23rd 13146e9c06 Replaced use of raw MTP* bot commands with new transitional classes. 2022-06-14 18:51:18 +04:00
23rd 5f8608ed90 Moved out BotCommand struct to separated file. 2022-06-14 18:45:12 +04:00
23rd 1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
John Preston f78b9324dc Show videos in premium preview boxes. 2022-06-10 12:05:16 +04:00
23rd e25b0e791d Provided window session controller to api functions for bots. 2022-06-09 06:23:51 +03:00
John Preston aaf1383304 Update API scheme on layer 143. 2022-06-08 16:51:31 +04:00
John Preston f586ea3a75 Handle MSG_VOICE_TOO_LONG for voice messages. 2022-06-06 18:04:27 +04:00
John Preston 0bf58936e3 Update API scheme on layer 143. 2022-06-06 09:44:49 +04:00
John Preston 499923b6d3 Show real subscription price from the API. 2022-06-03 15:57:06 +04:00
John Preston de31c1cf0c Subscription status display. 2022-06-02 17:30:01 +04:00
John Preston 0b2a5a22ba Update API scheme on layer 143 + transcribe. 2022-05-24 23:38:40 +04:00
John Preston 6dedf7c63e Update API scheme to layer 143. 2022-05-19 17:27:02 +04:00
John Preston dd05fb4d14 Show limit toasts and boxes. 2022-05-19 17:27:02 +04:00
John Preston 739123dedc Implement simple premium limits boxes. 2022-05-19 17:27:02 +04:00
John Preston a752c4d9f3 Update API scheme on layer 142. 2022-05-19 17:27:01 +04:00
23rd 3ef352b63c Added ability to recover cloud password from Api::CloudPassword. 2022-05-10 08:53:31 +03:00
23rd 01eacadca5 Added ability to set recovery email from Api::CloudPassword. 2022-05-10 08:53:30 +03:00
23rd 9f155e0053 Added ability to confirm recovery email from Api::CloudPassword. 2022-05-10 08:53:30 +03:00
23rd 2f9dc6ca2a Added ability to check cloud password from Api::CloudPassword. 2022-05-10 08:53:30 +03:00
23rd 3d6f6cdd8f Added ability to set cloud password from Api::CloudPassword. 2022-05-10 08:53:30 +03:00
Andrew Krasavin 2b383a4236 Explicitly specify QVector element type to fix build with clang13+rangev3+qt6
More info:
https://github.com/telegramdesktop/tdesktop/issues/24385
https://github.com/telegramdesktop/tdesktop/issues/24014
https://github.com/ericniebler/range-v3/issues/1691
2022-05-03 15:15:20 +04:00
John Preston 644881bd3e Fix build on Windows. 2022-04-19 18:13:27 +04:00
John Preston 9f2683a35b Fix crash in MessagesSearch requests. 2022-04-19 12:02:11 +04:00
23rd d289bbdc5e Added ability to report profile photos.
Fixed #24325.
2022-04-19 09:39:01 +04:00
23rd 2e9e3b3751 Provided parent to report toasts. 2022-04-19 09:39:01 +04:00
23rd 6dce8dfa20 Moved api for report messages to separated file. 2022-04-19 09:39:01 +04:00
John Preston 59fb61e3e6 Don't re-request ringtones on empty list. 2022-04-16 20:13:21 +04:00
23rd 21c647147a Fixed total count of found messages in channels via api search. 2022-04-15 13:13:44 +03:00
John Preston 1e5f18bfe8 Request bots on updateAttachMenuBots. 2022-04-11 12:30:46 +04:00
John Preston be6ee73a04 Update bot menu attach in realtime. 2022-04-11 12:18:16 +04:00
23rd a49eda44d9 Replaced hardcoded limitations for ringtones with server values. 2022-04-10 22:16:15 +03:00
23rd 08f2bbef4e Moved out nested class for merged message search to separated file. 2022-04-07 19:18:47 +03:00
23rd 4ad31ce4e0 Fixed refreshing of file reference in api toggling media module. 2022-04-07 19:18:47 +03:00
23rd cf6b995c50 Moved out saving of ringtones to api toggling media module. 2022-04-07 19:18:47 +03:00
John Preston d35b8f82a3 Play ringtones on click in select box. 2022-04-07 11:35:53 +04:00
23rd f5164fe3e4 Added ability to use previous peer userpics. 2022-04-07 02:14:02 +03:00
John Preston c71ba2b8e7 Choose newly uploaded ringtone in the box. 2022-04-06 19:19:50 +04:00
John Preston d9f6a5206e Update API scheme on layer 140. 2022-04-06 16:29:06 +04:00
John Preston 622474e83b Leave only one list of items for custom sounds. 2022-04-05 19:29:43 +04:00
John Preston ef972ae15b Fix requesting ringtones list. 2022-04-05 18:07:37 +04:00
23rd 9950452e57 Slightly optimized name of methods in data notify settings. 2022-04-05 15:28:48 +03:00
23rd 1c9b1ea69f Added api ability to load list of available ringtones. 2022-04-05 15:28:48 +03:00
23rd 085c6f9c12 Added initial api ability to upload ringtones from files. 2022-04-05 11:52:34 +03:00
23rd 36bb23c54c Moved out data of notify settings to separated module. 2022-04-01 15:53:58 +04:00
John Preston aed1904b4c Support theming for webview-s (payments, attach). 2022-03-30 12:23:05 +04:00
23rd 069413c19c Added caching of result of search messages in dialogs. 2022-03-23 10:03:43 +04:00
23rd 12fbb53ada Added initial implementation of separated api class for message search. 2022-03-23 10:03:43 +04:00
John Preston 173fdf8056 Send GIFs search results without "via @bot". 2022-03-07 11:09:14 +04:00
23rd 4fff812910 Moved out importChatInvite from ApiWrap. 2022-03-04 11:25:10 +03:00