Commit Graph

1523 Commits

Author SHA1 Message Date
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
levlam
aed0fc247d Improve setChatAvailableReactions.available_reactions documentation. 2022-01-19 21:13:53 +03:00
levlam
99586edf26 Add updateReaction. 2022-01-19 14:14:21 +03:00
levlam
8339a5818e Add td_api::translateMessage. 2022-01-14 22:28:28 +03:00
levlam
5a51462de8 Fix documentation. 2022-01-14 17:02:57 +03:00
levlam
7458a0fc15 Update layer to 137. 2022-01-13 17:27:56 +03:00
levlam
b0ad4e5e62 Add td_api::setChatAvailableReactions. 2022-01-05 16:23:35 +03:00
levlam
47a445851a Add td_api::chatEventAvailableReactionsChanged. 2022-01-04 17:55:57 +03:00
levlam
0957839cc6 Improve order of chat event types in the API scheme. 2022-01-04 16:45:25 +03:00
levlam
3becacf304 Add chat.available_reactions and updateChatAvailableReactions. 2022-01-04 16:33:57 +03:00
KnorpelSenf
789b9c0a55 Fix much typos 2022-01-25 16:07:36 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
fce20df018 Add support for sponsored chats with an invite link. 2021-12-30 14:15:04 +03:00
levlam
68539fe846 Add textEntityTypeSpoiler. 2021-12-28 20:41:37 +03:00
levlam
ed766a4d2f Add flag messageSendOptions.protect_content. 2021-12-28 18:19:19 +03:00
levlam
20a460aeb3 Update layer to 136. 2021-12-28 17:19:18 +03:00
levlam
99ac6428e9 Improve documentation. 2021-12-28 17:27:11 +03:00
levlam
a81ab8abba Remove viewSponsoredMessage in favor of viewMessages. 2021-12-27 18:17:02 +03:00
levlam
23d537052e Use unique 53-bit identifiers for sponsored messages. 2021-12-27 16:49:11 +03:00
levlam
218de37c3a Fix messageForwardOriginChat documentation. 2021-12-27 15:03:14 +03:00
levlam
680bad4a72 Return default icon name if there is no chosen name in chatFilterInfo. 2021-12-24 20:42:49 +03:00
levlam
d6a9c509ab Fix spelling of deregister. 2021-12-24 13:33:34 +03:00
levlam
8aa95a98ca Fix fwrite usage in tl-parser. 2021-12-24 00:06:14 +03:00
levlam
a8b22881e0 Improve the name of suggestedActionViewChecksHint. 2021-12-23 20:00:41 +03:00
levlam
841a41b222 Remove unused "to host" endianness macroses. 2021-12-23 16:44:40 +03:00
levlam
c073f3dc49 tl-parser: remove 16-bit endianness functions. 2021-12-23 15:55:34 +03:00
levlam
638767d919 Improve documentation. 2021-12-23 14:18:11 +03:00
levlam
dd8b1169b1 Rename the method to endGroupCall. 2021-12-23 13:00:05 +03:00
levlam
461b312369 Rename chat log event to chatEventVideoChatEnded. 2021-12-23 12:42:21 +03:00
levlam
160ab905f1 Fix handling of min-channels in recent repliers. 2021-12-22 20:15:18 +03:00
levlam
4f2689d44a Rename expire_date to expiration_date. 2021-12-22 13:57:47 +03:00
levlam
44ec3186cc Improve order of chat-related updates in the scheme. 2021-12-21 16:22:07 +03:00
levlam
cbc6d25a44 Replace user_id with member_id in chatEventLog. 2021-12-21 14:53:22 +03:00
levlam
ae1d1867f2 Remove multiple sponsored messages in a chat. 2021-12-21 14:19:48 +03:00
levlam
4e29d0e232 Rename message_ttl_setting to message_ttl. 2021-12-21 14:06:15 +03:00
levlam
81cebe39eb Improve naming of selected message sender in a chat. 2021-12-21 13:49:26 +03:00
levlam
f32a1b9af4 Document that there can be at most 3 recent repliers/speakers/pending join requests. 2021-12-20 15:54:19 +03:00
levlam
059fe9911e Documentation improvements. 2021-12-17 16:28:14 +03:00
levlam
8d69520967 Improve sponsoredMessage documentation. 2021-12-17 00:28:01 +03:00
levlam
86c4bac69d Allow to simultaneously report supergroup messages from different senders. 2021-12-15 21:39:48 +03:00
levlam
3f2f45a802 Improve documentation. 2021-12-15 20:30:00 +03:00
levlam
d437ad2761 Improve documentation. 2021-12-14 02:20:49 +03:00
levlam
bddcfa8601 Improve inlineKeyboardButtonTypeUser documentation. 2021-12-13 15:56:36 +03:00
levlam
ce3d9c2168 Improve reportChat/reportChatPhoto documentation. 2021-12-13 14:56:29 +03:00
levlam
5a76413990 Minor improvements. 2021-12-10 00:07:59 +03:00
levlam
229fd5b715 Remove non-working searchMessagesFilterCall and searchMessagesFilterMissedCall. 2021-12-09 15:15:28 +03:00
levlam
b67466a554 Clarify that chats can't be banned with non-zero until_date. 2021-12-08 17:19:20 +03:00
levlam
831ca4b975 Rename allow_saving_content to has_private_content. 2021-12-06 21:43:55 +03:00
levlam
f5c65b83ee Add suggestedActionSetPassword. 2021-11-26 16:22:39 +03:00
levlam
6f835c12ee Add messageSendingStateFailed.need_another_sender. 2021-11-25 16:55:03 +03:00
levlam
c1a5d4b76b Add message.can_be_saved. 2021-11-25 13:47:54 +03:00
levlam
10159fbdf1 Add toggleChatAllowSavingContent. 2021-11-25 11:44:51 +03:00
levlam
d381323f56 Add chat.allow_saving_content flag. 2021-11-24 20:03:38 +03:00
levlam
47d0195c85 Add toggleSessionCanAcceptCalls method. 2021-11-24 17:59:17 +03:00
levlam
f41be864d0 Add session.can_accept_calls. 2021-11-24 17:33:16 +03:00
levlam
30e4350689 Support authentication tokens. 2021-11-24 17:01:02 +03:00
levlam
fd71b62045 Improve method name. 2021-11-24 14:03:35 +03:00
levlam
0b2207f180 Add td_api::processChatJoinRequests. 2021-11-24 12:02:23 +03:00
levlam
7c0a4117a4 Replace approve/decline with a single method processChatJoinRequest. 2021-11-24 11:33:18 +03:00
levlam
cb7bd82c01 Add chatEventAllowSavingContentToggled. 2021-11-23 16:07:26 +03:00
levlam
5068f585bb Add authenticationCodeTypeMissedCall. 2021-11-23 15:21:22 +03:00
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
5e34f07641 Output original name in telegram_api::to_string. 2021-11-21 21:29:43 +03:00
levlam
a58b4dc302 Fix misprint in documentation. 2021-11-19 17:56:51 +03:00
Trumeet
33c689aacc Add missing 'struct' keywords for tdc headers
Some structs do not have typedef aliases, but their references forget to put 'struct' keywords when referencing them, so they cause compiling issues.

This commit adds the missing 'struct' keywords so TDLib C headers could compile successfully.
2021-11-10 19:21:04 +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
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
4533f79338 Don't generate MASK for parsed object/vector fields. 2021-11-01 20:48:06 +03:00
levlam
0522ba178a Remove TlStoreTrue. 2021-11-01 20:02:24 +03:00
levlam
6e8a88be35 Add TlStorerTotString.store_vector_begin. 2021-11-01 19:45:55 +03:00
levlam
f743c782bf Move TlStorerToString to TlStorerToString.h. 2021-11-01 19:21:24 +03:00
levlam
5e43075d3b Add TlStorerToString::store_object_field method. 2021-11-01 18:59:35 +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