Commit Graph

10856 Commits

Author SHA1 Message Date
levlam
486ecb8d70 Improve processing of already applied channel updates. 2024-05-02 21:35:25 +03:00
levlam
4b9c94c559 tg_cli: support FreeformGradientPattern. 2024-05-02 18:54:38 +03:00
levlam
f54fdd3926 Ignore rotation angle for non-gradient patterns. 2024-05-02 18:42:08 +03:00
levlam
51db71c250 Add operator<< for BackgroundFill. 2024-05-02 18:30:21 +03:00
levlam
d01cac3344 Improve documentation. 2024-05-02 17:23:41 +03:00
levlam
0b5da7fcd2 Reload chats with inaccessible users for bots. 2024-05-02 17:21:29 +03:00
levlam
a89be2370c Support live_period in editInlineMessageLiveLocation. 2024-05-02 16:32:44 +03:00
levlam
140c97f8ac Support live_period in edtiMessageLiveLocation. 2024-05-02 16:24:35 +03:00
levlam
0a06d75c1a Improve live location documentation. 2024-05-02 14:03:59 +03:00
levlam
67e0e579f5 Fix misprint. 2024-05-02 12:47:17 +03:00
levlam
5ae40fd832 Check that personal chat is a channel chat. 2024-05-01 18:59:07 +03:00
levlam
43012bbfaf Add User.flags2. 2024-05-01 18:50:58 +03:00
levlam
5a7970fe79 Improve emoji category type name and documentation. 2024-05-01 18:24:18 +03:00
levlam
3df2fbc072 Fix correct_option_id check. 2024-05-01 18:05:11 +03:00
levlam
54db2c1540 Improve error messages. 2024-05-01 17:49:24 +03:00
levlam
2d556014c9 Improve deleteAccount method documentation. 2024-05-01 17:43:54 +03:00
levlam
50635ae394 Fix stopPoll. 2024-05-01 12:52:06 +03:00
levlam
379fdf85b7 Various improvements. 2024-04-30 20:48:24 +03:00
levlam
c42bf62038 Add time to the next open and close for business. 2024-04-30 20:12:39 +03:00
levlam
7682cf6e61 Add businessInfo.local_opening_hours. 2024-04-30 16:51:34 +03:00
levlam
78038f1fc9 Return server shortcut by temporary identifier. 2024-04-30 00:03:17 +03:00
levlam
061e11690d Improve log messages. 2024-04-29 22:08:58 +03:00
levlam
420ee182fa Add td_api::addQuickReplyShortcutMessageAlbum. 2024-04-29 21:48:12 +03:00
levlam
f43428d4d8 Add shorthands for getChatMember with self for bots. 2024-04-29 16:46:51 +03:00
levlam
373a17e39e Add updateChatMember.via_join_request. 2024-04-29 15:51:42 +03:00
levlam
ee57967e6b Add td_api::emojiCategoryTypeCombined. 2024-04-28 00:19:11 +03:00
levlam
cae81ef90a Treat custom emoji as premium by default. 2024-04-26 18:38:09 +03:00
levlam
6144401386 Pass source to fill_gap as string. 2024-04-26 17:09:43 +03:00
levlam
8515e24c17 Improve source in on_message_notification_changed. 2024-04-26 16:54:33 +03:00
levlam
b3ef7d3539 Add td_api::hideContactCloseBirthdays. 2024-04-26 15:16:55 +03:00
levlam
02d8cef6c5 Process server-provided birthday today dismissed suggestions. 2024-04-26 15:00:21 +03:00
levlam
79c05c4878 Improve suggested action name. 2024-04-26 14:30:23 +03:00
levlam
1aa1c40eab Add td_api::updateChatRevenueAmount. 2024-04-26 01:15:24 +03:00
levlam
0b6cd420d5 Update getChatPostedToChatPageStories documentation. 2024-04-26 00:16:22 +03:00
levlam
019609c91a Fix .NET binding. 2024-04-25 23:49:18 +03:00
levlam
72368062ef Add stories.pinned_story_ids. 2024-04-25 23:17:06 +03:00
levlam
4cbf16a14e Add "pinned_story_count_max" option. 2024-04-25 23:07:11 +03:00
levlam
7aca38cab5 Add td_api::setChatPinnedStories. 2024-04-25 22:36:19 +03:00
levlam
6d57718258 Add td_api::suggestedActionProlongPremium. 2024-04-25 21:44:05 +03:00
levlam
1df777bb75 Support "premium_manage_subscription_url" internal option. 2024-04-25 20:50:07 +03:00
levlam
6be5906111 Support indefinite sharing of live locations. 2024-04-25 20:38:27 +03:00
levlam
882ee4f3b0 Rename pinned stories to posted to chat page stories. 2024-04-25 13:57:47 +03:00
levlam
d11715781e Improve preliminaryUploadFile documentation. 2024-04-25 12:15:44 +03:00
levlam
394c556f7b Improve td_api::emojiCategory. 2024-04-25 02:54:25 +03:00
levlam
4b078cb36c Add td_api::setReactionNotificationSettings. 2024-04-25 02:13:45 +03:00
levlam
7d0ccce6b4 Save reaction notification settings between restarts. 2024-04-24 17:50:40 +03:00
levlam
0dda4a53f3 Add td_api::updateReactionNotificationSettings. 2024-04-24 17:33:06 +03:00
levlam
8246f955c9 Add td_api::reactionNotificationSettings. 2024-04-24 16:30:07 +03:00
levlam
fe0246093d Add webPage.stickers. 2024-04-24 02:44:42 +03:00
levlam
14f31d81c5 Add td_api::toggleHasSponsoredMessagesEnabled. 2024-04-23 22:48:47 +03:00
levlam
0d2a6ccf14 Add userFullInfo.has_sponsored_messages_enabled. 2024-04-23 22:32:18 +03:00
levlam
9fa1656557 Remove unallowed custom emoji when copying poll. 2024-04-23 22:10:48 +03:00
levlam
e812370dc5 Add class td_api::chatRevenueAmount. 2024-04-23 12:07:48 +03:00
levlam
7be2966e27 Support custom emoji in poll question and options. 2024-04-23 03:10:58 +03:00
levlam
db3f673deb Add td_api::getRecommendedChats. 2024-04-22 20:11:48 +03:00
levlam
495e578a81 Add td_api::reportPhoneNumberCodeMissing. 2024-04-22 18:50:16 +03:00
levlam
440176cd3c Add td_api::reportAuthenticationCodeMissing. 2024-04-22 18:39:16 +03:00
levlam
4706fb3081 Add td_api::authenticationCodeTypeSmsWord and td_api::authenticationCodeTypeSmsPhrase. 2024-04-22 18:18:13 +03:00
levlam
5ffc05a3cf Add phoneNumberAuthenticationSettings.has_unknown_phone_number. 2024-04-22 17:46:51 +03:00
levlam
636fee9aaf Add accent color support for sponsored messages. 2024-04-22 17:36:02 +03:00
levlam
654da1d30e Support new sponsoredMessage scheme. 2024-04-22 17:13:10 +03:00
levlam
b359b32080 Add searchMessages.only_in_channels. 2024-04-22 16:38:30 +03:00
levlam
6194fb4aa1 Support max_reaction_count setting. 2024-04-22 03:19:40 +03:00
levlam
4134f608af Update layer to 179. 2024-04-21 21:57:10 +03:00
levlam
0e1600ac7d Don't store copy of created public broadcasts in MessagesManager. 2024-04-30 14:07:06 +03:00
levlam
d35f26e2ac Check identifier of received chat member. 2024-04-29 16:28:18 +03:00
KnorpelSenf
77b34797d8 Improve error message for empty start_parameter. 2024-04-28 21:56:41 +03:00
levlam
306aec8d6a Check app-provided contact.user_id. 2024-04-28 21:46:18 +03:00
levlam
c0c5aefabf Use TRY_RESULT_PROMISE in LanguagePackManager. 2024-04-27 22:49:59 +03:00
levlam
f6cb50ed93 Fix article spelling. 2024-04-26 02:35:00 +03:00
AYMEN Mohammed
4d90c2a227 Improve documentation. 2024-04-25 19:58:28 +03:00
levlam
b149a7ed0b Fix automatic reply quotes. 2024-04-25 19:48:18 +03:00
levlam
337b193026 Minor improvements. 2024-04-25 16:37:20 +03:00
levlam
73ccba7f0f Make remove_unallowed_quote_entities private to MessageQuote. 2024-04-25 16:30:33 +03:00
levlam
02a99f3c50 Add and use MessageQuote(td_api::inputTextQuote). 2024-04-25 16:18:07 +03:00
levlam
1f6fdd554a Add class MessageQuote and use it in MessageInputReplyTo and RepliedMessageInfo. 2024-04-25 15:52:19 +03:00
levlam
275cf20362 Minor improvements. 2024-04-24 01:00:43 +03:00
levlam
e08cf00efb Remove unused get_formatted_text parameters. 2024-04-23 20:04:38 +03:00
levlam
8e2713ca93 Use get_formatted_text. 2024-04-23 19:43:12 +03:00
levlam
e9beb42444 Add get_formatted_text(string, vector<MessageEntity>). 2024-04-23 19:23:02 +03:00
levlam
2424d681c9 Check that all shortcut messages are loaded before sending a message there. 2024-04-22 16:14:33 +03:00
levlam
c56c89f10d Add quick reply shortcut identifier checks. 2024-04-22 14:36:38 +03:00
levlam
38d31da77a Update version to 1.8.28. 2024-04-21 03:29:55 +03:00
levlam
173724c539 Explicitly cast notify period to double. 2024-04-21 02:58:20 +03:00
levlam
47368ec988 Explicitly use MissingInvitees. 2024-04-21 02:50:11 +03:00
levlam
2ddab77b3e Fix some misprints. 2024-04-21 02:43:33 +03:00
levlam
d0e8dd7b81 Add some checks. 2024-04-21 02:37:54 +03:00
levlam
01e30e5263 Various fixes. 2024-04-21 02:24:11 +03:00
levlam
f3385d6cb7 Improve edit of quick reply messages. 2024-04-21 02:07:16 +03:00
levlam
1221cccbdf Support quick reply media editing. 2024-04-20 18:57:32 +03:00
levlam
93e7755187 Quick reply message improvements. 2024-04-19 16:56:52 +03:00
levlam
4dbb092bc1 Add td_api::editQuickReplyMessage. 2024-04-19 16:42:58 +03:00
levlam
0f25201248 Use TRY_RESULT_PROMISE in edit_message_*. 2024-04-19 15:29:47 +03:00
levlam
b04e7fc89e More check_dialog_access usages. 2024-04-19 14:12:02 +03:00
levlam
3477fb715e Fix method documentation. 2024-04-19 13:46:40 +03:00
levlam
0084ac4166 Fix return type. 2024-04-19 00:48:38 +03:00
levlam
6def37f88b Add td_api::readdQuickReplyShortcutMessages. 2024-04-18 23:45:53 +03:00
levlam
4354d4c5f4 Add td_api::addQuickReplyShortcutInlineQueryResultMessage. 2024-04-18 22:13:39 +03:00
levlam
0af52ba4fd Change shortcut identifier when moving local messages between shortcuts. 2024-04-18 16:54:57 +03:00
levlam
2f9dcae107 Support addQuickReply result processing when the original shortcut has already been renamed. 2024-04-18 16:38:56 +03:00