Commit Graph

1295 Commits

Author SHA1 Message Date
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
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
1ebf835ac5 Fix process_check_code_result. 2021-10-20 10:46:01 +03:00
levlam
f35afe23c8 Minor warning fixes. 2021-10-18 12:57:13 +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
9d74962296 Enable CMP0065 policy in all projects. 2021-10-07 17:35:41 +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
a4e1839089 Generate only needed telegram_api full constructors. 2021-08-01 07:23:50 +03:00
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