Commit Graph

1431 Commits

Author SHA1 Message Date
levlam
8859f40e89 Allow to specify original story in sendStory. 2023-11-29 22:10:51 +03:00
levlam
da0d999c52 Add td_api::getSimilarChatCount. 2023-11-29 15:31:33 +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
86a78f725f Log updateProfileAccentColors and updateAccentColors on one line. 2023-11-27 18:12:06 +03:00
levlam
ec109dfd4a Move speech recognition to TranscriptionManager. 2023-11-23 13:25:56 +03:00
levlam
922a0428ed Add TranscriptionManager::get_current_state. 2023-11-21 19:31:27 +03:00
levlam
e5f457c30f Add updateSpeechRecognitionTrial. 2023-11-21 19:27:25 +03:00
levlam
a83f90448f Add empty TranscriptionManager. 2023-11-21 15:14:26 +03:00
levlam
b6bb02baad Add td_api::getSimilarChats. 2023-11-20 22:03:21 +03:00
levlam
cda21980b0 Add td_api::getStoryStatistics. 2023-11-17 14:26:51 +03:00
levlam
a2b133ead5 Add td_api::toggleChatViewAsTopics. 2023-11-16 16:57:18 +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
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
f03ffe1d31 Fix singular usages of "statistics". 2023-11-25 23:33:09 +03:00
levlam
8228c2e7b6 Allow to change reply quote in resendMessages. 2023-11-06 13:20:16 +03:00
levlam
682df38d96 Add td_api::searchQuote. 2023-11-03 13:51:38 +03:00
levlam
7d5b4e307d Add getWebPagePreview.link_preview_options. 2023-11-02 01:09:30 +03:00
levlam
d6f284e8cd Add td_api::getUserChatBoosts. 2023-10-31 01:52:26 +03:00
levlam
5c1b940402 Minor improvements. 2023-10-30 19:04:14 +03:00
levlam
24b09ce83d Return back check_utf8 in parseTextEntities. 2023-10-30 16:39:24 +03:00
levlam
841a6b5e45 Use clean_input_string in searchStringsByPrefix and parseTextEntities. 2023-10-29 23:54:09 +03:00
levlam
4027e73309 Support only_preview in sendInlineQueryResultMessage. 2023-10-23 18:58:53 +03:00
levlam
faf964a10d Move only_preview to messageSendOptions. 2023-10-23 18:40:55 +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
ac64cf9b45 Add getChatBoosts.only_gift_codes. 2023-10-20 15:28:59 +03:00
levlam
8068507675 Move boost-related methods to BoostManager. 2023-10-19 16:38:40 +03:00
levlam
cbfdf3c9a9 Add empty BoostManager. 2023-10-19 16:25:51 +03:00
levlam
81bdd4294b Remove td_api::canBoostChat. 2023-10-19 15:46:09 +03:00
levlam
8a7322cef2 Add td_api::getDefaultBackgroundCustomEmojiStickers. 2023-10-19 15:23:04 +03:00
levlam
f78bc2ae32 Add td_api::setChatAccentColor. 2023-10-18 19:43:14 +03:00
levlam
28bdceaaef Add td_api::setAccentColor. 2023-10-18 17:56:45 +03:00
levlam
5d80e3db72 Add td_api::launchPrepaidPremiumGiveaway. 2023-10-12 18:19:08 +03:00
levlam
9a339166a2 Add td_api::getPremiumGiveawayInfo. 2023-10-06 18:28:02 +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
f0382d8789 Add source to get_chat_member_object. 2023-10-24 15:17:18 +03:00
levlam
74396f65a1 Add class StickerListType. 2023-10-19 15:12:26 +03:00
levlam
df1e95a57d Mark that td_api::getDefault*Stickers are allowed only for users. 2023-10-19 14:16:33 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
6c0722ed2e Mark that td_api::setChatMessageAutoDeleteTime is allowed only for users. 2023-10-18 19:08:28 +03:00
levlam
9289270cd9 Close databases and binlog on another thread. 2023-10-05 21:50:53 +03:00
levlam
155095dff7 Move get_message_public_forwards to StatisticsManager. 2023-09-25 21:39:02 +03:00
levlam
e6fb913798 Add ChangeAuthorizationSettingsOnServerLogEvent. 2023-09-22 14:22:24 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
be63c46992 Move statistics related functions to StatisticsManager. 2023-09-19 21:40:29 +03:00
levlam
d1dae35b85 Add empty StatisticsManager. 2023-09-19 21:24:19 +03:00
levlam
583168767d Add td_api::getChatBoosts. 2023-09-16 12:22:11 +03:00
levlam
469be958f2 Add td_api::getChatBoostLinkInfo. 2023-09-15 19:07:18 +03:00
levlam
069f8607df Add td_api::getChatBoostLink. 2023-09-15 16:37:17 +03:00
levlam
8230efb97f Add td_api::boostChat. 2023-09-15 15:11:37 +03:00
levlam
97db1de2c1 Add td_api::canBoostChat. 2023-09-15 15:00:02 +03:00
levlam
c120b5ef19 Add td_api::getChatsToSendStories. 2023-09-14 18:59:30 +03:00
levlam
7605812d2c Add td_api::getChatBoostStatus. 2023-09-12 18:37:32 +03:00
levlam
b16de41ef1 Support sending and editing stories in channels. 2023-09-04 23:49:17 +03:00
levlam
2e4594a35a Add td_api::confirmSession. 2023-09-12 14:28:02 +03:00
levlam
be442ba977 Move get_user_link to AccountManager. 2023-09-11 18:59:19 +03:00
levlam
793e2ed0be Move account-related methods to AccountManager. 2023-09-08 16:34:11 +03:00
levlam
162b5cc636 Add AccountManager. 2023-09-08 16:19:30 +03:00
levlam
35ff6976d8 Add td_api::getAllStickerEmojis. 2023-09-04 16:17:36 +03:00
levlam
89e2a29926 Add td_api::sendWebAppCustomRequest. 2023-08-25 18:26:05 +03:00
levlam
49c1764746 Add td_api::allowBotToSendMessages. 2023-08-25 18:06:56 +03:00
levlam
a08f54007e Add td_api::canBotSendMessages. 2023-08-25 17:23:04 +03:00
levlam
a1b08e2907 Add td_api::searchStringsByPrefix. 2023-08-16 13:39:59 +03:00
levlam
b90bc7be4b Remove unsafe non-const NetQuery accessors. 2023-08-30 18:25:26 +03:00
levlam
4455255d9b Add class NotificationObjectId. 2023-08-25 02:04:44 +03:00
levlam
fd2df72321 Add td_api::canSendStory. 2023-08-11 19:43:26 +03:00
levlam
dd023dba19 Add td_api::getStoryAvailableReactions. 2023-08-09 14:13:41 +03:00
levlam
fdd44e8f9d Support filters in getStoryViewers. 2023-08-07 19:56:55 +03:00
levlam
d72e9cc68f Use string offset in getStoryViewers. 2023-08-07 19:40:15 +03:00
levlam
665662a160 Add td_api::setStoryReaction. 2023-08-06 23:28:00 +03:00
levlam
ea33e9f2d0 Add td_api::activateStoryStealthMode. 2023-08-04 15:23:51 +03:00
levlam
63ba72dce4 Add editStory.areas. 2023-08-01 20:37:37 +03:00
levlam
f72ac41756 Add sendStory.areas. 2023-08-01 19:07:13 +03:00
levlam
ec6c36e578 Add getBlockedMessageSenders.block_list. 2023-07-28 17:52:44 +03:00
levlam
3794e65b76 Add td_api::BlockList. 2023-07-28 17:33:47 +03:00
levlam
ce679e7b78 Move default reaction handling to ReactionManager. 2023-08-09 13:19:54 +03:00
levlam
9dcfd9d66d Add ReactionManager and move there all reaction-related methods from StickersManager. 2023-08-09 12:59:48 +03:00
levlam
dabefc83fa Fix use_sqlite_pmc check. 2023-08-06 14:37:51 +03:00
levlam
ced8764663 Move binlog handling to slow net scheduler if there is no SQLite database. 2023-08-06 14:29:43 +03:00
levlam
830da27abf Minor improvements. 2023-08-05 15:31:42 +03:00
levlam
5558825d61 Add class ReactionType. 2023-08-04 18:39:07 +03:00
levlam
32043df840 Parse updates in another thread. 2023-07-27 12:52:29 +03:00
levlam
06731d965d Move get_database_scheduler_id to Global. 2023-07-26 13:05:34 +03:00
levlam
fc97956447 Add td_api::StoryPrivacySettings. 2023-07-18 16:00:06 +03:00
levlam
0181baf1ad Add td_api::setArchiveChatListSettings. 2023-07-14 15:25:32 +03:00
levlam
e067160876 Add td_api::getArchiveChatListSettings. 2023-07-14 14:54:35 +03:00
levlam
b9473decc2 Always list actor_id first in lambda capture. 2023-07-11 17:53:43 +03:00
levlam
4b3de26c0c Add getStory.only_local. 2023-07-11 12:29:10 +03:00
levlam
39b84d89ea Improve method setChatActiveStoriesList name. 2023-07-08 16:53:29 +03:00
levlam
a1038bb20c Add class StoryListId. 2023-07-08 15:42:23 +03:00
levlam
bf3f1c33ae Return updateChatActiveStories in getCurrentState. 2023-07-07 16:18:18 +03:00
levlam
5130ec7760 Add emojiStatus.expiration_date. 2023-07-06 20:14:42 +03:00
levlam
5c3bbc7bb9 Add getStoryNotificationSettingsExceptions. 2023-07-06 19:15:00 +03:00
levlam
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00