Commit Graph

630 Commits

Author SHA1 Message Date
levlam
f2d2a94ae3 Add source to on_get_sticker_document. 2024-06-06 12:29:55 +03:00
levlam
e9e2339e76 Don't add fake sticker attributes. 2024-05-28 00:08:10 +03:00
levlam
4079658376 Add fake sticker attribute to broken effects. 2024-05-27 12:57:48 +03:00
levlam
7b7d60a394 Add td_api::getMessageEffects. 2024-05-07 18:49:00 +03:00
levlam
7ab118780a Add source to on_external_update_message_content. 2024-05-15 11:40:47 +03:00
levlam
5a7970fe79 Improve emoji category type name and documentation. 2024-05-01 18:24:18 +03:00
levlam
ee57967e6b Add td_api::emojiCategoryTypeCombined. 2024-04-28 00:19:11 +03:00
levlam
c0ed8f09b0 Add explicit allow_secret_chats to have_input_peer. 2024-04-14 22:59:05 +03:00
levlam
03a624903e Move relevant functions to UserManager. 2024-04-02 03:52:34 +03:00
levlam
ee030cf5f7 Don't add standalone stickers to recent when they are sent. 2024-03-21 15:43:00 +03:00
levlam
c3e0a8022a Allow to add arbitrary WEBM stickers to recent and favorite. 2024-03-21 15:38:48 +03:00
levlam
22d2f6a98d Add td_api::getOwnedStickerSets. 2024-03-20 15:41:49 +03:00
levlam
fad7d022fb Add td_api::replaceStickerInSet. 2024-03-20 13:49:01 +03:00
levlam
cf55275b7d Allow to create sticker sets with suggested name for regular users. 2024-03-18 22:06:07 +03:00
levlam
af20344557 Add flag stickerSet,is_created. 2024-03-16 23:54:05 +03:00
levlam
b13e6288e9 Prefer animated stickers in searchStickers again. 2024-03-16 22:39:50 +03:00
levlam
6306a595d8 Allow methods for sticker set management for regular users. 2024-03-15 23:47:55 +03:00
levlam
626e76fa90 Guess sticker format based on existing stickers for backward compatibility. 2024-03-15 21:35:24 +03:00
levlam
9c7e0f6b22 Move sticker_format to inputSticker. 2024-03-15 21:08:30 +03:00
levlam
ce124d1a40 Support mixed-format sticker sets. 2024-03-15 15:24:59 +03:00
levlam
c46af3318d Add FileManager::delete_partial_remote_location_if_needed. 2024-03-12 18:52:23 +03:00
levlam
bce17cb5d8 Update layer to 177. 2024-03-07 15:24:28 +03:00
levlam
d1638a0fc4 Allow to add any WEBP sticker to favorite stickers. 2024-03-05 22:01:19 +03:00
levlam
e2eba91ee2 Allow to add to recent stickers arbitrary WEBP stickers. 2024-03-01 22:35:48 +03:00
levlam
96ddf0441c Add td_api::getQuickReplyShortcuts. 2024-02-22 17:32:12 +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
4dc89d0b8d Add StickersManager::prepare_search_emoji_query. 2024-01-05 14:20:00 +03:00
levlam
a262f0a5f7 Avoid some initialization for bots. 2024-01-24 15:24:16 +03:00
levlam
32898dbe88 Move get_chat_ids_object and get_chats_object to DialogManager. 2024-01-04 16:13:20 +03:00
levlam
b2fccc7d9c Move ContactsManager proxy methods to DialogManager. 2024-01-03 23:07:50 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
aab1bf4fa5 Check for default channel statuses in StickersManager::is_default_emoji_status. 2023-12-24 02:38:17 +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
e2747b6c76 Add td_api::getThemedChatEmojiStatuses. 2023-12-21 22:44:59 +03:00
levlam
c6ce44815e Update layer to 169. 2023-12-05 12:30:12 +03:00
levlam
745c40855a Exclude installed sticker sets from searchStickerSets response. 2023-12-09 23:14:19 +03:00
levlam
9207ba4c78 Add searchStickerSets.sticker_type. 2023-11-10 12:48:30 +03:00
levlam
24f74a018e Correctly asynchronously destroy found_stickers_. 2023-11-11 09:21:07 +03:00
levlam
9184b3e62d Don't warn if sticker's emoji changes. 2023-11-09 02:15:35 +03:00
levlam
24c84398ee Add stickerSetInfo.needs_repainting. 2023-10-19 23:06:55 +03:00
levlam
8a7322cef2 Add td_api::getDefaultBackgroundCustomEmojiStickers. 2023-10-19 15:23:04 +03:00
levlam
74396f65a1 Add class StickerListType. 2023-10-19 15:12:26 +03:00
levlam
c474942666 Use add_to_top. 2023-10-01 21:17:30 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
35ff6976d8 Add td_api::getAllStickerEmojis. 2023-09-04 16:17:36 +03:00
levlam
203e8cf9c2 Add more checks for is_authorized. 2023-08-17 00:32:29 +03:00
levlam
9dcfd9d66d Add ReactionManager and move there all reaction-related methods from StickersManager. 2023-08-09 12:59:48 +03:00
levlam
d2add02ac9 Move get_sorted_available_reactions to StickersManager. 2023-08-09 12:07:13 +03:00