Commit Graph

1624 Commits

Author SHA1 Message Date
levlam
2064034364 Rename uploadFile/cancelUploadFile for clarity. 2022-07-18 14:07:50 +03:00
levlam
fb0689545d Add textEntityTypeCustomEmoji. 2022-07-18 01:03:58 +03:00
levlam
4442293acf Support trending emoji sticker sets. 2022-07-17 22:39:22 +03:00
levlam
fcfe9c3996 Add userFullInfo.as_restricted_voice_and_video_note_messages. 2022-07-17 16:59:12 +03:00
levlam
15e0786632 Add userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages. 2022-07-16 21:20:18 +03:00
levlam
577d48cba5 Add premiumFeatureCustomEmoji. 2022-07-16 14:33:54 +03:00
levlam
d506c4732a Add getPremiumGiftOptionSticker. 2022-07-15 16:15:59 +03:00
levlam
2c7493978b Remove unneeded td_api::getAllAnimatedEmojis. 2022-07-15 15:29:19 +03:00
levlam
a114133854 Add purpose to canPurchasePremium. 2022-07-15 14:09:37 +03:00
levlam
3bfb3cdbb1 Add explicit flag sticker.is_premium. 2022-07-15 13:37:46 +03:00
levlam
5bdc4e207b Add stickerTypeEmoji. 2022-07-14 16:42:27 +03:00
levlam
c34f5d063b Use StickerType instead of is_masks everywhere. 2022-07-14 16:17:19 +03:00
levlam
a896edcd14 Move mask_position out of stickerTypeMask. 2022-07-14 14:38:25 +03:00
levlam
7d5dc9fd16 Split sticker format and sticker type in API. 2022-07-14 13:58:33 +03:00
levlam
6817f3fc44 Allow to specify password in deleteAccount. 2022-07-01 21:25:34 +03:00
levlam
54c052adce Add td_api::StorePaymentPurpose. 2022-07-01 19:27:59 +03:00
levlam
035f24b8e9 Add userFullInfo.premium_gift_options. 2022-07-01 15:57:38 +03:00
levlam
4f7113395b Add td_api::messageGiftedPremium. 2022-07-01 15:28:22 +03:00
levlam
e38615b71e Update layer to 144. 2022-07-01 14:33:59 +03:00
levlam
6898d07793 Make td_api::saveApplicationLogEvent persistent. 2022-07-18 19:21:47 +03:00
levlam
abc9ed2cd9 Minor fixes. 2022-07-14 18:38:48 +03:00
levlam
17a548292b Allow to get synchronously options "version" and "commit_hash". 2022-07-11 13:33:56 +03:00
levlam
2472e13f7f Add internalLinkTypeBotStart.autostart. 2022-07-01 16:21:29 +03:00
levlam
26fdb92dd8 Minor improvements. 2022-06-28 15:32:05 +03:00
levlam
e0605b2013 Add td_api::assignAppStoreTransaction. 2022-06-24 18:14:00 +03:00
levlam
2144d8fcd0 Add td_api::assignGooglePlayTransaction. 2022-06-24 17:27:03 +03:00
levlam
9e13745487 Add td_api::canPurchasePremium. 2022-06-24 17:07:10 +03:00
levlam
e2acc0ddab Support 7 new filter icons. 2022-06-24 14:27:49 +03:00
levlam
16c01b5690 Support Web App placeholder for attach menu bots. 2022-06-20 19:31:04 +03:00
levlam
71573fd320 Add themeParameters.secondary_background_color. 2022-06-20 16:15:09 +03:00
levlam
f1247493c5 Add class trendingStickerSets. 2022-06-17 19:16:17 +03:00
levlam
8dc2fbbf90 Document photo restrictions in inputMessagePhoto. 2022-06-16 18:56:19 +03:00
levlam
80df1e2968 Add notificationTypeNewMessage.show_preview. 2022-06-16 18:54:50 +03:00
levlam
1cbfec9de9 Add pushMessageContentRecurringPayment. 2022-06-16 16:42:36 +03:00
levlam
e2b0c8bdc2 Make links clickable in product description. 2022-06-16 16:11:24 +03:00
levlam
67605936ed Improve spelling. 2022-06-15 21:24:26 +03:00
levlam
f12da0fed5 Move payment form URL to paymentProviderOther. 2022-06-13 17:02:47 +03:00
levlam
132ccfb289 Add paymentProviderSmartGlocal. 2022-06-13 16:50:25 +03:00
levlam
2570044eba Return, whether available reaction needs premium. 2022-06-08 17:34:13 +03:00
levlam
b0b98f8f83 Return bio as formatted text. 2022-06-07 18:28:19 +03:00
levlam
1484af8c97 Improve documentation. 2022-06-07 17:27:33 +03:00
levlam
08e09160d6 Return animations instead of videos in premiumState. 2022-06-06 18:50:50 +03:00
levlam
cd095fa142 Improve documentation. 2022-06-03 18:46:13 +03:00
levlam
444d083f48 Add td_api::getPremiumStickers. 2022-06-03 18:16:12 +03:00
levlam
8b9bed6a0b Add messageSticker.is_premium. 2022-06-03 16:33:49 +03:00
levlam
1e417ea212 Minor fixes. 2022-06-02 16:19:16 +03:00
levlam
329f3a11cb Fix misprints. 2022-06-02 14:02:17 +03:00
levlam
8c59d4bd6d Improve td_api::internalLinkTypeAttachmentMenuBot. 2022-06-01 18:06:49 +03:00
levlam
9aac7a4d0c Add td_api::premiumFeatureAppIcons. 2022-06-01 17:19:05 +03:00
levlam
dfe067e52e Add supported chat types to internalLinkTypeAttachmentMenuBot. 2022-06-01 17:12:53 +03:00
levlam
7092674c05 Add td_api::getPremiumState. 2022-06-01 15:14:09 +03:00
levlam
969322f32d Use capital first letters in "Web App". 2022-05-31 18:00:09 +03:00
levlam
f189351397 Add attachMenuBot.supports_settings. 2022-05-31 17:57:57 +03:00
levlam
6d0e57a8c5 Add is_recurring flags to messagePaymentSuccessful. 2022-05-30 16:35:25 +03:00
levlam
b1b532b818 Add invoice.recurring_payment_terms_of_service_url. 2022-05-30 16:09:50 +03:00
levlam
3b4b276737 Add chatPhoto.small_animation. 2022-05-30 04:01:55 +03:00
levlam
42ab42c83a Add bio_length_max option. 2022-05-30 03:23:21 +03:00
levlam
549b86371d Add premiumLimitTypeBioLength. 2022-05-30 02:20:12 +03:00
levlam
b56b778660 Add rateSpeechRecognition. 2022-05-26 20:40:43 +03:00
levlam
151654eeea Add td_api::recognizeSpeech 2022-05-25 21:18:40 +03:00
levlam
44832189e3 Add voiceNote.recognized_text 2022-05-25 19:24:40 +03:00
levlam
f443cec9bc Add clickPremiumSubscriptionButton. 2022-05-25 15:34:36 +03:00
levlam
242776e817 Add td_api::viewPremiumFeature. 2022-05-24 20:45:03 +03:00
levlam
987c9487df Improve documentation. 2022-05-24 20:17:51 +03:00
levlam
e2ce1a64c7 Add payment_link to premiumFeatures. 2022-05-24 16:30:01 +03:00
levlam
49b13c737f Add td_api::getPremiumLimit. 2022-05-24 02:55:03 +03:00
levlam
2d90ccc1bc Allow to specify source in getPremiumFeatures. 2022-05-24 02:19:30 +03:00
levlam
2c44f8c273 Add internalLinkTypePremiumFeatures. 2022-05-23 20:37:15 +03:00
levlam
d986c9bc27 Add option "chat_filter_chosen_chat_count_max". 2022-05-23 20:04:36 +03:00
levlam
ef28bae155 Document the ability to increase limits with Telegram Premium. 2022-05-23 18:52:01 +03:00
levlam
e336819ac8 Add and use "chat_filter_count_max" option. 2022-05-23 18:26:54 +03:00
levlam
d87cd52b68 Return information about increased limits for Premium users. 2022-05-23 17:47:06 +03:00
levlam
2166f80ccb Add td_api::getPremiumFeatures. 2022-05-23 15:56:31 +03:00
levlam
e9a8d43a0a Add td_api::getAllAnimatedEmojis. 2022-05-23 14:05:35 +03:00
levlam
2f186a9eeb Allow to change position of main chat list for premium users. 2022-05-19 21:19:06 +03:00
levlam
9f8de1d146 Add main_chat_list_position to updateChatFilters. 2022-05-19 16:57:11 +03:00
levlam
486a32cf40 Improve is_recommended documentation. 2022-05-13 14:13:32 +03:00
levlam
e28828fb97 Add user.added_to_attachment_menu flag. 2022-05-11 19:30:35 +03:00
levlam
4ef4933536 Add optional invoice name to messagePaymentSuccessful. 2022-05-11 18:52:45 +03:00
levlam
0909f88bc3 Use int53 for file size in TDLib API. 2022-05-11 17:17:20 +03:00
levlam
880a582959 Add layer 143 to secret chats. 2022-05-11 07:46:06 +03:00
levlam
81a8f832d3 Support 64-bit file size in server-side API. 2022-05-10 17:13:16 +03:00
levlam
0da61037d3 Support recommended sponsored messages. 2022-05-07 12:12:16 +03:00
levlam
412404a721 Support TCP reflectors. 2022-05-07 11:42:48 +03:00
levlam
1970f65f56 Add td_api::createInvoiceLink. 2022-05-06 16:37:11 +03:00
levlam
0fbafead84 Add product title, description and photo to payment form information. 2022-05-06 13:59:16 +03:00
levlam
7166836c1a Add td_api::InputInvoice. 2022-05-03 18:50:29 +03:00
levlam
464ef38806 Add internalLinkTypeInvoice. 2022-05-03 17:19:22 +03:00
levlam
7cd74e2660 Add user.is_premium flag. 2022-05-02 16:23:48 +03:00
levlam
90287d65ed Add methods for toggling join_to_send_messages and join_by_request. 2022-04-29 18:25:29 +03:00
levlam
1d1a9584a1 Add supergroup.join_to_send_messages/join_by_request. 2022-04-29 17:54:28 +03:00
levlam
e528558300 Add chat flags to attachmentMenuBot. 2022-04-26 18:59:08 +03:00
levlam
447cfbfb1d Support premium stickers. 2022-04-26 16:01:29 +03:00
levlam
f8077965ad Support premium reactions. 2022-04-26 14:40:06 +03:00
levlam
61409736ad Support photo and animation in botInfo. 2022-04-19 22:56:58 +03:00
levlam
cfc20397a0 Update layer to 143. 2022-04-19 17:43:24 +03:00
levlam
fb1efdbba8 Return back notification.is_silent. 2022-05-03 16:09:40 +03:00
levlam
3886cc9c13 Minor SessionType improvements. 2022-05-02 13:54:22 +03:00
alyral
76d687e62d
Add session type field (#1950) 2022-05-02 13:46:16 +03:00
levlam
0511b962b9 Actually upload file in sendCallLog. 2022-04-22 18:17:36 +03:00
levlam
af97e963a9 Add td_api::sendCallLog. 2022-04-22 15:16:09 +03:00
levlam
42911eae75 Update layer 140. 2022-04-20 21:48:36 +03:00
levlam
d9faa0c852 Document error 404 for searchUserByPhoneNumber. 2022-04-20 18:49:51 +03:00
levlam
d2535835e5 Fix typo. 2022-04-17 15:05:50 +03:00
levlam
da4282a6d9 Add optional administrator_rights to internalLinkTypeBotStartInGroup. 2022-04-16 05:30:23 +03:00
levlam
147697fdf5 Add updateSavedNotificationSounds. 2022-04-15 21:54:47 +03:00
levlam
3215bb0242 Replace is_silent with sound_id in notifications. 2022-04-15 18:36:24 +03:00
levlam
ff50eec3ee Add notificationSound.date. 2022-04-15 15:30:51 +03:00
levlam
ff6f165551 Fix "attachment menu" spelling. 2022-04-14 22:56:27 +03:00
levlam
42c6280321 Add addSavedNotificationSound. 2022-04-14 22:39:25 +03:00
levlam
178d6414dd Add td_api::removeSavedNotificationSound. 2022-04-14 14:31:18 +03:00
levlam
f849131873 Add getSavedNotificationSound. 2022-04-14 13:23:43 +03:00
levlam
1f18008cc6 Add td_api::getSavedNotificationSounds. 2022-04-13 22:14:40 +03:00
levlam
4612910a14 Rename notification tones to notification sounds in API, 2022-04-12 23:27:20 +03:00
levlam
3378131467 Add fileTypeNotificationSound. 2022-04-12 22:50:20 +03:00
levlam
1db6fb389c Rename ringtones to notification tones in API, 2022-04-12 17:48:24 +03:00
levlam
7a2b3abe18 Support new NotificationSound. 2022-04-11 20:01:44 +03:00
levlam
05c0833525 Add PhotoFormat.h. 2022-04-09 23:21:07 +03:00
levlam
04fdb16166 Update setChatMessageTtl description. 2022-04-08 16:19:00 +03:00
levlam
6c0438fc69 Minor fixes. 2022-04-07 20:38:22 +03:00
levlam
00c64aba6e Remove openWebApp.from_bot_menu flag. 2022-04-07 18:29:59 +03:00
levlam
e25ca7ef33 Add td_api::setMenuButton. 2022-04-07 18:15:58 +03:00
levlam
4155752cdf Add td_api::getMenuButton. 2022-04-07 17:20:26 +03:00
levlam
62612b9668 Add BotMenuButton. 2022-04-06 20:24:54 +03:00
levlam
6d17d58307 Fix formatting. 2022-04-04 16:48:53 +03:00
levlam
ca1f844f44 Remove unneeded commas. 2022-04-03 22:59:28 +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
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
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
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
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
2ff0b74af6 Add td_api::getAttachMenuBot. 2022-03-29 15:00:00 +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
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
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
levlam
214e9cf3f2 Add inlineKeyboardButtonTypeWebViewUrl. 2022-03-25 00:32:38 +03:00
levlam
9d481df04d Add td_api::answerWebViewQuery. 2022-03-24 11:42:47 +03:00
levlam
afa00d8b00 Add default administrator rights to botInfo. 2022-03-22 14:52:27 +03:00
levlam
ef8d959e98 Add td_api::chatAdministratorRights. 2022-03-22 13:17:48 +03:00
levlam
fa4e17fe95 Move bot-only fields in userFullInfo to class botInfo. 2022-03-18 15:04:47 +03:00
levlam
479667dd1a Update layer to 140. 2022-03-18 14:46:01 +03:00
alyral
a78245ee69
Add more Settings links (#1884) 2022-03-14 20:13:59 +03:00
Andrea Cavalli
48a93aadb9
Support function generic result type (#1809)
Fixes #1708
2022-03-14 16:29:17 +03:00
levlam
c8ff8d94f5 Improve documentation. 2022-03-12 10:53:36 +03:00
levlam
a0a135dbda Avoid informal 'info' in documentation. 2022-03-11 13:08:36 +03:00
levlam
242801a2f3 Improve boolean fields documentation. 2022-03-10 21:58:16 +03:00
levlam
84af0e176f Add groupCall.has_hidden_listeners. 2022-03-01 02:33:14 +03:00
levlam
37ccac3867 Add methods for managing an RTMP URL for a video chat. 2022-02-25 17:58:03 +03:00
levlam
83d26f3335 Add parameter only_preview to sendMessageAlbum. 2022-02-22 22:42:46 +03:00
levlam
54b143e91d Add groupCall.is_rtmp_stream. 2022-02-22 21:16:10 +03:00
levlam
8772984a69 Add td_api::getGroupCallStreams. 2022-02-22 17:42:58 +03:00
levlam
719bdb1e08 Allow to create RTMP video chats. 2022-02-22 16:37:11 +03:00
levlam
4e1f2cbf8b Add td_api::searchOutgoingDocumentMessages. 2022-02-22 15:58:16 +03:00
levlam
867c95bdb2 Add td_api::internalLinkTypeUserPhoneNumber. 2022-02-18 18:56:58 +03:00
levlam
a92d1b2ae4 Add td_api::searchUserByPhoneNumber. 2022-02-18 18:13:10 +03:00
levlam
ad22bf1174 Add two new chat report reasons. 2022-02-18 16:12:39 +03:00
levlam
2bdd0d0c9a Update layer to 139. 2022-02-18 15:40:34 +03:00
levlam
6353082364 Rephrase ambigous 'if any' in documentation. 2022-03-07 22:11:56 +03:00
levlam
89c6b72c8b Add FileCounters to download manager updates. 2022-03-06 03:20:18 +03:00
levlam
9526d2aa21 Add class td_api::downloadedFileCounts. 2022-03-05 04:11:18 +03:00
levlam
a79ae236bc Add new updates about file downloads. 2022-03-05 03:14:31 +03:00
levlam
49a23ee28e Improve foundFileDownloads. 2022-03-03 16:30:16 +03:00
levlam
b20a98036f File Downloads API draft. 2022-02-18 01:37:04 +03:00
levlam
3d8e5e00e4 Allow arbitrary reaction order in setChatAvailableReactions. 2022-02-10 20:35:42 +03:00
levlam
b4fda2d45a Use FlatHashMap in mtproto and td_json_client. 2022-02-09 16:05:53 +03:00
levlam
877b5fce00 Allow to set again the same big reaction. 2022-02-03 13:47:18 +03:00
levlam
1e1ab5d1b0 Fix misprints by @Mammad900. 2022-02-01 13:31:42 +03:00
levlam
3150b3d491 Add readAllChatReactions. 2022-01-30 12:37:24 +03:00
levlam
3739c5b92f Replace translateMessage with translateText. 2022-01-29 23:43:57 +03:00
levlam
e1bd34cda8 Update scheme. 2022-01-29 01:53:50 +03:00
levlam
fd8d15e2d2 Add td_api::searchMessagesFilterUnreadReaction. 2022-01-28 19:12:33 +03:00
levlam
e5084491f6 Add Message.unread_reactions. 2022-01-28 17:10:17 +03:00
levlam
274d0babb8 Add Message.can_get_added_reactions. 2022-01-27 15:58:20 +03:00
levlam
6ebb83a194 Improve class names and documentation. 2022-01-27 01:52:21 +03:00
levlam
79f1890613 Use td_api::StickerType instead of td_api::StickerFormat. 2022-01-26 17:53:38 +03:00
levlam
ba5c326ba8 Support sending big reactions. 2022-01-26 16:41:41 +03:00
levlam
1901eafe8a Add td_api::getMessageAvailableReactions. 2022-01-26 15:25:03 +03:00
levlam
9eb3a9a403 Remove chosen reaction when it is again. 2022-01-26 11:02:20 +03:00
levlam
a972252a46 Support creation of WEBM sticker packs. 2022-01-25 16:56:10 +03:00
levlam
e2d1824edc Add stickerFormatWebpMask. 2022-01-25 15:27:06 +03:00
levlam
d6bb83dc0e Support WEBM stickers. 2022-01-25 14:58:04 +03:00
levlam
0d2b1c2072 Update layer to 138. 2022-01-25 12:36:30 +03:00
levlam
ce19ad822b Add td_api::setMessageReaction. 2022-01-21 20:39:55 +03:00
levlam
ebb78d3c1b Add td_api::getMessageChosenReactions. 2022-01-21 16:46:16 +03:00
levlam
05a069d221 Use MessageSender for recent reaction choosers. 2022-01-21 13:15:27 +03:00
levlam
739d2b292d Add MessageReactions. 2022-01-20 22:54:34 +03:00