Commit Graph

362 Commits

Author SHA1 Message Date
John Preston d15173e09d Update API scheme on layer 148. 2022-11-01 19:25:35 +04:00
John Preston 9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
Ilya Fedin 7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 08321b8d8b Fix sending custom emoji based on Dice-type game emoji. 2022-09-14 20:41:24 +04:00
John Preston 40bdcd7ebc Short poll extended media. 2022-09-12 18:18:31 +04:00
John Preston d2234d88b6 Update extended media, hide inline keyboard. 2022-09-12 16:10:56 +04:00
John Preston 0a3077b9a5 Update API scheme on layer 145. 2022-09-02 21:14:33 +04:00
John Preston 923e725e18 Request default and recent emoji statuses. 2022-09-02 21:14:33 +04:00
23rd 6f3d19914d Unified parsing of MTP gift and subscription options in separate file. 2022-09-02 21:14:32 +04:00
John Preston 668a3308be Support custom emoji reactions in WhoReacted. 2022-09-02 21:14:31 +04:00
John Preston ba83836922 Display custom emoji reactions under messages. 2022-09-02 21:14:31 +04:00
John Preston 8a6b3027f5 Support multiple reactions from one user. 2022-09-02 21:14:31 +04:00
John Preston 31db1804c8 Request top and recent reactions. 2022-09-02 21:14:31 +04:00
John Preston f8c962712b Update API scheme on layer 145. 2022-09-02 21:14:31 +04:00
John Preston f658cb7e99 Update API scheme on layer 145. 2022-09-02 21:14:30 +04:00
John Preston 1e2e007d38 Show custom emoji in private chat reactions. 2022-09-02 21:14:29 +04:00
John Preston 60cc232884 Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston 77772caabb Update API scheme on layer 145. 2022-09-02 21:14:29 +04:00
John Preston c126a1e56e Simplify CustomEmojiId. 2022-08-15 13:17:24 +03:00
John Preston fede1ff173 Simplify stickers inner API. 2022-08-15 11:34:22 +03:00
John Preston 3698396677 Remove MTP from Polls::create interface. 2022-08-11 09:06:43 +03:00
John Preston e7a3c5367a Make MTP* optional in ConfirmInviteBox. 2022-08-11 09:02:41 +03:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston b7cc2e9894 Don't pass redundant MTPUpdates arguments. 2022-08-05 13:37:41 +03:00
John Preston 9b92700c24 Add additional cloud premium stickers to fake-set. 2022-08-04 17:48:36 +03:00
John Preston 4915ea8ad3 Add convenient appConfig().get<int>(..). 2022-08-02 13:20:38 +03:00
John Preston 8bb3cd7e65 Push click handler context to Api::ActivateBotCommand. 2022-07-28 20:03:38 +03:00
John Preston e64190fb64 Fix crash in attached emoji preview. 2022-07-27 12:26:22 +03:00
John Preston 4cf4b6a368 Optimize emoji / stickers update requests. 2022-07-26 20:12:14 +03:00
John Preston b4b55973b5 Request and cache featured emoji sets. 2022-07-26 20:12:13 +03:00
John Preston b31a3ba5a3 Improve emoji set box design. 2022-07-26 20:12:13 +03:00
John Preston b14b69272a Fix build with GCC. 2022-07-26 20:12:12 +03:00
23rd 57ecd918f1 Added auto-unblocking of bot when it is auto-submitted. 2022-07-26 20:12:11 +03:00
23rd 67195f3825 Added initial support of privacy setting for voice messages. 2022-07-26 20:12:11 +03:00
23rd 89a3462824 Simplified extracting of data from some MTP* responses. 2022-07-26 20:12:11 +03:00
John Preston afc7b1da62 Update API scheme on layer 144. 2022-07-26 20:12:10 +03:00
23rd 5fbbdd8a9e Added ability to choose to show recent group history for each new user.
Fixed #9864.
2022-07-26 20:12:10 +03:00
John Preston b87fd601ab Update API scheme on layer 144. 2022-07-26 20:12:09 +03:00
John Preston c01d9747e7 Fix inline via @bot click in additional windows
Fixes #24717.
2022-07-26 20:12:09 +03:00
John Preston 2499955496 Support custom emoji in the message input field. 2022-07-26 20:12:08 +03:00
John Preston 21aa1323ec Provide custom emoji factory through MarkedTextContext. 2022-07-26 20:12:08 +03:00
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