Commit Graph

753 Commits

Author SHA1 Message Date
levlam
9b85516cfd Move bot command handling functions to BotCommand.cpp. 2021-06-22 04:25:15 +03:00
levlam
e8b32d9b05 Add td_api::deleteCommands. 2021-06-22 04:17:44 +03:00
levlam
7e543cf80b Allow to use uploadStickerFile for animated stickers. 2021-06-21 22:25:26 +03:00
levlam
9940dd74db Remove botInfo class from API. 2021-06-21 04:14:29 +03:00
levlam
1202d55e27 Add getCommands method. 2021-06-19 04:18:02 +03:00
levlam
62a543cb35 Add BotCommandScope to setCommands. 2021-06-19 04:00:23 +03:00
levlam
16f52b59ab Add createNewStickerSet.source. 2021-06-18 18:45:57 +03:00
levlam
9440925711 Move some classes inside corresponding managers. 2021-06-18 03:06:20 +03:00
levlam
843df9e1f7 Remove unneeded td_api::getGroupCallMediaChannelDescriptions. 2021-06-17 21:37:39 +03:00
levlam
84cf82583e Add td_api::checkStickerSetName. 2021-06-17 21:29:07 +03:00
levlam
706647bdbc Add the method getSuggestedStickerSetName. 2021-06-17 20:38:03 +03:00
levlam
4048e5ae95 Enable createNewStickerSet for regular users. 2021-06-17 20:14:48 +03:00
levlam
411d30e1c7 Remove Td::on_channel_unban_timeout proxy. 2021-06-10 21:56:05 +03:00
levlam
89459ca497 Replace getInviteText with getApplicationDownloadLink. 2021-06-04 19:31:18 +03:00
levlam
af33e8343a Improve method name. 2021-06-04 01:17:15 +03:00
levlam
a96bf1531a Use FullMessageId in get_login_button_url. 2021-06-03 23:37:56 +03:00
levlam
fa7ce9b94d Move get_external_link_info to LinkManager. 2021-06-03 23:19:35 +03:00
levlam
126a20c318 Reload voice chat when user opens a voice chat link. 2021-06-03 20:16:14 +03:00
levlam
63fd974e35 Add setGroupCallScreenSharingIsPaused. 2021-06-02 00:38:08 +03:00
levlam
b074bce314 Add is_my_video_paused. 2021-06-01 20:11:18 +03:00
levlam
76f134c0e7 Add td_api::getInternalLinkType. 2021-06-01 05:41:32 +03:00
levlam
9cecc116f3 Prefer US spelling of "canceled". 2021-05-31 21:51:48 +03:00
levlam
5832a59ee5 Move get_message_link_info to LinkManager. 2021-05-27 20:47:04 +03:00
levlam
3e0e9f5291 Parse background parameters in searchBackground. 2021-05-26 20:25:37 +03:00
levlam
62db52a23e Move LoginUrl-related methods to LinkManager. 2021-05-25 02:39:29 +03:00
levlam
d946ab9267 Add empty LinkManager. 2021-05-25 02:24:30 +03:00
levlam
138bf15dec Add getGroupCallMediaChannelDescriptions method. 2021-05-03 21:44:21 +03:00
levlam
8485867fe0 Add toggleGroupCallIsMyVideoEnabled. 2021-05-02 02:40:22 +03:00
levlam
8e0f14bc93 Allow to join group call with enabled/disabled video. 2021-05-01 21:13:51 +03:00
levlam
31c36aaa7a Add td_api::endGroupCallScreenSharing. 2021-04-30 20:21:07 +03:00
levlam
2225e56906 Add startGroupCallScreenSharing. 2021-04-30 19:53:39 +03:00
levlam
6e7c53eb74 Remove legacy groupCall payload types. 2021-04-30 17:49:00 +03:00
levlam
daef481ac0 Add group video calls support. 2021-01-12 17:05:25 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
9c49e6a625 Log versions on Td instance creation. 2021-05-07 20:52:54 +03:00
levlam
cba755d185 Fix handling of pre-initialization requests in Decrypt state. 2021-04-15 21:07:05 +03:00
levlam
5d5f950d2b Support themes in getPaymentForm. 2021-04-07 22:49:09 +03:00
levlam
37cee0d823 Add td_api::setVoiceChatDefaultParticipant. 2021-04-07 16:25:29 +03:00
levlam
4aa5df26bc Use participant_id instead of participant/participant_alias for group call participant identifiers. 2021-04-07 03:30:26 +03:00
levlam
10bc074a1e Support subscription to group call start notification. 2021-04-07 03:04:56 +03:00
levlam
a7c34c5c49 Add td_api::startScheduledGroupCall. 2021-04-07 02:11:14 +03:00
levlam
2241058f85 Allow to create scheduled voice chats. 2021-04-06 02:54:55 +03:00
levlam
02fe7e47e6 Allow to specify title of created voice chats. 2021-04-06 02:13:57 +03:00
levlam
9700529085 Remove payments proxy methods from MessagesManager. 2021-03-31 04:15:02 +03:00
levlam
3ac49bc8b1 Pass Td to all payments method. 2021-03-31 03:18:00 +03:00
levlam
f1b949456b Support tip sending. 2021-03-30 18:45:22 +03:00
levlam
17e8860855 Add paymentForm.id. 2021-03-30 17:18:08 +03:00
levlam
14fc0898ad Support banning and unbanning channels and supergroups. 2021-03-26 04:11:30 +03:00
levlam
f28af4ab20 Add ContactsManager::get_participant_dialog_id. 2021-03-26 03:17:30 +03:00
levlam
206cd55479 Support chat-members in getChatMember. 2021-03-24 23:40:13 +03:00
levlam
4abb995b05 Don't use online mode for bots having more than one session. 2021-04-08 15:51:29 +03:00
levlam
a0dcd2d9c2 Add optional source to have_dialog_force. 2021-04-08 00:51:32 +03:00
levlam
4f644ce389 Add and use statis UserId::get_user_ids/get_input_user_ids methods. 2021-03-29 00:50:15 +03:00
levlam
b84318fed4 Minor improvements. 2021-03-27 05:19:22 +03:00
levlam
66de95d93c Fix compilation errors and formatting. 2021-03-26 18:52:45 +03:00
Arseny Smirnov
5c7b7d4c85 TD_EXPERIMENTAL_WATCH_OS cmake option 2021-03-26 18:04:25 +03:00
levlam
62c9890bcf Support url_auth_domains. 2021-03-16 01:29:54 +03:00
levlam
54b9760935 Improve getExternalLink methods. 2021-03-16 00:52:37 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
e2ac80f2ba Add td_api::toggleGroupCallParticipantIsHandRaised. 2021-03-15 01:56:59 +03:00
levlam
4d754052e0 Fix getGroupCallStreamSegment. 2021-03-13 16:50:11 +03:00
levlam
a833d5e292 Improve method name. 2021-03-12 19:31:52 +03:00
levlam
0ec4c2084e Add td_api::getGroupCallInviteLink. 2021-03-12 19:29:06 +03:00
levlam
73bed3ed80 Add resetGroupCallInviteHash method. 2021-03-12 18:58:43 +03:00
levlam
9bfd98c08d Add joinGroupCall.invite_hash. 2021-03-12 18:36:55 +03:00
levlam
0fb6c52cd4 Support toggling group call recording. 2021-03-11 22:19:19 +03:00
levlam
67889cdcbc Add td_api::getGroupCallStreamSegment. 2021-03-10 22:50:14 +03:00
levlam
62cfe3bdd9 Add td_api::getAvailableVoiceChatAliases. 2021-03-08 20:25:56 +03:00
levlam
574884510b Use MessageSender as participant_alias. 2021-03-08 18:08:41 +03:00
levlam
c611553ece Allow to join group call as a chat. 2021-03-06 23:21:22 +03:00
levlam
3bac31cc16 Allow to edit chat group call participants. 2021-03-05 16:03:49 +03:00
levlam
a93189dade Support chats as group call participants. 2021-03-05 14:40:54 +03:00
levlam
882d837d24 Add td_api::setGroupCallTitle. 2021-03-02 19:44:57 +03:00
levlam
b88f5ba6f3 Fix banChatMember for bots. 2021-03-03 19:30:33 +03:00
levlam
dd80b0ef25 Add Td::set_is_bot_online function. 2021-03-02 04:06:02 +03:00
levlam
1f01a40521 Bring bots offline if there are no updates for 5 minutes. 2021-03-02 01:20:45 +03:00
levlam
18fc612b3b Rename administrator_user_id to creator_user_id. 2021-02-25 16:02:07 +03:00
levlam
1e7795354d Add td_api::getChatInviteLink. 2021-02-24 22:25:10 +03:00
levlam
2dd85f92d8 Rename permanent invite links to primary invite links. 2021-02-24 12:19:55 +03:00
levlam
eafdf2ebed Add td_api::getMessageImportConfirmationText. 2021-02-23 02:03:24 +03:00
levlam
b67bafb23c Add td_api::suggestedActionConvertToBroadcastGroup. 2021-02-22 18:06:18 +03:00
levlam
a14c9071f1 Use struct for SuggestedAction. 2021-02-21 01:06:45 +03:00
levlam
c67a0d9d7b Add class ReportReason. 2021-02-20 03:55:09 +03:00
levlam
3774b13ca1 Add td_api::reportChatPhoto. 2021-02-19 19:11:27 +03:00
levlam
9b62afbea2 Add td_api::toggleSupergroupIsBroadcastGroup. 2021-02-17 01:06:35 +03:00
levlam
65d4229352 Allow to specify report text for all report chat reasons. 2021-02-12 20:14:59 +03:00
levlam
d6da217b9a Allow changing message TTL in non-secret chats. 2021-02-09 18:51:08 +03:00
levlam
bf42d62f1e Unify ResultHandler subclass names and logged name. 2021-02-08 15:56:08 +03:00
levlam
c226a204fa Diallow invite link deletion for bots. 2021-02-08 15:34:05 +03:00
levlam
4cb8af0584 Support revoking permanent chat invite links. 2021-02-05 18:56:44 +03:00
levlam
313a58b952 Replace td_api::sendChatSetTtlMessage with td_api::setChatMessageTtl. 2021-02-05 14:21:16 +03:00
levlam
342b4e45ca Support deletion of all revoked invite links created by other administrator. 2021-02-05 02:17:12 +03:00
levlam
4d8fad1e81 Use httpUrl as return type of getProxyLink. 2021-02-05 01:46:55 +03:00
levlam
2193928cf6 Add getExternalLink method. 2021-02-04 14:36:11 +03:00
levlam
f2f68aa3b3 Add td_api::getChatInviteLinkCounts. 2021-02-02 19:23:45 +03:00
levlam
0cdb0388ee Improve TTL spelling. 2021-02-02 02:33:48 +03:00
levlam
642a9a9efb Update layer to 124. 2021-02-02 02:00:28 +03:00
levlam
025cb9b6a4 Don't create request promise early. 2021-02-13 21:49:24 +03:00
levlam
155d83c58f Support top-level comments in SplitSource.php. 2021-02-12 17:27:07 +03:00
levlam
65a7715248 Pass promise to MessagesManager::on_dialog_deleted. 2021-02-04 16:01:04 +03:00