Commit Graph

8935 Commits

Author SHA1 Message Date
levlam
a3bb5913a7 Improve clicked animated emoji zoom. 2022-09-26 16:13:57 +03:00
levlam
bc3ea3e123 Add fallback_url to internalLinkTypeInstantView. 2022-09-26 01:48:06 +03:00
levlam
35058bb6a7 Add animatedEmoji.sticker_width/sticker_height. 2022-09-25 23:40:42 +03:00
levlam
302e2fd4b9 Make struct Invoice private. 2022-09-24 23:09:40 +03:00
levlam
aa5f4b1982 Make InputInvoice fields private. 2022-09-24 23:04:04 +03:00
levlam
ecb3d76fb4 Move store/parse inside classes Invoice/InputInvoice. 2022-09-24 23:00:49 +03:00
levlam
bb69175aab Add InputInvoice::is_equal_but_different. 2022-09-24 22:55:03 +03:00
levlam
b10983acfa Add InputInvoice::need_reget. 2022-09-24 22:45:29 +03:00
levlam
6a5989eb8b Add InputInvoice::update_from. 2022-09-24 22:42:47 +03:00
levlam
92f9f8bdd0 Support extended media polling. 2022-09-24 22:17:17 +03:00
levlam
85f9f0481f Fix extended media store. 2022-09-23 19:54:05 +03:00
levlam
263b383530 Support extended media in inputMessageInvoice. 2022-09-23 16:16:56 +03:00
levlam
3827bc92b0 Make Invoice operator == private. 2022-09-23 12:55:25 +03:00
levlam
e5d1fd0dfa Move InputInvoice methods inside the class. 2022-09-23 12:52:54 +03:00
levlam
87e2e107bb Unify field naming in Invoice/InputInvoice classes. 2022-09-23 12:30:26 +03:00
levlam
7f353cd064 Support telegram_api::updateMessageExtendedMedia. 2022-09-23 12:07:07 +03:00
levlam
7a50d0764e Minor improvements. 2022-09-22 23:28:54 +03:00
levlam
63a664ec71 Remove unused class ShippingOption. 2022-09-22 21:07:01 +03:00
levlam
fa5dbe4751 Move get_product_description_object to InputInvoice.h. 2022-09-22 19:37:02 +03:00
levlam
cb01c3022c Move check_currency_amount to misc.h. 2022-09-22 19:33:43 +03:00
levlam
7f433c7e18 Add OrderInfo.h. 2022-09-22 19:28:39 +03:00
levlam
1e1191fcfc Move InputInvoice to InputInvoice.h. 2022-09-22 19:08:06 +03:00
levlam
72c1a1597d Add LabeledPricePart.h. 2022-09-22 18:49:08 +03:00
levlam
2a4201f989 Move some functions to Photo.h. 2022-09-22 18:25:20 +03:00
levlam
e9b181ec42 Support ExtendedMedia in MessageContent. 2022-09-22 18:05:58 +03:00
levlam
1fd5452c8f Add version for MessageExtendedMedia::Unsupported. 2022-09-22 15:30:12 +03:00
levlam
2440ebda56 Never replace ExtendedMedia media with preview. 2022-09-22 06:39:40 +03:00
levlam
a7d8d28895 Add td_api::messageExtendedMedia. 2022-09-22 01:46:12 +03:00
levlam
386e9fb296 Add InputInvoice flags. 2022-09-16 17:08:58 +03:00
levlam
1679d1338c Update layer to 146. 2022-09-16 15:36:25 +03:00
levlam
8ab43e5b9f Make most MessageReaction methods private. 2022-09-24 21:32:50 +03:00
levlam
798f4fdb2f Add MessageReactions::add_min_channels. 2022-09-24 21:09:07 +03:00
levlam
375446ac88 Add MessageReactions::add_dependencies. 2022-09-24 21:07:35 +03:00
levlam
da00ea6f86 Add MessageReactions::get_message_reactions_object. 2022-09-24 20:58:54 +03:00
levlam
c9f7603ad7 Add MessageReactions::are_consistent_with_list. 2022-09-24 20:15:38 +03:00
levlam
8e196d2570 Increase limits for slow operations logging. 2022-09-23 22:29:18 +03:00
levlam
faa738d6a9 Keep only Slice overload of utf8_utf16_substr. 2022-09-22 12:08:34 +03:00
levlam
5c5d19e76f Increase 8 times number of WaitFreeMap storages. 2022-09-22 07:13:17 +03:00
levlam
2a41ab0562 Don't add self speculatively to channel members if join requests are enabled in the chat. 2022-09-21 19:04:36 +03:00
levlam
6c91b9aa6b Create all dialogs before initializing inactive_channel_ids_. 2022-09-21 18:55:21 +03:00
levlam
831f0bead3 Send updateMessageContent about edited messages. 2022-09-21 18:02:28 +03:00
levlam
23fe3994bf Don't unload messages from the last media album. 2022-09-21 17:44:25 +03:00
levlam
e9ccb43ccd Use const Message * earlier in add_message_to_dialog. 2022-09-21 17:30:03 +03:00
levlam
b6db8a66ec Remove dangerous Timestamp::store. 2022-09-21 14:25:31 +03:00
levlam
9c04dc47ad Add support for cashtag in Twitter link preview. 2022-09-20 18:13:14 +03:00
levlam
3a579dd5cb Improve warning on long RawConnection::flush. 2022-09-20 17:46:10 +03:00
levlam
bed08625f0 Improve error logging. 2022-09-20 17:11:15 +03:00
levlam
097f3d42e1 Fix error code in on_upload_error/on_download_error. 2022-09-20 02:02:28 +03:00
levlam
ee381ecbb5 Avoid force_reuse even for message photos. 2022-09-20 00:26:22 +03:00
levlam
74879d9726 Move PerfWarningTimer to SessionConnection::do_flush. 2022-09-19 21:33:23 +03:00