Commit Graph

2603 Commits

Author SHA1 Message Date
levlam
f28d40605a Improve Saved Messages topic API and naming. 2024-02-07 14:01:29 +03:00
levlam
6cd6242931 Add td_api::loadSavedMessagesTopics instead of server-side topic load methods. 2024-02-07 12:30:34 +03:00
levlam
5d0b8c71a5 Remove updatePinnedSavedMessagesTopics and handle updates on the TDLib side. 2024-02-06 15:12:03 +03:00
levlam
0baa1424f9 Add updateSavedMessagesTopic and more fields about the topic. 2024-02-06 01:21:55 +03:00
levlam
32eba3c7d1 Enable setting tags by Premium users. 2024-02-01 22:40:55 +03:00
levlam
d6ba869457 Update getSavedMessagesTags documentation. 2024-02-01 20:41:14 +03:00
levlam
f11c4e8af4 Add searchSavedMessages.saved_messages_topic. 2024-02-01 13:09:01 +03:00
levlam
2a81a11e61 Keep and pass to the server initial top_thread_message_id specified by the app. 2024-01-31 01:45:20 +03:00
levlam
9d93e9f090 Support local voice note message drafts. 2024-01-30 17:23:08 +03:00
levlam
0ed3ed75fa Add local video note drafts. 2024-01-30 16:59:14 +03:00
levlam
c7952b1c1d Add td_api::premiumStoryFeatureVideoQuality. 2024-01-30 03:29:50 +03:00
levlam
1ce1761190 Add td_api::premiumFeatureSavedMessagesTags. 2024-01-30 03:11:23 +03:00
levlam
930a3ccdca Support Saved Messages tags in topics. 2024-01-29 19:11:14 +03:00
levlam
2a8156a1bc Add registerUser.disable_notification. 2024-01-29 16:43:42 +03:00
levlam
440d9de15a Update layer to 173. 2024-01-29 16:32:02 +03:00
levlam
acecb48548 Log fields of the type True. 2024-02-06 12:42:10 +03:00
levlam
d11e88c9eb Simplify True fetching. 2024-02-05 14:10:19 +03:00
levlam
aa6be7d9bf Add canSendMessageToUser.only_local. 2024-01-26 14:06:27 +03:00
levlam
c95cb5d75c Minor imrovements. 2024-01-25 20:06:07 +03:00
levlam
2f1423a284 Allow forwardSource without source message. 2024-01-25 16:23:00 +03:00
levlam
81f1d61e7f Improve Saved Messages tag documentation. 2024-01-25 14:58:32 +03:00
levlam
7628646b63 Fix Java build. 2024-01-24 21:35:50 +03:00
levlam
d7e35f4c44 Improve privacy settings. 2024-01-24 18:59:53 +03:00
levlam
94141a18dd Make canSendMessageToUser response strongly typed. 2024-01-19 22:14:03 +03:00
levlam
5624f91155 Add td_api::canSendMessageToUser. 2024-01-19 15:35:57 +03:00
levlam
ecbbef18e2 Document that setNewChatPrivacySettings can be used only by Premium users. 2024-01-19 14:37:16 +03:00
levlam
a3ac41e283 Add user.restricts_new_chats. 2024-01-19 14:35:37 +03:00
levlam
c8e4622da4 Add td_api::newChatPrivacySettings and methods for getting and setting it. 2024-01-19 14:25:24 +03:00
levlam
2504de4978 Add td_api::setReadDatePrivacySettings. 2024-01-09 17:56:47 +03:00
levlam
252ca3135c Add td_api::getReadDatePrivacySettings. 2024-01-09 17:11:22 +03:00
levlam
d6eca27e58 Improve td_api::MessageReadDate. 2024-01-09 14:47:04 +03:00
levlam
5fc554166f Add Message.can_get_read_date. 2024-01-09 13:50:11 +03:00
levlam
5fb64e7ccd Add td_api::getMessageReadDate. 2024-01-09 13:37:29 +03:00
levlam
0e032795b6 Add by_my_privacy_settings flag to td_api::UserStatus. 2024-01-09 12:34:02 +03:00
levlam
b171fbe373 Update layer to 172. 2024-01-09 12:09:10 +03:00
levlam
9fe83feeeb Add td_api::ReactionUnavailabilityReason. 2024-01-24 17:11:41 +03:00
levlam
839969e255 Allow tags with label but without count. 2024-01-23 23:11:12 +03:00
levlam
ae18e3de6b Add availableReaction.is_tag. 2024-01-23 21:28:39 +03:00
levlam
956c35d6e0 Add td_api::setSavedMessagesTagLabel. 2024-01-23 19:04:31 +03:00
levlam
291cd4203a Add td_api::updateSavedMessagesTags. 2024-01-23 16:23:35 +03:00
levlam
9df2ba6e64 Add td_api::getSavedMessagesTags. 2024-01-23 16:01:27 +03:00
levlam
e6611cdb8f Add td_api::searchSavedMessages. 2024-01-22 21:14:02 +03:00
levlam
e8f96d2520 Support adding tags to a message. 2024-01-22 20:25:19 +03:00
levlam
ed4f18bfaf Don't allow to call get_id() on non-abstract classes. 2024-01-22 19:46:12 +03:00
levlam
eb80098431 Add td_api::messageReactions and messageReactions.are_tags. 2024-01-22 19:37:05 +03:00
levlam
20c4815a12 Add td_api::setPinnedSavedMessagesTopics. 2024-01-18 19:38:26 +03:00
levlam
af43242ca7 Add td_api::toggleSavedMessagesTopicIsPinned. 2024-01-18 19:22:31 +03:00
levlam
ae7e290789 Add td_api::updatePinnedSavedMessagesTopics. 2024-01-18 18:51:34 +03:00
levlam
643b896958 Add td_api::premiumLimitTypePinnedSavedMessagesTopicsCount. 2024-01-18 18:34:39 +03:00
levlam
788d169e69 Add td_api::deleteSavedMessagesTopicMessagesByDate. 2024-01-18 17:29:09 +03:00
levlam
5002f25c0a Add td_api::getSavedMessagesTopicMessageByDate. 2024-01-18 16:45:45 +03:00
levlam
26d63f605b Rename chat permission to can_create_topics. 2024-01-17 12:22:56 +03:00
levlam
93370af38d Add td_api::deleteSavedMessagesTopicHistory. 2024-01-16 22:42:43 +03:00
levlam
40f8bffec8 Add td_api::getSavedMessagesTopicHistory. 2024-01-16 19:19:38 +03:00
levlam
d9f2fe57a6 Add td_api::getPinnedSavedMessagesTopics. 2024-01-16 17:32:11 +03:00
levlam
79a66c06cc Add td_api::getSavedMessagesTopics. 2024-01-16 16:26:58 +03:00
levlam
16fc47fb88 Add getChatSparseMessagePositions.saved_messages_topic. 2024-01-16 14:12:57 +03:00
levlam
f76c384f90 Add getChatMessageCalendar.saved_messages_topic. 2024-01-16 14:00:14 +03:00
levlam
8f019eeb73 Add getChatMessageCount.saved_messages_topic. 2024-01-16 00:30:37 +03:00
levlam
3eba7d4f2b Add getChatMessagePosition.saved_messages_topic. 2024-01-15 20:39:47 +03:00
levlam
7d71562a24 Add searchChatMessages.saved_messages_topic_id. 2024-01-15 19:43:03 +03:00
levlam
0aeb11dee8 Add message.saved_messages_topic. 2024-01-12 16:06:10 +03:00
levlam
2ff04387b8 Add more information to forwardSource. 2024-01-12 00:23:33 +03:00
levlam
91aef01e7e Add td_api::forwardSource. 2024-01-11 22:48:22 +03:00
levlam
2ff1a93d5b Add td_api::cancelRecoveryEmailAddressVerification. 2024-01-11 14:51:29 +03:00
levlam
562374088c Remove setTdlibParameters.enable_storage_optimizer/ignore_file_names parameters in favor of "use_storage_optimizer" and "ignore_file_names" options. 2024-01-11 13:54:23 +03:00
levlam
bf6345248f Return keywords in searchEmojis. 2024-01-05 15:21:35 +03:00
levlam
f4bafbdc86 Add separate td_api::getKeywordEmojis. 2024-01-05 14:36:01 +03:00
levlam
0b5b4b8dab Add synchronous td_api::getCountryFlagEmoji. 2024-01-05 13:42:46 +03:00
levlam
a9d1269567 Add more information to chatBoostFeatures. 2024-01-02 17:32:30 +03:00
levlam
052f6cb20c Allow to send self-destructing video notes and voice notes. 2024-01-02 14:51:16 +03:00
levlam
139b61e4b6 Add td_api::messageExpiredVideoNote and td_api::messageExpiredVoiceNote. 2024-01-02 14:27:11 +03:00
levlam
be8b21cdf4 Update layer to 171. 2024-01-02 03:23:51 +03:00
levlam
ee8f00c7a1 Improve InternalLinkType documentation. 2024-01-22 12:55:18 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
AYMEN Mohammed
fb27c7c0b4 Fix typo. 2023-12-29 13:51:37 +03:00
levlam
04a6ab8959 Improve documentation of chat boost features. 2023-12-26 23:11:30 +03:00
levlam
6e410b849c Improve documentation. 2023-12-26 21:52:53 +03:00
levlam
571fbd68aa Add td_api::openChatSimilarChat. 2023-12-26 21:24:04 +03:00
levlam
4a45265926 Add td_api::internalLinkTypePremiumGift. 2023-12-26 21:01:33 +03:00
levlam
65903180a4 Add td_api::chatBoostFeatures. 2023-12-26 20:31:53 +03:00
levlam
54bd830f49 Add td_api::getChatBoostLevelFeatures. 2023-12-26 20:20:41 +03:00
levlam
0edbb14ad2 Improve setChatAccentColor documentation. 2023-12-26 19:22:27 +03:00
levlam
7a2e2c4ee0 Add paymentProviderSmartGlocal.tokenize_url. 2023-12-26 18:33:02 +03:00
levlam
aa0db44a9a Improve documentation. 2023-12-26 18:03:25 +03:00
levlam
45eca4e8d2 Delete td_api::addApplicationChangelog. 2023-12-26 16:51:58 +03:00
levlam
c3c14ee65e Add td_api::getChatStoryInteractions. 2023-12-26 14:24:42 +03:00
levlam
8655fbe5d7 Add getStoryInteractions.prefer_forwards. 2023-12-26 13:47:24 +03:00
levlam
53cf01e7bf Support various types of story interactions. 2023-12-25 22:07:02 +03:00
levlam
b3d19e51e5 Rename storyViewer to storyInteraction. 2023-12-25 15:34:47 +03:00
levlam
ca2cf0e25c Add storyViewers.total_forward_count. 2023-12-25 15:10:48 +03:00
levlam
c4efc0e2e0 Add td_api::setChatEmojiStatus. 2023-12-25 14:49:22 +03:00
levlam
1494d5fcdf Add td_api::getDisallowedChatEmojiStatuses. 2023-12-24 02:30:49 +03:00
levlam
8090aac1c1 Add stickerSet.is_allowed_as_chat_emoji_status. 2023-12-24 01:23:15 +03:00
levlam
02159a2fce Fix spelling. 2023-12-23 02:16:03 +03:00
levlam
d79114691c Replace td_api::messageUserShared with td_api::messageUsersShared. 2023-12-22 19:17:58 +03:00
levlam
66c6e706ab Replase td_api::shareUserWithBot with td_api::shareUsersWithBot. 2023-12-22 18:47:23 +03:00
levlam
590b3f3c25 Replace td_api::keyboardButtonTypeRequestUser with td_api::keyboardButtonTypeRequestUsers. 2023-12-22 18:06:40 +03:00
levlam
9f9884f2f5 Update setChatBackground documentation. 2023-12-22 13:36:46 +03:00
levlam
f07d21ac6b Add td_api::getDefaultChatEmojiStatuses. 2023-12-22 12:29:12 +03:00
levlam
e2747b6c76 Add td_api::getThemedChatEmojiStatuses. 2023-12-21 22:44:59 +03:00
levlam
7f6bdcd42c Add channel.boost_level. 2023-12-21 20:08:30 +03:00
levlam
5cb6ca27cc Add Chat.emoji_status. 2023-12-21 20:01:26 +03:00
levlam
88b2781685 Add min_chat_boost_level to accentColor/profileAccentColor. 2023-12-21 18:48:15 +03:00
levlam
022c227515 Add td_api::suggestedActionGiftPremiumForChristmas. 2023-12-21 18:16:32 +03:00
levlam
24611b1fd5 Improve messagePremiumGiveawayWinners documentation. 2023-12-21 17:25:39 +03:00
levlam
092144cf43 Update background_custom_emoji_id documentation. 2023-12-19 19:34:24 +03:00
levlam
9d0bbc4d35 Improve inputStoryAreas documentation. 2023-12-19 19:25:59 +03:00
levlam
93aa765f44 Add td_api::backgroundTypeChatTheme for boosted chats. 2023-12-19 16:00:50 +03:00
levlam
b3ce27c4ea Add separate deleteDefaultBackground method. 2023-12-19 14:38:37 +03:00
levlam
0fc3b3adc6 Improve names of background-related methods. 2023-12-19 14:33:21 +03:00
levlam
325f56dfe0 Improve name of updateDefaultBackground update. 2023-12-19 14:21:46 +03:00
levlam
b4ea9f8a18 Improve premiumGiftCodeInfo documentation. 2023-12-19 13:31:02 +03:00
levlam
855d6bf568 Support getPremiumGiveawayInfo for GiveawayWinners messages. 2023-12-19 13:07:41 +03:00
levlam
0b51acefe9 Add td_api::messagePremiumGiveawayWinners. 2023-12-18 21:03:11 +03:00
levlam
299b87c524 Add td_api::chatEventEmojiStatusChanged. 2023-12-18 16:38:40 +03:00
levlam
6b85c09d14 Add td_api::chatEventBackgroundChanged. 2023-12-18 16:30:52 +03:00
levlam
c03650a920 Add td_api::chatEventProfileAccentColorChanged. 2023-12-18 16:03:15 +03:00
levlam
6b0e161fa2 Combine td_api::chatEventAccentColorChanged and td_api::chatEventBackgroundCustomEmojiChanged. 2023-12-18 16:00:01 +03:00
levlam
67422ffb47 Rename StoryPublicForward to PublicForward. 2023-12-18 14:59:50 +03:00
levlam
5725cf0388 Add td_api::storyAreaTypeMessage. 2023-12-18 14:40:11 +03:00
levlam
895150e649 Add optional currency information to messagePremiumGiftCode. 2023-12-18 13:30:21 +03:00
levlam
1393033fdf Add td_api::setChatProfileAccentColor. 2023-12-17 23:34:58 +03:00
levlam
7ceccad807 Support profile color and custom emoji in chat. 2023-12-17 22:54:55 +03:00
levlam
16d0c3c61b Use combined updateChatAccentColors. 2023-12-16 11:49:26 +03:00
levlam
e4e76a7483 Add td_api::setMessageReactions for bots. 2023-12-15 14:51:26 +03:00
levlam
cc37a0c937 Add td_api::updateMessageReactions for bots. 2023-12-14 23:44:31 +03:00
levlam
00aff8f557 Add td_api::updateMessageReaction for bots. 2023-12-14 19:55:53 +03:00
levlam
58e8b7c97e Support creation of giveaways with public list of winners and additional prize description. 2023-12-05 13:45:32 +03:00
levlam
c6ce44815e Update layer to 169. 2023-12-05 12:30:12 +03:00
levlam
5b8fff9643 Allow messagePremiumGiftCode.creator_id == null. 2023-12-22 12:51:58 +03:00
levlam
dce778442c Allow 0 as giveaway_message_id in messagePremiumGiveawayCompleted. 2023-12-11 00:44:47 +03:00
levlam
ef68428e01 Improve documentation of only_new_members. 2023-12-05 17:03:21 +03:00
levlam
85c8c19b7f Fix profileAccentColor documentation. 2023-12-04 19:15:15 +03:00
levlam
9a9e3be8cf Trim quote from the replied message. 2023-12-04 16:27:15 +03:00
levlam
99f9b78819 Support messagePremiumGiveawayCompleted in getRepliedMessage. 2023-12-04 12:34:58 +03:00
levlam
9577a457c5 Improve documentation. 2023-12-04 12:24:26 +03:00
levlam
7728c1deb3 Don't hide sender of a story being reposted. 2023-12-01 23:10:59 +03:00
levlam
762c224c10 Add deleteChatBackground.restore_previous. 2023-12-01 01:06:54 +03:00
levlam
330088d9f8 Add separate td_api::deleteChatBackground method. 2023-12-01 00:20:11 +03:00
levlam
fc8bc0a026 Improve method names. 2023-11-30 20:13:49 +03:00
levlam
392f5e24b3 Improve supergroup.member_count documentation. 2023-11-30 19:08:46 +03:00
levlam
ecadb90ac8 Improve documentation. 2023-11-30 18:43:38 +03:00
levlam
9096e646b8 Minor improvements. 2023-11-30 18:26:33 +03:00
levlam
9bf9bf767d Add td_api::getStoryPublicForwards. 2023-11-30 17:21:56 +03:00
levlam
8859f40e89 Allow to specify original story in sendStory. 2023-11-29 22:10:51 +03:00
levlam
dcad0f413e Add td_api::story.repost_info. 2023-11-29 19:22:54 +03:00
levlam
da0d999c52 Add td_api::getSimilarChatCount. 2023-11-29 15:31:33 +03:00
levlam
341fb7c04f Add td_api::textQuote. 2023-11-28 18:24:07 +03:00
levlam
c5288258d4 Add class inputTextQuote. 2023-11-28 18:16:04 +03:00
levlam
9fbdba456a Add td_api::setProfileAccentColor. 2023-11-28 16:12:21 +03:00
levlam
45ca900759 Add user.profile_accent_color_id/profile_background_custom_emoji_id. 2023-11-28 15:45:39 +03:00
levlam
d519262785 Document that supergroup.member_count is available for chats returned by getSimilarChats. 2023-11-28 14:36:33 +03:00
levlam
3ec308589d Fix misprint. 2023-11-28 14:35:39 +03:00
levlam
00f09dae62 Add td_api::premiumLimitTypeSimilarChatCount. 2023-11-28 14:22:08 +03:00
levlam
dd5bd9fff6 Add td_api::premiumFeatureBackgroundForBoth. 2023-11-28 14:11:46 +03:00
levlam
60eb989657 Add td_api::updateProfileAccentColors. 2023-11-27 18:08:45 +03:00
levlam
18377ae3e7 Add userFullInfo.set_chat_background. 2023-11-23 23:08:53 +03:00
levlam
2dd9da30be Improve updateSpeechRecognitionTrial. 2023-11-23 15:35:54 +03:00
levlam
ec109dfd4a Move speech recognition to TranscriptionManager. 2023-11-23 13:25:56 +03:00
levlam
e5f457c30f Add updateSpeechRecognitionTrial. 2023-11-21 19:27:25 +03:00
levlam
b6bb02baad Add td_api::getSimilarChats. 2023-11-20 22:03:21 +03:00
levlam
c1352603d5 Add recent story interactions in chat statistics. 2023-11-20 19:46:49 +03:00
levlam
72bf7f0cd7 Add mean reaction and story statistics. 2023-11-20 19:16:36 +03:00
levlam
e1299c8a27 Add td_api::messageSponsorTypeWebApp. 2023-11-20 14:34:56 +03:00
levlam
2d3f202c08 Add SponsoredMessage.button_text. 2023-11-17 15:06:20 +03:00
levlam
a689c8df56 Add Story.can_get_statistics. 2023-11-17 14:58:51 +03:00
levlam
cda21980b0 Add td_api::getStoryStatistics. 2023-11-17 14:26:51 +03:00
levlam
362f43303e Add message reaction statistics. 2023-11-17 13:40:39 +03:00
levlam
f466628e20 Add reaction and story statistics for channels. 2023-11-17 13:38:31 +03:00
levlam
7165045699 Update setChatAvailableReactions documentation. 2023-11-17 12:49:10 +03:00
levlam
a2b133ead5 Add td_api::toggleChatViewAsTopics. 2023-11-16 16:57:18 +03:00
levlam
f13dde54a2 Add Chat.view_as_topics. 2023-11-16 13:59:32 +03:00
levlam
1c8205d6de Add td_api::revertChatBackground. 2023-11-10 14:53:16 +03:00
levlam
aa7a0a6ee3 Allow to set chat background for both sides. 2023-11-10 14:40:14 +03:00
levlam
b28200e0ef Add messageChatSetBackground.only_for_self. 2023-11-10 13:55:59 +03:00
levlam
95304c611c Support quote position for replies. 2023-11-10 13:29:37 +03:00
levlam
9207ba4c78 Add searchStickerSets.sticker_type. 2023-11-10 12:48:30 +03:00
levlam
9c88451e1c Add td_api::messagePremiumGiveawayCompleted. 2023-11-09 20:28:27 +03:00
levlam
d20ed201b0 Update layer to 167. 2023-11-09 19:37:26 +03:00
levlam
8484108704 Update supergroup.member_count documentation. 2023-11-26 00:00:55 +03:00
levlam
a84e46048d Improve ConnectionState documentation. 2023-11-25 23:54:43 +03:00
levlam
968c0ad5ae Improve documentation. 2023-11-25 23:41:21 +03:00
levlam
e58847a5fb Allow toggleChatIsTranslatable for non-premium users. 2023-11-25 22:01:51 +03:00
levlam
499d4eaf54 Minor improvements. 2023-11-23 08:31:56 +03:00
levlam
2d15b1c7e6 Improve allow_custom_emoji documentation. 2023-11-23 08:07:20 +03:00
levlam
89b0fbc8ff Don't return error from recognizeSpeech for failed recognitions. 2023-11-21 16:16:14 +03:00
levlam
278ea0791f Improve show_large_media documentation. 2023-11-16 15:31:16 +03:00
levlam
3e189cd8d1 Improve documentation. 2023-11-16 11:51:24 +03:00
levlam
23bdb8ed64 Fix used_sender_id documentation. 2023-11-16 11:49:08 +03:00
levlam
bf6d28be71 Improve documentation. 2023-11-15 16:57:39 +03:00
levlam
8cfcce6de2 Improve spelling in documentation. 2023-11-15 16:53:38 +03:00
levlam
d24af0436f Improve premiumGiftCodeInfo.giveaway_message_id. 2023-11-14 14:45:38 +03:00
levlam
718d8dfdef Improve background_custom_emoji_id documentation. 2023-11-13 19:13:40 +03:00
levlam
8ec587f537 Improve getRepliedMessage documentation. 2023-11-09 17:00:01 +03:00
levlam
9f909a43ea Improve documentation. 2023-11-09 00:44:29 +03:00
levlam
9a614590c2 Improve has_large_media documentation. 2023-11-07 17:01:53 +03:00
levlam
31b5478048 Fix getRepliedMessage documentation. 2023-11-07 13:36:18 +03:00
levlam
728e2e18ee Add messageSendingStateFailed.need_drop_reply. 2023-11-06 15:08:28 +03:00
levlam
6c74ee92dd Improve fields name. 2023-11-06 14:46:12 +03:00