Commit Graph

1255 Commits

Author SHA1 Message Date
levlam
6143bb1b94 Replace color_replacements with fitzpatrick_type as needed by the latest rlottie version. 2021-11-23 15:01:12 +03:00
levlam
acc43bb0b5 Allow typings by chats and rename updateUserChatAction to updateChatAction. 2021-11-23 14:29:49 +03:00
levlam
2eb5f1195c Add chatActionBarJoinRequest. 2021-11-23 13:06:38 +03:00
levlam
8f2a09f2cb Add userFullInfo.has_private_forwards. 2021-11-20 22:48:44 +03:00
levlam
993a9e24c4 Remove user_id from reportSupergroupSpam. 2021-11-19 17:12:38 +03:00
levlam
5232774d89 Replace deleteChatMessagesFromUser with deleteChatMessagesBySender. 2021-11-19 15:48:05 +03:00
levlam
6c9b5ebf55 Add td_api::setInactiveSessionsTtl. 2021-11-16 16:04:19 +03:00
levlam
b940d2e208 Add inactive_sessions_ttl_days. 2021-11-16 15:39:55 +03:00
levlam
526e7dc631 Add toggleSessionCanAcceptSecretChats. 2021-11-16 15:22:00 +03:00
levlam
b672a7de22 Add session.can_accept_secret_chats. 2021-11-16 12:34:17 +03:00
levlam
10c03c450f Improve MessageSender field names. 2021-11-15 17:25:24 +03:00
levlam
423e82ae2b Add td_api::setChatDefaultMessageSender. 2021-11-15 17:08:37 +03:00
levlam
108fca1e6e Add getChatAvailableMessageSenders. 2021-11-12 17:11:01 +03:00
levlam
fe8e521a41 Add chat.default_sender_id. 2021-11-12 16:15:19 +03:00
levlam
ae987f2211 Add inlineKeyboardButtonTypeUser. 2021-11-10 17:14:00 +03:00
levlam
6ace4fdf36 Update layer to 135. 2021-11-09 19:07:55 +03:00
levlam
340e0f0b85 Fix has/have spelling. 2021-12-02 14:15:37 +03:00
levlam
a58b4dc302 Fix misprint in documentation. 2021-11-19 17:56:51 +03:00
levlam
365965d1fb Improve documentation. 2021-11-08 13:28:44 +03:00
levlam
8bc413742d Simplify field name. 2021-11-04 13:13:52 +03:00
levlam
e57e938e56 Improve documentation. 2021-11-04 13:01:20 +03:00
levlam
47f3363ca8 Improve field names. 2021-11-04 09:52:27 +03:00
levlam
9d467d1ea5 Add chatEventMemberJoinedByRequest. 2021-11-02 18:05:50 +03:00
levlam
d732789cac Disallow member_limit for links requiring administrator approval. 2021-11-02 17:21:36 +03:00
levlam
5a596fcc48 Reuse chatJoinRequest class. 2021-11-02 17:09:54 +03:00
levlam
32a2e51235 Improve documentation. 2021-11-02 15:25:55 +03:00
levlam
88d7b284b4 Add utc_time_offset option. 2021-11-01 22:32:49 +03:00
levlam
a4592bd522 Add messageChatJoinByRequest. 2021-11-01 17:22:42 +03:00
levlam
fd0de189f8 Add pushMessageContentChatJoinByRequest. 2021-11-01 17:17:08 +03:00
levlam
a3b71ca82c Support getChatSparseMessagePositions in secret chats when message database enabled. 2021-11-01 16:30:03 +03:00
levlam
5a82af3f7f Add MessagesDbDialogCalendarQuery. 2021-11-01 13:50:45 +03:00
levlam
13c76b349d Add td_api::getChatMessageCalendar. 2021-10-30 03:34:49 +03:00
levlam
39b5db357e Add updateNewChatJoinRequest. 2021-10-28 22:49:56 +03:00
levlam
81bfbecb18 Add internalLinkTypeUnsupportedProxy. 2021-10-28 21:46:34 +03:00
levlam
1f75f7b494 Improve documentation. 2021-10-27 13:46:01 +03:00
levlam
c63fa2e743 Add chatInviteLink.title. 2021-10-27 13:21:50 +03:00
levlam
97243b53e4 Allow to create and edit chat invite links with title. 2021-10-27 13:04:34 +03:00
levlam
8d458f3038 Add chatJoinRequestsInfo with user identifiers. 2021-10-26 20:51:06 +03:00
levlam
6893c49be7 Add td_api::getAnimatedEmoji. 2021-10-26 17:59:15 +03:00
levlam
9addfaf6fe Add class td_api::animatedEmoji. 2021-10-26 16:15:01 +03:00
levlam
d019d89d39 Add td_api::deleteChatMessagesByDate. 2021-10-25 20:39:22 +03:00
levlam
cf77428fab Add td_api::getChatSparseMessagePositions. 2021-10-15 17:40:30 +03:00
levlam
c69293e1cc Rename voice chats to video chats. 2021-10-14 15:44:21 +03:00
levlam
0a9f6b1c91 Add approve/declineCjatJoinRequest. 2021-10-13 23:10:47 +03:00
levlam
1a7f4b4d3e Add td_api::getChatJoinRequests. 2021-10-13 22:33:31 +03:00
levlam
aee782562c Add approver_user_id to chatEventMemberJoinedByInviteLink. 2021-10-12 19:04:18 +03:00
levlam
e49ae700b6 Add chat.pending_join_request_count. 2021-10-12 18:11:17 +03:00
levlam
6b511f277b Add messageChatJoinByLink.is_approved. 2021-10-09 15:04:17 +03:00
levlam
64d572bcbe Allow creation and edit of invite links, requiring approval. 2021-10-09 14:20:48 +03:00
levlam
5d9a224386 Add chatInviteLinkMember.approver_user_id. 2021-10-09 13:51:37 +03:00
levlam
63d86176f2 Add chatInviteLinkInfo.description/requires_approval. 2021-10-09 13:19:38 +03:00
levlam
884232d935 Add chatInviteLink.requires_approval/pending_join_request_count. 2021-10-09 12:52:25 +03:00
levlam
23775700ac Update layer to 134. 2021-10-08 13:45:10 +03:00
levlam
0259ee8262 Improve documentation. 2021-10-06 01:55:35 +03:00
levlam
038abf5466 Add sound to messageAnimatedEmoji. 2021-10-05 23:20:49 +03:00
levlam
9fb1f1438e Add color replacements to messageAnimatedEmoji. 2021-10-05 18:42:05 +03:00
levlam
ffe03ecb10 Add messageAnimatedEmoji. 2021-10-05 16:12:04 +03:00
levlam
7cd7e5afd3 Improve slow_mode_delay documentation. 2021-10-31 23:05:31 +03:00
levlam
d8e3fd2ee6 Improve limit documentation. 2021-10-30 21:50:25 +03:00
levlam
1394a2bedf Fix documentation misprints found by t.me/Mammad900. 2021-10-22 00:13:51 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
c3684e1b4a Improve inputIdentityDocument/identityDocument documenation. 2021-10-13 13:07:25 +03:00
levlam
564521453f Improve sponsoredMessage. 2021-10-08 15:00:13 +03:00
levlam
39968780ba Replace 'should' with more affirmative verbs in the documentation. 2021-09-29 19:15:08 +03:00
levlam
2ce0be4fe7 Remove getChatStatisticsUrl method. 2021-09-28 19:08:36 +03:00
levlam
cdb06da112 Add "; pass null" annotations for expected to be null request parameters. 2021-09-28 17:31:00 +03:00
levlam
f317b1561a Document that forward_limit is ignored for added bots. 2021-09-26 08:00:06 +03:00
levlam
2ec2e4d78f Use "set"/"toogle" instead of "change". 2021-09-24 10:42:39 +03:00
levlam
d032ca2ab2 Support adding basic group members through setChatMemberStatus. 2021-09-23 18:39:13 +03:00
levlam
0126cec268 Improve documentation. 2021-09-20 16:26:44 +03:00
levlam
057cee8674 Improve name of the chatActionWatchingAnimations chat action. 2021-09-19 21:40:07 +03:00
levlam
95d4ec8973 Simplify updateAnimatedEmojiMessageClicked. 2021-09-17 23:36:25 +03:00
levlam
5de53e09eb Add updateAnimatedEmojiMessageClicked. 2021-09-17 15:51:42 +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
153fb213c0 Add accent color for outgoing messages in theme settings. 2021-09-07 22:04:44 +03:00
levlam
623633bb35 Add flag message.can_get_viewers. 2021-09-03 16:45:28 +03:00
levlam
a4f66c69cb Add td_api::getMessageViewers. 2021-09-03 16:14:03 +03:00
levlam
944e8a3c64 Improve documentation. 2021-09-03 14:11:41 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
a0c234a468 Improve average_character_count documentation. 2021-09-17 10:45:16 +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
5379c66acb Improve documentation. 2021-09-13 16:46:01 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
5dfd9ac9af Disallow changing chat themes in group chats. 2021-09-11 23:24:46 +03:00
levlam
5c87fb853e Use int32 as sponsored message ID. 2021-09-10 11:44:50 +03:00
levlam
3abe1edbc5 Improve editMessageMedia documentation. 2021-09-09 15:37:08 +03:00
levlam
cf452ce7c8 Support MESSAGE_NOTHEME and CHAT_MESSAGE_NOTHEME push notifications. 2021-09-08 14:39:39 +03:00
levlam
1c56e62a6a Add internalLinkTypeVoiceChat.is_live_stream flag. 2021-09-08 13:53:24 +03:00
levlam
218c693910 Improve file size documentation. 2021-09-07 14:37:17 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
b1db807868 Add forwardMessages.only_preview. 2021-08-31 23:37:21 +03:00
levlam
f6fc10ab22 Add updateChatTheme. 2021-08-27 20:36:40 +03:00
levlam
c20fd1dd91 Add td_api::setChatTheme. 2021-08-27 19:23:22 +03:00
levlam
532a0f4502 Add td_api::pushMessageContentChatChangeTheme. 2021-08-27 16:38:05 +03:00
levlam
83e55b6b56 Add td_api::getChatThemes. 2021-08-27 15:51:50 +03:00
levlam
021474e8be Add chatEventThemeChanged. 2021-08-27 11:53: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
1e663dea46 Add group_call.is_video_recorded. 2021-08-24 17:49:08 +03:00
levlam
5cfabdd589 Add chat.theme_name. 2021-08-23 18:47:32 +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
31a4a97ec1 Add messageChatSetTheme. 2021-08-18 16:03:10 +03:00
levlam
b4dc516b44 Add unread_count to MessageThreadInfo. 2021-08-13 18:24:00 +03:00
levlam
84be6f4485 Update layer to 132. 2021-08-12 21:15:08 +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
c5a2105b61 Improve getPhoneNumberInfo. 2021-08-30 17:11:45 +03:00
levlam
97fccf7f27 Fix identityDocument.reverse_side description. 2021-08-27 00:36:03 +03:00
levlam
1a2faf5ae6 Add feedback_link to WebPageInstantView. 2021-08-21 10:22:41 +03:00
levlam
6393923d3a Make internalLinkTypeUnknownDeepLink self-contained. 2021-08-20 20:56:07 +03:00
levlam
df11403739 Make internalLinkTypeMessage self-contained. 2021-08-20 20:27:39 +03:00
levlam
618742acc2 Make internalLinkTypeChatInvite self-contained. 2021-08-20 18:44:02 +03:00
levlam
ca9dd55141 Improve documentation. 2021-08-18 21:08:51 +03:00
levlam
2eaa026bb7 Increase number of stored recently found chats. 2021-08-17 18:11:32 +03:00
levlam
7cb54fddb9 Improve some internal link documentation. 2021-08-14 22:25:53 +03:00
levlam
e62655efdf Add message.has_timestamped_media. 2021-08-13 14:49:24 +03:00
levlam
304280df69 Add message.can_get_media_timestamp_links. 2021-08-04 07:57:27 +03:00
levlam
ab71d6a200 Add textEntityTypeMediaTimestamp. 2021-07-26 07:53:36 +03:00
levlam
6766eb81c3 Unify limit documentation. 2021-08-09 16:18:59 +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
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
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
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