Commit Graph

33 Commits

Author SHA1 Message Date
levlam
424e632f9f Combine reload_attach_menu_bots queries. 2022-08-18 13:39:24 +03:00
levlam
e7fa6741aa Support file reference repair for files of attachment menu bots. 2022-08-10 21:12:05 +03:00
levlam
854b67d1e3 Add and increase cache version for AttachMenuBot. 2022-06-20 19:56:04 +03:00
levlam
16c01b5690 Support Web App placeholder for attach menu bots. 2022-06-20 19:31:04 +03:00
levlam
969322f32d Use capital first letters in "Web App". 2022-05-31 18:00:09 +03:00
levlam
f189351397 Add attachMenuBot.supports_settings. 2022-05-31 17:57:57 +03:00
levlam
e528558300 Add chat flags to attachmentMenuBot. 2022-04-26 18:59:08 +03:00
levlam
2345933422 Fix chat to send messages as from a web app. 2022-04-26 17:13:31 +03:00
levlam
cfc20397a0 Update layer to 143. 2022-04-19 17:43:24 +03:00
levlam
1191f13f91 Fix compilation error. 2022-05-04 17:17:40 +03:00
levlam
5cb83bd340 Suppress expected error logging. 2022-04-27 02:14:44 +03:00
levlam
ff6f165551 Fix "attachment menu" spelling. 2022-04-14 22:56:27 +03:00
levlam
32ed470417 Fix attach menu icons initialization. 2022-04-11 12:55:43 +03:00
levlam
1302aa2520 Fix opening bot from bot menu. 2022-04-08 04:09:07 +03:00
levlam
6c0438fc69 Minor fixes. 2022-04-07 20:38:22 +03:00
levlam
00c64aba6e Remove openWebApp.from_bot_menu flag. 2022-04-07 18:29:59 +03:00
levlam
2992d1e5e4 Prolong opened web view every minute. 2022-04-01 00:00:50 +03:00
levlam
c1aa1defbb Add td_api::closeWebApp. 2022-03-31 21:45:35 +03:00
levlam
e54fac174a Rename web view to web app. 2022-03-31 16:42:59 +03:00
levlam
df24a2ec90 Add td_api::openWebView. 2022-03-31 15:05:08 +03:00
levlam
b01bc42470 Reload attach menu bots if failed to toggle one. 2022-03-31 12:10:50 +03:00
levlam
e541e140bb Support colors for attach menu bots. 2022-03-31 12:07:19 +03:00
levlam
13975f4e54 Reload attach menu bots after adding or removing a bot. 2022-03-29 15:48:21 +03:00
levlam
5b81010f0b Add promise to reload_attach_menu_bots. 2022-03-29 15:42:57 +03:00
levlam
2ff0b74af6 Add td_api::getAttachMenuBot. 2022-03-29 15:00:00 +03:00
levlam
a906c16cd4 Add get_attach_menu_bot_object. 2022-03-29 14:03:06 +03:00
levlam
8736193034 Add AttachMenuManager::get_attach_menu_bot function. 2022-03-29 13:47:24 +03:00
levlam
ccbedd39bf Check inactive flag of attachMenuBot. 2022-03-29 12:35:41 +03:00
levlam
c6f6733669 Add td_api::toggleBotIsAddedToAttachMenu. 2022-03-26 23:41:22 +03:00
levlam
515000f875 Reload attach menu bots once an hour. 2022-03-25 18:10:25 +03:00
levlam
66dfbee537 Save attach menu bots between restarts. 2022-03-25 17:44:20 +03:00
levlam
ec802b1b57 Add updateAttachMenuBots. 2022-03-25 16:00:06 +03:00
levlam
7da29e17d6 Add empty AttachMenuManager. 2022-03-25 14:17:09 +03:00