Commit Graph

2483 Commits

Author SHA1 Message Date
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
levlam
82fd344783 Improve country_codes documentation. 2023-11-06 13:59:22 +03:00
levlam
c21c9ec87e Improve field name. 2023-11-06 13:51:49 +03:00
levlam
4985931f5c Document that giveaways can't be copied. 2023-11-06 13:41:24 +03:00
levlam
8bd5f61ee7 Improve documentation spelling. 2023-11-06 13:31:30 +03:00
levlam
8228c2e7b6 Allow to change reply quote in resendMessages. 2023-11-06 13:20:16 +03:00
levlam
e7f70d0e09 Add messageSendingStateFailed.need_another_reply_quote. 2023-11-06 12:42:06 +03:00
levlam
5455a0f681 Fix messageOriginChat documentation. 2023-11-05 13:56:37 +03:00
levlam
c8be7e5a41 Calculate webPage.show_large_media. 2023-11-04 04:12:55 +03:00
levlam
44492c69f5 Fix return type of searchQuote. 2023-11-03 23:31:04 +03:00
levlam
3b0e6420e0 Minor improvements. 2023-11-03 17:00:22 +03:00
levlam
682df38d96 Add td_api::searchQuote. 2023-11-03 13:51:38 +03:00
levlam
2a9c7555be Add accentColor.built_in_accent_color_id. 2023-11-02 23:37:42 +03:00
levlam
25ef762e25 Remove class accentColorId. 2023-11-02 22:03:13 +03:00
levlam
4489ef54aa Add td_api::updateAccentColors. 2023-11-02 21:30:38 +03:00
levlam
7d5b4e307d Add getWebPagePreview.link_preview_options. 2023-11-02 01:09:30 +03:00
levlam
0621514356 Add mentions of BlockQuote entities to documentation. 2023-11-01 23:27:35 +03:00
levlam
2669b48235 Document that message text can be empty. 2023-11-01 23:25:01 +03:00
levlam
46d188e35c Return full link_preview_options in messageText. 2023-11-01 21:55:12 +03:00
levlam
6f4bb7d099 Improve updateChatLastMessage documentation. 2023-11-01 21:43:46 +03:00
levlam
36ce823dcc Add separate flag message.can_be_replied_in_another_chat. 2023-11-01 18:32:55 +03:00
levlam
04b431608d Fix get_message_reply_to_message_object and improve documentation. 2023-10-31 02:38:16 +03:00
levlam
d6f284e8cd Add td_api::getUserChatBoosts. 2023-10-31 01:52:26 +03:00
levlam
9e289e2046 Add chatBoost.id. 2023-10-31 01:14:18 +03:00
levlam
b2a85a5d1b Add td_api::updateChatBoost. 2023-10-31 00:18:38 +03:00
levlam
3c64604acc Update layer 166 scheme. 2023-10-30 23:26:53 +03:00
levlam
4cfe112d88 Improve chatBoostSourceGiveaway documentation. 2023-10-30 21:01:52 +03:00
levlam
041930528f Improve documentation. 2023-10-30 18:58:53 +03:00
levlam
9a66b6ec5c Disallow quotes and replies in other chats in secret chats. 2023-10-29 20:08:59 +03:00
levlam
456d2342bf Add td_api::premiumFeatureAccentColor. 2023-10-29 03:20:29 +03:00
levlam
7f5b50db9b Disallow to reply unknown messages in another chat. 2023-10-29 02:05:08 +03:00
levlam
b2b665e8d6 Remove unallowed reply quote entities. 2023-10-29 01:25:21 +03:00
levlam
7f5da4b5c5 Don't allow to reply in another chat non-forwardable messages. 2023-10-29 01:05:55 +03:00
levlam
0737f3b741 Support link preview in reply media content. 2023-10-29 00:57:50 +03:00
levlam
6e217d1aac Add inputMessageReplyToMessage.chat_id. 2023-10-29 00:50:33 +03:00
levlam
ec231f0c99 Add inputMessageReplyToMessage.quote. 2023-10-27 13:06:38 +03:00
levlam
11c20c0417 Add messagePremiumGiveaway.sticker. 2023-10-26 23:22:53 +03:00
levlam
e50a3ce18c Add messageReplyToMessage.content. 2023-10-26 22:53:25 +03:00
levlam
72c29377b7 Add messageReplyToMessage.origin. 2023-10-26 16:43:28 +03:00
levlam
10c9e400d3 Rename MessageForwardOrigin to MessageOrigin. 2023-10-26 16:26:52 +03:00
levlam
a953ef7225 Add messageReplyToMessage.send_date. 2023-10-26 16:14:43 +03:00
levlam
f0d166cbdc Add messageReplyToMessage.quote. 2023-10-26 15:52:42 +03:00
levlam
d63caeb8d0 Improve gift_code_boost_count documentation. 2023-10-25 18:00:53 +03:00
levlam
5216ea1d01 Use InputMessageReplyTo in draftMessage. 2023-10-25 02:07:37 +03:00
levlam
faf964a10d Move only_preview to messageSendOptions. 2023-10-23 18:40:55 +03:00
levlam
d9d3d492ff Add messagePremiumGiftCode.is_unclaimed. 2023-10-23 17:37:54 +03:00
levlam
2bbb0ed0ec Add linkPreviewOptions.show_above_text. 2023-10-22 00:50:19 +03:00
levlam
cb51944cb7 Add webPage.show_above_text. 2023-10-21 21:33:46 +03:00
levlam
216b4833dd Return ChatBoostSlots from boostChat. 2023-10-21 01:41:05 +03:00
levlam
4f4537ba33 Add td_api::getAvailableChatBoostSlots. 2023-10-21 01:24:25 +03:00
levlam
de3aebd011 Allow to pass list of slots to boostChat. 2023-10-20 23:28:09 +03:00
levlam
00ac941e64 Add chatBoostStatus.gift_code_boost_count. 2023-10-20 23:18:16 +03:00
levlam
cfb802eb9d Return all applied slots in getChatBoostStatus. 2023-10-20 23:11:45 +03:00
levlam
ac64cf9b45 Add getChatBoosts.only_gift_codes. 2023-10-20 15:28:59 +03:00
levlam
8d25f6f1d9 Improve td_api::chatBoost. 2023-10-20 15:00:50 +03:00
levlam
24c84398ee Add stickerSetInfo.needs_repainting. 2023-10-19 23:06:55 +03:00
levlam
5def3f2c88 Add pageBlockChatLink.accent_color_id. 2023-10-19 16:16:44 +03:00
levlam
81bdd4294b Remove td_api::canBoostChat. 2023-10-19 15:46:09 +03:00
levlam
edc3e4c18a Add chatInviteLinkInfo.accent_color_id_. 2023-10-19 15:40:55 +03:00
levlam
8a7322cef2 Add td_api::getDefaultBackgroundCustomEmojiStickers. 2023-10-19 15:23:04 +03:00
levlam
4194d9478b Add webPage.skip_confirmation. 2023-10-19 13:03:27 +03:00
levlam
f78bc2ae32 Add td_api::setChatAccentColor. 2023-10-18 19:43:14 +03:00
levlam
6ec7ab73e5 Add "giveaway_duration_max" option. 2023-10-18 18:28:55 +03:00
levlam
28bdceaaef Add td_api::setAccentColor. 2023-10-18 17:56:45 +03:00
levlam
7df8a8f3d0 Support user/chat.background_custom_emoji_id. 2023-10-18 15:59:25 +03:00
levlam
dd6fd86637 Add chat.accentColorId. 2023-10-17 15:09:57 +03:00
levlam
22e4b0d641 Add class AccentColorId. 2023-10-17 13:52:04 +03:00
levlam
02b87ef1f3 Add chatEventReplyBackgroundCustomEmojiChanged. 2023-10-17 13:11:12 +03:00
levlam
38baaf4953 Add td_api::chatEventAccentColorChanged. 2023-10-17 12:58:01 +03:00
levlam
b0df339750 Ignore force_*_media if url isn't specified exlicitly. 2023-10-16 23:06:48 +03:00
levlam
cdedb9ee1f Return web_page_url in messageText. 2023-10-16 22:33:53 +03:00
levlam
d16fc8294c Add td_api::linkPreviewOptions. 2023-10-16 20:12:33 +03:00
levlam
104727cb75 Add webPage.force_*_media flags. 2023-10-16 17:36:45 +03:00
levlam
8185dbfecc Add messageText.is_web_page_preview_manually_chosen. 2023-10-16 17:02:06 +03:00
levlam
d261743f91 Add WebPage.has_large_media. 2023-10-16 16:02:18 +03:00
levlam
84d628f05d Add td_api::messagePremiumGiveawayCreated. 2023-10-16 11:31:11 +03:00
levlam
cae7ba79ed Add sticker to messagePremiumGiftCode. 2023-10-13 16:06:55 +03:00
levlam
a6f0260cf2 Add "giveaway_country_count_max" option. 2023-10-13 14:06:05 +03:00
levlam
e24f68a4ff Add "giveaway_additional_chat_count_max" option. 2023-10-13 13:39:14 +03:00
levlam
129a04b24d Add pushMessageContentPremiumGiveaway. 2023-10-13 13:28:01 +03:00
levlam
ce5f63c5aa Add pushMessageContentPremiumGiftCode. 2023-10-13 13:11:13 +03:00
levlam
580e856f44 Support giveaway forwarding. 2023-10-13 12:47:34 +03:00
levlam
4ef53487dc Add creation_date to information about giveaway. 2023-10-13 11:57:43 +03:00
levlam
98b14b7326 Add premiumGiveawayParticipantStatusDisallowedCountry. 2023-10-13 11:48:10 +03:00
levlam
d85182e5d0 Improve premiumGiveawayParameters field name. 2023-10-13 11:38:22 +03:00
levlam
f31635e9a8 Support country code restrictions for giveaways. 2023-10-12 18:58:40 +03:00
levlam
5d80e3db72 Add td_api::launchPrepaidPremiumGiveaway. 2023-10-12 18:19:08 +03:00
levlam
3dea942078 Add td_api::premiumGiveawayParameters. 2023-10-12 17:05:03 +03:00
levlam
c2d5ca2d3f Allow to get the list of prepaid Premium giveaways. 2023-10-10 14:11:59 +03:00
levlam
9a339166a2 Add td_api::getPremiumGiveawayInfo. 2023-10-06 18:28:02 +03:00
levlam
811a7c60e1 Add separate td_api::InputMessageReplyTo. 2023-10-06 11:58:05 +03:00
levlam
3e3b4e8aa6 Remove legacy supports_settings fields. 2023-10-04 17:24:52 +03:00
levlam
a98a9fb971 Add td_api::inputInvoiceTelegram. 2023-10-03 18:27:56 +03:00
levlam
e608fdca7b Add td_api::textEntityTypeBlockQuote. 2023-10-02 23:23:45 +03:00
levlam
84676f04a6 Add more colors to themeParameters. 2023-10-02 22:31:34 +03:00
levlam
d20ddeb65c Add td_api::messagePremiumGiveaway. 2023-09-30 00:32:39 +03:00
levlam
1ebbd360db Add td_api::messagePremiumGiftCode. 2023-09-29 17:55:03 +03:00
levlam
b4609e910a Add td_api::internalLinkTypePremiumGiftCode. 2023-09-29 16:44:59 +03:00
levlam
acb9da43a7 Add td_api::storePaymentPurposePremiumGiveaway. 2023-09-29 15:52:23 +03:00
levlam
a926c9dc6a Improve documentation. 2023-09-28 22:58:15 +03:00
levlam
c98c778b08 Add td_api::applyPremiumGiftCode. 2023-09-28 22:35:57 +03:00
levlam
4bd27a1516 Add td_api::checkPremiumGiftCode. 2023-09-28 22:21:25 +03:00
levlam
ca1ae47242 Add td_api::getPremiumGiftCodePaymentOptions. 2023-09-28 21:26:33 +03:00
levlam
fa04b6f280 Add storePaymentPurposePremiumGiftCodes. 2023-09-28 17:54:03 +03:00
levlam
bd36f48054 Update layer to 166. 2023-09-28 16:13:36 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
483b9d73c4 Remove unneeded (void) for empty parameter list. 2023-10-17 23:58:44 +03:00
levlam
13d02a8644 Add separate class messageImportInfo. 2023-10-09 12:20:32 +03:00
levlam
b5bf594662 Improve messageBotWriteAccessAllowed class. 2023-09-28 15:15:00 +03:00
levlam
e3d89cf90f Add messageReaction.used_sender_id. 2023-09-28 14:32:08 +03:00
levlam
0fd3c55547 Add addedReaction.is_outgoing. 2023-09-28 13:25:33 +03:00
levlam
4a02f50969 Add chatBoostStatus.boost_url. 2023-09-25 18:40:55 +03:00
levlam
9a40ea0f10 Update layer to 165. 2023-09-25 18:16:26 +03:00
986f1ab469 Fix typo in docs 2023-10-07 11:49:40 +03:00
levlam
72b8a29d89 Fix documentation misprint. 2023-09-30 01:43:43 +03:00
levlam
97ec3eacf4 Fix get_percentage_value. 2023-09-28 19:54:36 +03:00
levlam
5b072215a7 Improve media_timestamp documentation. 2023-09-28 00:53:10 +03:00
levlam
32df5ab459 Fix documentation misprints. 2023-09-28 00:44:35 +03:00
levlam
235d884593 Improve can_manage_chat documentation. 2023-09-25 20:27:55 +03:00
levlam
e3bdd30d91 Improve documentation. 2023-09-20 21:31:02 +03:00
levlam
82c702c16d Minor improvements. 2023-09-19 21:59:14 +03:00