Commit Graph

6881 Commits

Author SHA1 Message Date
levlam
febf458091 Move set_default_reaction to MessageReaction.h. 2022-08-15 22:47:02 +03:00
levlam
bbac7baed0 Add setUserSupportInfo. 2022-08-15 16:58:28 +03:00
levlam
f0a89c3dbe Remove process_input_caption in favor of get_formatted_text. 2022-08-15 16:26:51 +03:00
levlam
8b61255387 Add additional parameters to get_formatted_text. 2022-08-15 16:16:50 +03:00
levlam
61fb071b25 Use get_formatted_text in get_web_page_preview. 2022-08-15 15:59:16 +03:00
levlam
b1e43bfbd5 Pass FormattedText to get_first_url. 2022-08-15 15:55:48 +03:00
levlam
47c0f387de Add get_formatted_text function. 2022-08-15 15:37:17 +03:00
levlam
5af4fcc35e Add td_api::getUserSupportInfo. 2022-08-15 14:32:35 +03:00
levlam
383359d767 Do not check local location when cancel file upload. 2022-08-15 13:13:23 +03:00
levlam
8f433070df Minor fixes. 2022-08-14 15:04:08 +03:00
levlam
9a469eef31 Minor fixes. 2022-08-12 18:39:36 +03:00
levlam
e7fa6741aa Support file reference repair for files of attachment menu bots. 2022-08-10 21:12:05 +03:00
levlam
9c7bdb2810 Fix payment form and web view color value sent to the server. 2022-08-10 19:32:07 +03:00
levlam
4754f36808 Fix warning. 2022-08-10 18:38:30 +03:00
levlam
148ded0620 Disable ConfigRecoverer if there are a lot of pending auth keys. 2022-08-10 17:03:38 +03:00
levlam
17a18e8def Always use send_closure_later to keep relative message order. 2022-08-10 16:25:17 +03:00
levlam
9f520f7db2 Asynchronously load reactions on start up. 2022-08-10 15:39:33 +03:00
levlam
f342b65500 Check for close status as early as possible. 2022-08-10 14:04:36 +03:00
levlam
12d852abc5 Check for close_flag as early as possible. 2022-08-10 13:57:41 +03:00
levlam
2865be8dd7 Store link to parent in FileReferenceManager. 2022-08-09 17:00:36 +03:00
levlam
491e50ac4b Remove outdated note in the documentation. 2022-08-09 13:10:10 +03:00
levlam
8484531d95 Ignore unused appConfig option. 2022-08-09 13:07:54 +03:00
levlam
cee055350a Fix premium_sticker_positions_ initialization. 2022-08-08 21:13:22 +03:00
levlam
8e5d85eb11 Add error logging. 2022-08-08 19:52:29 +03:00
levlam
5c46c95ac5 Improve logging. 2022-08-08 19:26:57 +03:00
levlam
ca95e77845 Avoid expected warning. 2022-08-08 19:20:19 +03:00
levlam
8717720ee9 Add constant for "after get difference" source. 2022-08-08 19:01:50 +03:00
levlam
57947f549d Remove now unneeded restore of PTS in channels. 2022-08-08 18:38:25 +03:00
levlam
594aa2ff6d Use request promise in setStickerSetThumbnail. 2022-08-08 17:31:27 +03:00
levlam
69b1cc7967 Use request promise in createNewStickerSet. 2022-08-08 17:24:01 +03:00
levlam
57de8b5b09 Use request promise in addStickerToSet. 2022-08-08 17:01:04 +03:00
levlam
74c03d35a7 Ignore chat photo in left basic groups just in case. 2022-08-08 16:42:44 +03:00
levlam
a045e8a528 Avoid expected error logging. 2022-08-08 16:42:26 +03:00
levlam
d04527d10e Avoid expected error logging. 2022-08-08 13:19:11 +03:00
levlam
6871340548 Asynchronously update searchStickers cache. 2022-08-08 10:10:23 +03:00
levlam
18948ca87e Disallow reactions on self-destruct media. 2022-08-08 09:44:58 +03:00
levlam
05625491ba Cache found stickers in database. 2022-08-08 00:55:22 +03:00
levlam
2bf7b1e90a Optimize split_stickers_by_premium. 2022-08-07 21:10:15 +03:00
levlam
5304ac7ccf Optimize installed premium stickers traversal in getPremiumStickers. 2022-08-07 20:35:13 +03:00
levlam
36d7adef38 Unify field naming in private StickersManager classes. 2022-08-07 19:47:50 +03:00
levlam
26fe0f73f9 Try to keep 3 other recent reaction choosers. 2022-08-07 15:28:55 +03:00
levlam
ae14546613 Disallow adding new reactions in supergroup if can't send messages there. 2022-08-07 12:48:36 +03:00
levlam
36803d8d28 Improve 'Type of file mismatch' error messages. 2022-08-07 11:55:58 +03:00
levlam
a955e0b9df Improve FileType::operator<<. 2022-08-07 00:42:40 +03:00
levlam
e80e4304a4 Return stickers from installed sticker sets in getPremiumStickers. 2022-08-07 00:33:16 +03:00
levlam
1764cda9fa Automatically load installed sticker sets in StickersManager::get_stickers. 2022-08-06 23:39:54 +03:00
levlam
035cec9fb9 Simplify changing file sources. 2022-08-06 13:54:10 +03:00
levlam
44e96081c6 Support file reference repair for bot description photo and animation. 2022-08-06 13:42:35 +03:00
levlam
14fa1d71d9 Append album cover file identifiers to audio file identifiers. 2022-08-06 11:03:48 +03:00
levlam
2867fe3637 Improve get_message_content_file_ids implementation. 2022-08-05 22:59:39 +03:00