Commit Graph

6252 Commits

Author SHA1 Message Date
levlam
a73ccbd19d Invalidate UserFullInfo after changing default administrator rights. 2022-04-03 10:41:14 +03:00
levlam
dd6a741f8a Add setDefaultGroupAdministratorRights/setDefaultChannelAdministratorRights. 2022-04-02 15:32:04 +03:00
levlam
fd00755bec Add internalLinkTypeBotAddToChannel. 2022-04-02 14:51:20 +03:00
levlam
7364334ebe Add internalLinkTypeAttachMenuBot. 2022-04-01 14:00:34 +03:00
levlam
2992d1e5e4 Prolong opened web view every minute. 2022-04-01 00:00:50 +03:00
levlam
07424ae14e Add updateWebAppMessageSent. 2022-03-31 22:02:19 +03:00
levlam
c1aa1defbb Add td_api::closeWebApp. 2022-03-31 21:45:35 +03:00
levlam
4384a832bb Improve reply_to_message_id documentation. 2022-03-31 17:00:52 +03:00
levlam
e54fac174a Rename web view to web app. 2022-03-31 16:42:59 +03:00
levlam
68db9a03cc Fix copy-paste bug. 2022-03-31 15:33:55 +03:00
levlam
df24a2ec90 Add td_api::openWebView. 2022-03-31 15:05:08 +03:00
levlam
ad7e0e2118 Improve method names and documentation. 2022-03-31 12:25:46 +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
29ab44b5d2 Add getSimpleWebViewUrl. 2022-03-30 16:27:01 +03:00
levlam
1780780caf Reload attach menu bots after language code changed. 2022-03-30 14:48:23 +03:00
levlam
3b78712b71 Disable reaction count reloading right after it was set. 2022-03-30 11:36:52 +03:00
levlam
81f9896498 Improve attach menu bots documentation. 2022-03-30 00:38:07 +03:00
levlam
c088dd9366 Add synchronous method td_api::getThemeParametersJsonString. 2022-03-29 20:22:38 +03:00
levlam
0b8b413206 Rename class td_api::paymentFormTheme to td_api::themeParameters. 2022-03-29 16:34:51 +03:00
levlam
8d35ac0b72 Avoid duplicate source in on_get_users/chats. 2022-03-29 15:54:36 +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
759d02770d Allow to use deleteChatHistory to revoke messages for all members in some channels. 2022-03-29 12:14:21 +03:00
levlam
977ebca580 Allow owner to clear basic group history for everyone. 2022-03-28 21:23:12 +03:00
levlam
0375704460 Use get_input_user instead of have_input_user. 2022-03-28 20:26:28 +03:00
levlam
ac8e856269 Allow only HTTPS links for web view. 2022-03-28 16:24:56 +03:00
levlam
0bd4c1a778 Check link in td_api::keyboardButtonTypeWebView. 2022-03-28 15:54:23 +03:00
levlam
37bf9979c5 Add td_api::sentWebViewMessage. 2022-03-28 15:49:01 +03:00
levlam
d9ddb53056 Add td_api::sendWebViewData. 2022-03-28 15:18:15 +03:00
levlam
e8a82f9e70 Add td_api::messageWebViewDataSent/messageWebViewDataReceived. 2022-03-28 10:01:39 +03:00
levlam
0ae8401ab5 Add keyboardButtonTypeWebView. 2022-03-27 02:20:26 +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
234c7423bf Add userTypeBot.can_be_added_to_attach_menu flag. 2022-03-25 13:02:01 +03:00
levlam
214e9cf3f2 Add inlineKeyboardButtonTypeWebViewUrl. 2022-03-25 00:32:38 +03:00
levlam
9d481df04d Add td_api::answerWebViewQuery. 2022-03-24 11:42:47 +03:00
levlam
afa00d8b00 Add default administrator rights to botInfo. 2022-03-22 14:52:27 +03:00
levlam
ef8d959e98 Add td_api::chatAdministratorRights. 2022-03-22 13:17:48 +03:00
levlam
fa4e17fe95 Move bot-only fields in userFullInfo to class botInfo. 2022-03-18 15:04:47 +03:00
levlam
479667dd1a Update layer to 140. 2022-03-18 14:46:01 +03:00
levlam
7da29e17d6 Add empty AttachMenuManager. 2022-03-25 14:17:09 +03:00
levlam
461b740987 Add InlineQueriesManager::answer_inline_query function. 2022-03-24 11:31:33 +03:00
levlam
62b99ba52a Allow server to add reply_to_message_id for yet unsent messages. 2022-03-23 21:16:02 +03:00