Commit Graph

1227 Commits

Author SHA1 Message Date
levlam
8398a6f19d Remove more default constructors of telegram_api classes. 2021-07-31 09:21:12 +03:00
levlam
e1b756a437 Document new allowed month TTL period. 2021-07-30 19:18:24 +03:00
levlam
4ed0b15a41 Add suggested_video_note_* options. 2021-07-28 06:15:57 +03:00
levlam
c9406e71c3 Improve can_restrict_members documentation. 2021-07-27 03:15:00 +03:00
levlam
7e97497763 Explicitly document that timestamped media can be in the link preview. 2021-07-26 05:37:05 +03:00
levlam
20a98ad7c9 Support media_timestamp in getMessageLink. 2021-07-26 04:01:10 +03:00
levlam
bfa0973dec Support media timestamp in message links. 2021-07-26 02:40:36 +03:00
levlam
07630feb8c Add td_api::getSuggestedFileName. 2021-07-24 07:19:22 +03:00
levlam
ce56ecc5a0 Improve ttl_expires_in documentation. 2021-07-22 17:29:46 +03:00
levlam
e8dbd820f8 Update textEntityTypeBotCommand documentation. 2021-07-22 06:56:26 +03:00
levlam
26c13c7ec7 Improve voice chat duration fields documentation. 2021-07-16 00:51:45 +03:00
levlam
49ab03be83 Count presentation in has_video. 2021-07-13 03:17:46 +03:00
levlam
69d21ff626 Comment unused MTProto methods. 2021-07-09 21:09:36 +03:00
levlam
04435b8d53 Update layer 131. 2021-07-09 02:55:23 +03:00
levlam
1464e85a5b Move can_enable_video to groupCall. 2021-07-08 19:59:16 +03:00
levlam
5ff49b13ec Update layer 131. 2021-07-08 18:34:23 +03:00
levlam
fe4d3cb549 Check that fields are documented in the correct order. 2021-07-07 20:55:03 +03:00
levlam
ff153bef36 Update layer 131. Add screen_sharing_audio_source_id. 2021-07-06 02:33:42 +03:00
levlam
397274daf7 Remove server_DH_params_fail. 2021-07-05 19:45:31 +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
971de952d8 Improve resendAuthenticationCode documentation. 2021-07-02 20:00:12 +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
36e874304f Add pending_reset_date to passwordState. 2021-06-29 01:52:09 +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
da2d81c81b Update layer to 131. 2021-06-28 15:55:11 +03:00
levlam
de679f8f0c Improve documentation. 2021-06-24 20:09:10 +03:00
levlam
dc3d4450ba Improve docuemntation. 2021-06-24 19:16:21 +03:00
levlam
786c8c5f9a Update layer to 130. Support input field placeholder in reply markup. 2021-06-19 05:20:27 +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
1904aa77b1 Add bot_commands to *Full. 2021-06-21 04:01:13 +03:00
levlam
5f9fd502b7 Replace botInfo with commands in userFullInfo. 2021-06-21 02:36:04 +03:00
levlam
37d10c0be4 Add bot_user_id to botCommands. 2021-06-21 01:32:29 +03:00
levlam
29b491dcd4 Fix bots share_text/description description. 2021-06-21 01:26:23 +03:00
levlam
d9dc6f875d Move bot description from BotInfo to UserFull. 2021-06-21 01:12:34 +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
cec785022a Update layer 129. 2021-06-18 18:26:11 +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
a8edbe38db Update layer 129. 2021-06-17 19:00:47 +03:00
levlam
924286da8f Use manual checks instead of cmake_minimum_required to propagate policies. 2021-06-13 23:38:48 +03:00
levlam
c1db660d4a Add suggestedActionCheckPassword. 2021-06-11 02:48:10 +03:00
levlam
5188a5b5e7 Allow to set non-local filled backgrounds. 2021-06-09 19:08:47 +03:00
levlam
d80b613b55 Remove support for secret chat layers before 73. 2021-06-08 18:31:29 +03:00
levlam
c30ccd1e0d Support removing Fill backgrounds from default list. 2021-06-08 01:10:19 +03:00
levlam
89459ca497 Replace getInviteText with getApplicationDownloadLink. 2021-06-04 19:31:18 +03:00
levlam
2af0aa0074 Support negative background intensity. 2021-06-04 16:05:29 +03:00
levlam
af33e8343a Improve method name. 2021-06-04 01:17:15 +03:00
levlam
63fd974e35 Add setGroupCallScreenSharingIsPaused. 2021-06-02 00:38:08 +03:00
levlam
6eb49775de Add GroupCallParticipant,can_enable_video. 2021-06-01 23:57:04 +03:00
levlam
0202ade138 Add groupCallParticipantVideoInfo.is_paused. 2021-06-01 22:34:50 +03:00
levlam
b074bce314 Add is_my_video_paused. 2021-06-01 20:11:18 +03:00
levlam
2af179b81a Update layer 129. 2021-06-01 18:52:58 +03:00
levlam
76f134c0e7 Add td_api::getInternalLinkType. 2021-06-01 05:41:32 +03:00
levlam
1de8b85809 Add internalLinkTypeSettings. 2021-06-01 03:55:08 +03:00
levlam
9cecc116f3 Prefer US spelling of "canceled". 2021-05-31 21:51:48 +03:00
levlam
181e48685e Add internalLinkTypePassportDataRequest. 2021-05-31 21:41:40 +03:00
levlam
3860e8eea5 Add internalLinkTypePublicChat. 2021-05-31 04:15:33 +03:00
levlam
27369944a7 Add internalLinkTypeGame. 2021-05-30 03:46:06 +03:00
levlam
1eb62acc07 Add internalLinkTypeBotStart. 2021-05-30 03:25:45 +03:00
levlam
938d14ab75 Add internalLinkTypeVoiceChat. 2021-05-30 02:05:23 +03:00
levlam
2f07ad223e Add internalLinkTypeProxy. 2021-05-29 03:51:31 +03:00
levlam
ee8e0ec2ad Add internalLinkTypeTheme. 2021-05-28 19:50:54 +03:00
levlam
8d8a5d0b30 Add internalLinkTypeLanguagePack. 2021-05-28 19:26:09 +03:00
levlam
cd95e84990 Add internalLinkTypePhoneNumberConfirmation. 2021-05-28 18:17:14 +03:00
levlam
feb01a71bb Add internalLinkTypeStickerSet. 2021-05-28 17:27:30 +03:00
levlam
ffa1da2cac Add internalLinkTypeChatInviteLink. 2021-05-27 18:37:01 +03:00
levlam
30f0509f71 Add internalLinkTypeQrCodeAuthentication. 2021-05-27 01:25:11 +03:00
levlam
38d71ca7e0 Add td_api::internalLinkTypeAuthenticationCode. 2021-05-27 01:02:12 +03:00
levlam
472e0d9221 Add internalLinkTypeUnknownDeepLink. 2021-05-25 19:30:23 +03:00
levlam
79bcfb4915 Add internalLinkTypeMessageDraft. 2021-05-25 19:05:17 +03:00
levlam
acd6caae9b Add class td_api::InternalLinkType and parse some intenal links. 2021-05-25 17:06:27 +03:00
levlam
bb957644cf Add td_api::backgroundFillFreeformGradient. 2021-05-21 01:49:59 +03:00
levlam
d794866448 Add description to groupCallParticipantVideoInfo. 2021-05-11 17:58:00 +03:00
levlam
138bf15dec Add getGroupCallMediaChannelDescriptions method. 2021-05-03 21:44:21 +03:00
levlam
529213030c Add class groupCallParticipantVideoInfo. 2021-05-03 16:30:14 +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
2061210089 Add groupCall.can_start_video. 2021-04-30 18:19:05 +03:00
levlam
6e7c53eb74 Remove legacy groupCall payload types. 2021-04-30 17:49:00 +03:00
levlam
d8b905a986 Update layer to 129. 2021-04-30 17:07:01 +03:00
levlam
daef481ac0 Add group video calls support. 2021-01-12 17:05:25 +03:00
levlam
4bb76a7b6f Update layer to 128. Remove photo volume_id/local_id. 2021-04-16 17:43:51 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
Joshua M. Clulow
ed291840d3
add illumos support (#1501) 2021-04-29 16:40:08 +03:00
levlam
6b0637f402 Disallow messageInvoice copying. 2021-04-13 17:40:09 +03:00
levlam
b7d993c477 Remove groupCall.can_self_unmute in favor of groupCallParticipant fields. 2021-04-13 01:58:40 +03:00
levlam
3786033316 Add minithumbnails to userProfilePhoto and chatPhotoInfo. 2021-04-09 17:01:58 +03:00
levlam
338e4085d5 Improve scheduled voice chats documentation. 2021-04-09 02:29:27 +03:00
levlam
fbb15a9925 Remove invoice_chat_id/invoice_message_id from messagePaymentSuccessfulBot, because they are incompatible with inline mode. 2021-04-07 22:58:40 +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
ef93bde7a2 Allow to send inputMessageInvoice without start_parameter. 2021-04-07 01:43:47 +03:00
levlam
49fecf40e6 Add groupCall.scheduled_start_date. 2021-04-06 12:08:47 +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
b9faeb92d0 Add seller and provider IDs to td_api::paymentForm. 2021-04-06 01:16:57 +03:00
levlam
5d0561ff7a Improve payment receipt. 2021-04-06 01:00:31 +03:00
levlam
bb1b82731e Add messageVoiceChatScheduled. 2021-04-06 00:24:05 +03:00
levlam
3f1e91e7f4 Support invoice receipts in another chats. 2021-03-31 15:36:25 +03:00
levlam
32a5fc6855 Support sending messageInvoice via inline mode. 2021-03-31 02:38:16 +03:00
levlam
2379735d9b Support sending Invoice as result of any inline query. 2021-03-31 01:55:12 +03:00
levlam
f1b949456b Support tip sending. 2021-03-30 18:45:22 +03:00
levlam
c3ff8539db Support tip amount in Invoice. 2021-03-30 18:05:20 +03:00
levlam
17e8860855 Add paymentForm.id. 2021-03-30 17:18:08 +03:00
levlam
26dc0ad930 Update layer to 127. 2021-03-26 18:15:21 +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
adedc7ad4f Support chats as members of other chats. 2021-03-22 04:03:24 +03:00
levlam
06791bbbf3 Update layer to 126. 2021-03-21 21:55:21 +03:00
levlam
cc0d45a01c Add groupCallParticipant.is_current_user field. 2021-03-28 04:41:32 +03:00
levlam
b84318fed4 Minor improvements. 2021-03-27 05:19:22 +03:00
levlam
c6dec21cb6 Improve getExternalLinkInfo documentation. 2021-03-21 03:13:43 +03:00
levlam
582f033a09 Update limit for group call recording titlw length. 2021-03-16 17:20:53 +03:00
levlam
54b9760935 Improve getExternalLink methods. 2021-03-16 00:52:37 +03:00
levlam
7987912230 Use string as groupCallParticipant.order. 2021-03-15 18:53:51 +03:00
levlam
ffc07304a9 Improve searchMessages documentation. 2021-03-15 15:17:23 +03:00
levlam
e2ac80f2ba Add td_api::toggleGroupCallParticipantIsHandRaised. 2021-03-15 01:56:59 +03:00
levlam
92b384f3f4 Update group call title length limit. 2021-03-13 02:49:40 +03:00
levlam
9ac71272a3 Support joining group call as a stream listener. 2021-03-12 20:11:44 +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
92218450c5 Add groupCall.record_duration. 2021-03-11 00:55:08 +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
f24ca02f37 Add td_api::voiceChat class. 2021-03-08 17:00:39 +03:00
levlam
4eab57cd7b Add chat.default_join_voice_chat_as_chat_id. 2021-03-08 15:13:36 +03:00
levlam
c611553ece Allow to join group call as a chat. 2021-03-06 23:21:22 +03:00
levlam
7a19e5dbe5 Support voice chat creation in channels. 2021-03-06 02:26:13 +03:00
levlam
5e5aa95060 Add groupCallParticipant.is_hand_raised. 2021-03-05 16:44:43 +03:00
levlam
3bac31cc16 Allow to edit chat group call participants. 2021-03-05 16:03:49 +03:00
levlam
3d08e0e18f Add groupCallParticipant.bio. 2021-03-05 15:27:52 +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
1f4e7aeb61 Add groupCall.title. 2021-03-02 18:00:54 +03:00
levlam
bcf3643cf7 Update layer to 125. 2021-03-02 17:27:44 +03:00
levlam
449c37c41f Fix building with Ninja. 2021-03-14 21:57:39 +03:00
levlam
29ded98a46 Use full paths for file dependencies. 2021-03-05 23:17:48 +03:00
levlam
d390c556fe Silence tl-parser build warning. 2021-03-04 14:06:32 +03:00
levlam
a87af24fb9 Use tl-parser to generate tlo files. 2021-03-04 01:41:09 +03:00
levlam
08cdb75c0f Add tl-parser. 2021-03-04 01:40:56 +03:00
levlam
3b3801abbe Update layer 124. 2021-02-25 21:09:13 +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
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
62a4c0c58d Add updateChatMember. 2021-02-19 13:57:46 +03:00
levlam
b9b6b05bae Don't allow changing auto-delete in Saved Messages and 777000. 2021-02-18 22:14:10 +03:00
levlam
998d022b2d Add td_api::chatEventVoiceChatParticipantVolumeLevelChanged. 2021-02-18 13:47:33 +03:00
levlam
9b62afbea2 Add td_api::toggleSupergroupIsBroadcastGroup. 2021-02-17 01:06:35 +03:00
levlam
498476a95d Update documentation. 2021-02-16 18:59:13 +03:00
levlam
5955b43d88 Add supergroup.is_broadcast_group flag. 2021-02-16 18:27:17 +03:00
levlam
12ead50446 Add number of revoked invite link to chatInviteLinkCount. 2021-02-16 15:31:58 +03:00
levlam
f92339de85 Support telegram_api::messageActionSetMessagesTTL. 2021-02-16 15:15:45 +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
5ac0a9bd8a Add chatEventMessageTtlSettingChanged. 2021-02-09 18:10:20 +03:00
levlam
4423ccbde2 Add invite_link_changes filter for chat event log. 2021-02-09 17:59:57 +03:00
levlam
cc50f3b143 Support receiving message TTL setting for all chat types. 2021-02-09 17:35:48 +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
9d9e093640 Remove inviteLink.is_expired field. 2021-02-05 03:04:16 +03:00
levlam
fef8bd151c Support some new chat events. 2021-02-05 02:54:34 +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
1403815148 Support t.me/+ links. 2021-02-03 22:35:43 +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
d519040cd9 Make flag in td_api::groupCall more useful. 2021-02-15 15:28:58 +03:00
levlam
1412e83363 Immrove groupCallParticipant mute-related flags. 2021-02-12 16:48:13 +03:00
levlam
f1f739648c Fix banChatMember description. 2021-02-06 22:54:36 +03:00
levlam
dfdc08162e Fix updating of volume_level by min-updates. 2021-02-01 22:29:45 +03:00
levlam
be815519f1 Improve documentation. 2021-01-29 22:16:28 +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
0b868c0aad Add chatActionBarInviteMembers. 2021-01-26 02:22:35 +03:00
levlam
f77adeb28c Update layer 123. 2021-01-26 02:00:12 +03:00