Commit Graph

59 Commits

Author SHA1 Message Date
John Preston e974d02b44 Toast icon revolution. 2026-03-28 14:48:58 +07:00
John Preston d455d6ee32 Improve managed bot creation. 2026-03-25 13:08:50 +07:00
John Preston 358a9f87a1 Initial support for managed bot creation. 2026-03-25 13:08:50 +07:00
John Preston 9f57a82c75 Update API scheme to layer 224. 2026-03-25 13:08:49 +07:00
23rd 7a573bf809 Added initial api support of url auth login with details. 2026-02-01 23:33:57 +04:00
John Preston 28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 41d206e354 Rename SuggestPostOptions to SuggestOptions. 2025-12-05 20:11:53 +04:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston bf9492e083 Show approve/decline service messages. 2025-06-27 21:29:34 +04:00
John Preston 7e5a29a5cc PoC suggesting posts to channels. 2025-06-27 21:29:34 +04:00
John Preston a2fad84dae Update API scheme to layer 188. 2024-09-19 12:47:54 +04:00
23rd 69fc2f48bf Removed unused include directives from MainWidget. 2024-08-27 18:27:15 +03:00
John Preston fd982b90db Implement separate instances for web apps. 2024-07-24 13:46:22 +02:00
John Preston 6effac7915 Migrate games to AttachWebView. 2024-07-12 08:45:44 +02:00
23rd dda6b92bec Added initial ability to process non-panel payment forms. 2024-05-30 21:35:07 +04:00
23rd 3dd894ad30 Improved SendCreditsBox for data from credits payment form. 2024-05-30 21:35:07 +04:00
23rd 84cde1354d Slightly improved invoice view in messages for credits. 2024-05-30 21:35:07 +04:00
23rd d1be7c1ff7 Simplified management of PasscodeBox within customCheckCallback. 2024-04-15 11:20:30 +04:00
23rd ded7aada52 Slightly improved filter for choosing users requested by bot. 2024-03-15 14:43:29 +04:00
John Preston 41ae1f56ed Update API scheme to layer 169. Multigifts. 2023-12-22 07:35:02 -04:00
John Preston e13768ea50 Fix build with Xcode. 2023-10-26 14:08:40 +04:00
John Preston 4240568ea5 Pass FullReplyTo everywhere. 2023-10-26 14:08:40 +04:00
John Preston 04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
John Preston 7877463468 Respect peer_types in the switch inline button.
Fixes #26274.
2023-05-24 19:36:58 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston de9a757e7a Fix webview switch_inline to the same chat. 2023-03-08 16:59:30 +04:00
John Preston 4fe568cb82 Implement switch_webview and "web_app_switch_inline_query". 2023-03-07 08:42:29 +03:00
John Preston de5bbf2cb9 Allow creating group / channel for the bot. 2023-02-02 22:12:31 +04:00
John Preston 809610817e Initial request peer button implementation. 2023-02-02 22:12:31 +04:00
John Preston 90cb61676a Update API scheme to layer 152. 2023-02-02 22:12:31 +04:00
John Preston cfddca8f58 Fix possible crashes in toastParent expiring. 2022-12-07 13:07:36 +04:00
John Preston eaed91263e Simplify HistoryHider, remove most of uses. 2022-11-30 16:13:31 +04:00
John Preston 9d4840c0de Respect window active state on mark as read. 2022-11-02 20:13:29 +04:00
John Preston ff352d7647 Fix password request box closing in bot button callback. 2022-11-02 20:13:29 +04:00
John Preston aa5f9467f2 Support attach webview bots in topics. 2022-11-01 19:25:43 +04:00
John Preston 7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
23rd 5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
John Preston 89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston 8bb3cd7e65 Push click handler context to Api::ActivateBotCommand. 2022-07-28 20:03:38 +03:00
John Preston b14b69272a Fix build with GCC. 2022-07-26 20:12:12 +03:00
23rd 89a3462824 Simplified extracting of data from some MTP* responses. 2022-07-26 20:12:11 +03:00
John Preston c01d9747e7 Fix inline via @bot click in additional windows
Fixes #24717.
2022-07-26 20:12:09 +03:00
23rd e25b0e791d Provided window session controller to api functions for bots. 2022-06-09 06:23:51 +03:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
23rd 9706b84409 Slightly refactored api_bot. 2021-11-30 17:38:22 +04:00
23rd 287a35d208 Removed MTP* from PrePasswordErrorBox. 2021-11-30 17:36:54 +04:00
John Preston c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00