Commit Graph

793 Commits

Author SHA1 Message Date
levlam
f35afe23c8 Minor warning fixes. 2021-10-18 12:57:13 +03:00
levlam
2ce0be4fe7 Remove getChatStatisticsUrl method. 2021-09-28 19:08:36 +03:00
levlam
5091aa68e3 Allow direct access to TopDialogManager. 2021-09-24 23:17:38 +03:00
levlam
057cee8674 Improve name of the chatActionWatchingAnimations chat action. 2021-09-19 21:40:07 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
5fd11e4b7a Add td_api::clickAnimatedEmojiMessage. 2021-09-16 00:41:40 +03:00
levlam
499e903c95 Add chatActionEnjoyingAnimations. 2021-09-15 17:11:44 +03:00
levlam
a4f66c69cb Add td_api::getMessageViewers. 2021-09-03 16:14:03 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
ded0b57905 Add td_api::getRecentlyOpenedChats. 2021-09-14 14:18:37 +03:00
levlam
f98eeda616 Add flag backgroundTypePattern.is_inverted instead of negative intensity. 2021-09-14 12:53:59 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
5c87fb853e Use int32 as sponsored message ID. 2021-09-10 11:44:50 +03:00
levlam
989b0c26f0 tg_cli: remove unused variable. 2021-09-07 11:40:08 +03:00
levlam
b713d945f7 tg_cli: use synchronous TDLib's method instead of Td. 2021-09-04 12:22:26 +03:00
levlam
86de43a048 Remove useless #include comments. 2021-09-03 23:21:44 +03:00
levlam
b1db807868 Add forwardMessages.only_preview. 2021-08-31 23:37:21 +03:00
levlam
c20fd1dd91 Add td_api::setChatTheme. 2021-08-27 19:23:22 +03:00
levlam
83e55b6b56 Add td_api::getChatThemes. 2021-08-27 15:51:50 +03:00
levlam
e3f55a71cd Add td_api::viewSponsoredMessage. 2021-08-25 22:34:18 +03:00
levlam
658d172256 Improve method name. 2021-08-25 20:29:14 +03:00
levlam
723b203c7d Add td_api::getSponsoredMessages. 2021-08-24 23:44:47 +03:00
levlam
b56119951b Support video streaming in group calls. 2021-08-23 16:59:00 +03:00
levlam
2045c131a9 Support video recording in group calls. 2021-08-23 15:29:03 +03:00
levlam
d61b1d9348 Add chatActionChoosingSticker. 2021-08-19 22:43:38 +03:00
levlam
d49fdf3261 Remove offset from getChats and respect app-specified limit. 2021-08-11 15:59:09 +03:00
levlam
c35321b98e Add loadChats method. 2021-08-10 17:52:31 +03:00
levlam
086ec3d2e5 Add td_api::getPhoneNumberInfoSync. 2021-08-30 22:26:02 +03:00
levlam
c2028aed4f Add limit on maximum videoNote size. 2021-07-29 23:39:07 +03:00
levlam
20a98ad7c9 Support media_timestamp in getMessageLink. 2021-07-26 04:01:10 +03:00
levlam
07630feb8c Add td_api::getSuggestedFileName. 2021-07-24 07:19:22 +03:00
levlam
1f9c6c7352 Minor improvements. 2021-07-16 18:58:11 +03:00
levlam
d23064812f Simplify rsa_key usage. 2021-07-06 18:31:43 +03:00
Arseny Smirnov
313f0b45df support MSG_WAIT_TIMEOUT 2021-07-06 17:03:31 +03:00
levlam
ff153bef36 Update layer 131. Add screen_sharing_audio_source_id. 2021-07-06 02:33:42 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
6b57121e25 Improve method name. 2021-06-30 19:49:52 +03:00
levlam
158dd22f21 Add td_api::declinePasswordReset. 2021-06-29 05:24:55 +03:00
levlam
12383ea1d2 Add td_api::resetPassword. 2021-06-29 05:16:48 +03:00
levlam
18caf96c54 Add checkPasswordRecoveryCode. 2021-06-28 23:47:54 +03:00
levlam
709afe3f0c Add checkAuthenticationPasswordRecoveryCode. 2021-06-28 22:33:08 +03:00
levlam
3c400f12b4 Support new_password in recoverPassword. 2021-06-28 19:47:23 +03:00
levlam
bb252ab8ed tg_cli: don't reply to outgoing /start messages. 2021-06-23 13:10:20 +03:00
levlam
7e543cf80b Allow to use uploadStickerFile for animated stickers. 2021-06-21 22:25:26 +03:00
levlam
ca7c1e5ada Dump network queries from oldest to newest. 2021-06-20 03:05:58 +03:00
levlam
16f52b59ab Add createNewStickerSet.source. 2021-06-18 18:45:57 +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
3941144700 tg_cli: fix FileLog opening. 2021-06-11 17:04:00 +03:00
levlam
c1db660d4a Add suggestedActionCheckPassword. 2021-06-11 02:48:10 +03:00
levlam
aba5b1ab7c Use autoincremented IDs for local backgrounds. 2021-06-10 03:57:58 +03:00
levlam
5188a5b5e7 Allow to set non-local filled backgrounds. 2021-06-09 19:08:47 +03:00
levlam
c91653ba58 tg_cli: start group call screen sharing with different source identifiers. 2021-06-07 19:35:12 +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
8db4febd4c Minor improvements. 2021-06-02 15:43:56 +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
2cb2ecc921 tg_cli: join group call with enabled video. 2021-05-28 18:43:50 +03:00
levlam
bb957644cf Add td_api::backgroundFillFreeformGradient. 2021-05-21 01:49:59 +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
7edffa1bc7 Move TsLog out of logging.h. 2021-05-18 17:41:33 +03:00
levlam
674a112bfa Add NullLog.h. 2021-05-18 17:13:26 +03:00
levlam
f72195baab Remove TC_* defines. 2021-05-18 16:55:35 +03:00
levlam
d34680b83f Remove set_log_fatal_error_callback. Add td_set_log_message_callback, deprecate td_set_log_fatal_error_callback. 2021-05-18 04:41:09 +03:00
levlam
41d75d8c99 tg_cli: fix response printing. 2021-05-17 23:41:20 +03:00
levlam
fdeaafa70d tg_cli: always write log to file. 2021-05-17 17:33:26 +03:00
levlam
13a21b4fe2 Make LogInterface::append non-virtual. 2021-05-17 16:18:19 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
29230948c3 Remove redundant LogInterface::rotate overrides. 2021-05-17 02:04:50 +03:00
levlam
a54fa0909b Improve updates on group call leaving. 2021-04-09 18:50:07 +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
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
206cd55479 Support chat-members in getChatMember. 2021-03-24 23:40:13 +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
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
882d837d24 Add td_api::setGroupCallTitle. 2021-03-02 19:44:57 +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
11bbb5bfad tg_cli: add updateNewMessage processing in test DC. 2021-02-24 11:24:48 +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
6bbc251cb5 tg_cli: treat strings as usernames. 2021-02-20 22:01:12 +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
ada09fecee Add can_manage_chat administrator privilege. 2021-02-19 15:58:14 +03:00
levlam
d765c58d86 tg_cli: improve variable name. 2021-02-19 13:13:39 +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
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
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
642a9a9efb Update layer to 124. 2021-02-02 02:00:28 +03:00
levlam
658db2defd Update volume_level locally immediately. 2021-02-02 00:40:40 +03:00
levlam
37ef232d47 Fix function name. 2021-01-26 23:15:33 +03:00
levlam
6878b41dc7 Update layer 123. 2021-01-26 13:07:03 +03:00
levlam
d648ce0b69 Remove chatActionImportingMessages. 2021-01-26 03:13:09 +03:00
levlam
e584eccc65 Add createNewSupergroupChat.for_import. 2021-01-22 19:23:44 +03:00
levlam
1159323ecc Add getMessageFileType method. 2021-01-22 19:14:35 +03:00
levlam
b8d8f18b91 Add chatReportReasonFake. 2021-01-22 00:55:42 +03:00
levlam
516f9cb9ce Add importMessages method. 2021-01-21 22:00:08 +03:00
levlam
b54554c79e Add chatActionImportingMessages. 2021-01-21 01:50:21 +03:00
levlam
da4d2b7636 Add separate banChatMember method. 2021-01-20 21:12:48 +03:00
levlam
7a45faff24 Add offset_date support in getChatInviteLinks. 2021-01-20 17:30:26 +03:00
levlam
dbf1253075 Replace deleteSupergroup with universal deleteChat method. 2021-01-20 14:49:18 +03:00
levlam
4fa29ab1b8 Add deleteAllCallMessages method. 2021-01-19 13:21:50 +03:00
levlam
3ff68546ab Add separate td_api::replacePermanentChatInviteLink method. 2021-01-18 23:04:56 +03:00
levlam
936dbbb254 Add separate method for revoking chat invite links. 2021-01-18 22:35:28 +03:00
levlam
3f91df5a47 Add td_api::deleteRevokedChatInviteLink. 2021-01-18 19:59:21 +03:00
levlam
93645ca29d Add td_api::deleteRevokedChatInviteLink. 2021-01-18 19:51:46 +03:00
levlam
d52c676912 Add getChatInviteLinks.is_revoked. 2021-01-18 19:32:53 +03:00
levlam
65bf9ad604 Improve field names and documentation. 2021-01-17 23:07:17 +03:00
levlam
dda1b62655 Add suggestedActionSeeTicksHint. 2021-01-15 01:30:05 +03:00
levlam
d5c0028e1e Add getChatInviteLinkUsers. 2021-01-14 23:21:23 +03:00
levlam
efc12342c2 Add getChatInviteLinks method. 2021-01-14 19:39:51 +03:00
levlam
1816a6c7a5 Support permanent invite links. 2021-01-13 18:16:33 +03:00
levlam
87a2423f5a Add editChatInviteLink method. 2021-01-12 19:21:12 +03:00
levlam
0b7ce1c647 Update layer 123. Support new generateChatInviteLink. 2021-01-12 17:05:25 +03:00
levlam
6bba5a568a Add setGroupCallParticipantVolumeLevel. 2021-01-02 22:59:48 +03:00
levlam
dc45d89848 Make searchStickers response cache time-bound. 2021-01-15 14:54:07 +03:00
levlam
82f0386e73 Move some functions from misc.h to algorithm.h. 2021-01-01 16:01:03 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
92f9a4c54c tg_cli: add gghs and sgs. 2020-12-28 23:35:05 +03:00
levlam
1f9d173afb Automatically check whether group call is still joined. 2020-12-28 00:30:27 +03:00
levlam
1d155a8492 tg_cli: add get_chat_report_reason. 2020-12-26 21:53:39 +03:00
levlam
48f5169101 tg_cli: add get_supergroup_members_filter. 2020-12-26 21:45:19 +03:00
levlam
f56ea08096 tg_cli: add get_user_privacy_setting_rules. 2020-12-26 21:32:21 +03:00
levlam
d23e6ad352 tg_cli: combine Search* methods. 2020-12-26 21:12:09 +03:00
levlam
4de797e4bd tg_cli: use rand_bool everywhere. 2020-12-26 21:01:57 +03:00
levlam
6654464360 tg_cli: use get_args if possible. 2020-12-26 20:58:30 +03:00
levlam
168becf215 tg_cli: simplify SearchQuery parsing. 2020-12-26 20:47:51 +03:00
levlam
2097d88006 tg_cli: use get_args to read integer parameters. 2020-12-26 20:26:19 +03:00
levlam
e53ffdb101 tg_cli: use get_args to read bool parameters. 2020-12-26 19:59:45 +03:00
levlam
48a47618ca tg_cli: add get_args. 2020-12-26 19:40:46 +03:00
levlam
77112f53d7 tg_cli: add as_limit. 2020-12-26 01:25:00 +03:00
levlam
f4ec6e6cfc tg_cli: add get_search_query. 2020-12-26 00:43:38 +03:00
levlam
ba9837f55e tg_cli: combine emp and empttl. 2020-12-25 01:41:56 +03:00
levlam
bbde4f32c6 Allow to specify emoji for sent stickers. 2020-12-19 14:31:42 +03:00
levlam
720a6ac45a Update .clang-format. 2020-12-18 17:21:25 +03:00
levlam
8dd4fe3166 Separately apply versioned and unversioned group call updates. 2020-12-18 16:23:49 +03:00
levlam
89b6d7faa0 tg_cli: use custom call source. 2020-12-17 22:55:29 +03:00
levlam
4a3375e617 Various group call fixes. 2020-12-16 22:49:24 +03:00
levlam
4a0c42729b Add td_api::loadGroupCallParticipants. 2020-12-11 19:47:34 +03:00
levlam
6e3e129b13 Improve group call method and field names. 2020-12-08 18:01:06 +03:00
levlam
1c5db9f809 Remove chatActionSpeakingInCall. 2020-12-06 10:52:55 +03:00
levlam
23f1927c07 Improve sending speaking in voice chat typings. 2020-12-04 17:06:37 +03:00
levlam
49f7a56f11 Save joined group call synchronization source. 2020-12-04 01:56:27 +03:00
levlam
803e6f20af Improve documentation. 2020-12-03 23:20:56 +03:00
levlam
34e05375c1 Add GroupCallId class. 2020-12-03 19:52:50 +03:00
levlam
2da4316a06 Add td_api::getGroupCall. 2020-12-03 02:00:46 +03:00
levlam
eeee625803 Rename createVoiceChat method. 2020-12-03 01:08:20 +03:00
levlam
7f9681313a Update layer 122. 2020-11-29 15:41:03 +03:00
levlam
3e95f8d9cc Add toggleGroupCallMemberIsMuted method. 2020-11-27 17:40:29 +03:00
levlam
1aa5822bf8 Add checkGroupCall method. 2020-11-27 17:07:12 +03:00
levlam
daf93cd157 tg_cli: add as_group_call_id. 2020-11-27 15:31:00 +03:00
levlam
f10db772f5 Add inviteGroupCallMember method. 2020-11-27 15:22:19 +03:00
levlam
1eca39c4ee Add toggleGroupCallMuteNewMembers method. 2020-11-27 01:58:36 +03:00
levlam
cbca6ca902 Cancel joinGroupCall net query. 2020-11-26 17:33:28 +03:00
levlam
162c06d00a Add joinGroupCall method. 2020-11-26 14:32:29 +03:00
levlam
5cfda1df72 Add leaveGroupCall method. 2020-11-26 11:37:54 +03:00
levlam
e5bf347ceb Add discardGroupCall. 2020-11-26 11:21:26 +03:00
levlam
e1271c7fa5 Add createChatGroupCall. 2020-11-26 10:56:13 +03:00
levlam
3e13b0cd31 Add can_manage_calls admin right. 2020-11-24 02:43:14 +03:00
levlam
905aa871e1 Add SpeakingInCall chat action. 2020-11-23 19:50:03 +03:00
levlam
6571a99b45 Include ConcurrentScheduler separately. 2020-11-23 03:24:36 +03:00
levlam
09b10c0ed1 Improve names of statistical classes. 2020-11-19 17:57:15 +03:00
levlam
6f4c4adcc8 Improve field names.
GitOrigin-RevId: ded67301be27af1f3b7c8f7e11b2172bb92934c7
2020-10-30 15:51:20 +03:00
levlam
86c80e652e Improve field names.
GitOrigin-RevId: 3c30190dc75bd5dc812078f33bbf9dcaaeba1a1a
2020-10-29 22:25:58 +03:00
levlam
e94e4b8dff tg_cli: add addadmin chat member status.
GitOrigin-RevId: e87588a4f1d3bd484b33aed530cd9f1a25e59ad6
2020-10-26 23:11:27 +03:00