Commit Graph

7719 Commits

Author SHA1 Message Date
levlam
e2f9cc399f Pass correct ChannelType to DialogParticipant constructor. 2022-04-04 16:29:46 +03:00
levlam
c3996b4726 Always adjust administrator rights for supergroups and channels. 2022-04-04 16:19:41 +03:00
levlam
99b79911e0 Remove verbose DialogParticipantStatus::Administrator. 2022-04-04 15:59:30 +03:00
levlam
1d6488ab09 Add ContactsManager::is_broadcast_channel/is_megagroup_channel helpers. 2022-04-04 15:48:33 +03:00
levlam
a8a343704a Add ChannelType.h. 2022-04-04 15:35:09 +03:00
levlam
7f587c24d9 Replace get_restricted_rights with RestrictedRights constructors. 2022-04-04 14:13:51 +03:00
levlam
4a50db52d8 Replace get_administrator_rights with AdministratorRights constructor. 2022-04-04 13:58:14 +03:00
levlam
665c1adc75 Ignore RIGHTS_NOT_MODIFIED error. 2022-04-03 23:33:33 +03:00
levlam
ca1f844f44 Remove unneeded commas. 2022-04-03 22:59:28 +03:00
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