Commit Graph

81 Commits

Author SHA1 Message Date
levlam
880a582959 Add layer 143 to secret chats. 2022-05-11 07:46:06 +03:00
levlam
de5f047dba Remove all emoji modifiers, including modifiers in the middle. 2022-05-12 18:02:27 +03:00
levlam
3d796860d2 Use server-side forward as copy. 2022-05-08 23:54:04 +03:00
levlam
11fa9dbb34 Remove unused function. 2022-04-26 16:19:37 +03:00
levlam
bb8c4ca42c Fix updating of Dialog.available_reactions_generation. 2022-04-11 16:01:30 +03:00
levlam
a136a9d22b Move methods inside Dependencies class. 2022-03-11 15:10:24 +03:00
levlam
ce19ad822b Add td_api::setMessageReaction. 2022-01-21 20:39:55 +03:00
levlam
facb8f754a Move list of active reactions to MessagesManager. 2022-01-19 18:59:48 +03:00
levlam
4e657b73ab Return all reactions as available in private chats. 2022-01-19 18:10:16 +03:00
levlam
3becacf304 Add chat.available_reactions and updateChatAvailableReactions. 2022-01-04 16:33:57 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
bb0f7e012d Fix can_get_message_viewers for anonymous polls. 2021-11-19 16:15:37 +03:00
levlam
a3e9a0be1f Move get_dialog_event_log to separate file. 2021-11-09 16:54:49 +03:00
levlam
46486bd82e Init disable_web_page_preview for incoming messages. 2021-11-04 00:21:27 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
fbd2309b37 Don't remove emoji modifiers in chat action emojis. 2021-09-23 17:16:59 +03:00
levlam
3883ffcc75 Check emoji in incoming chatActionEnjoyingAnimations. 2021-09-19 01:52:56 +03:00
levlam
5de53e09eb Add updateAnimatedEmojiMessageClicked. 2021-09-17 15:51:42 +03:00
levlam
5fd11e4b7a Add td_api::clickAnimatedEmojiMessage. 2021-09-16 00:41:40 +03:00
levlam
5cfabdd589 Add chat.theme_name. 2021-08-23 18:47:32 +03:00
levlam
4b631b16bf Find MediaTimestamp entities in old messages. 2021-08-09 19:37:47 +03:00
levlam
9653cc9e3e Add separate get_message_content_media_duration. 2021-08-05 02:09:04 +03:00
levlam
da3b8f93a0 Hide too big media timestamps. 2021-08-04 09:28:53 +03:00
levlam
1223c72741 Add class EncryptedFile. 2021-08-01 06:17:51 +03:00
levlam
bc5efb771d Improve can_message_content_have_media_timestamp. 2021-07-26 04:50:08 +03:00
levlam
e0c9efc26b Skip bot command entities if needed. 2021-07-22 05:39:16 +03:00
levlam
d80b613b55 Remove support for secret chat layers before 73. 2021-06-08 18:31:29 +03:00
levlam
7dbe720fdc Move can_send_message_content to MessageContent.cpp. 2021-04-13 02:59:33 +03:00
levlam
47a7bc05e2 Use service messages to synchronize active group call state. 2021-04-11 05:37:53 +03:00
levlam
3f1e91e7f4 Support invoice receipts in another chats. 2021-03-31 15:36:25 +03:00
levlam
d7afe3d3e2 Simplify variable names in create_inline_message_content. 2021-03-31 02:02:53 +03:00
levlam
8039660cfe Reload objects from server if failed to resolve their dependencies. 2021-04-04 03:23:22 +03:00
levlam
f307200ddc Support attachment upload in importMessages. 2021-01-22 17:09:08 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
bbde4f32c6 Allow to specify emoji for sent stickers. 2020-12-19 14:31:42 +03:00
levlam
f9a600c401 Minor fixes. 2020-11-08 14:00:36 +03:00
levlam
b21d667bdf Fix compilation error. 2020-11-08 12:09:27 +03:00
levlam
827ceb3ee5 Add audio, video and video note without duration to shared media.
GitOrigin-RevId: 924a2b8654e1d118b26c6174af3c0ebd327d454f
2020-10-19 14:31:18 +03:00
levlam
a404948707 Add MessageCopyOptions.
GitOrigin-RevId: a61b93c3c215c42c9a7f30195cc637187472751e
2020-08-09 14:18:08 +03:00
levlam
3fefdb6462 Add td_api::animatedChatPhoto.
GitOrigin-RevId: 430f3b6bcb0bcfaffdcc6f26a4ee017518a64162
2020-07-07 11:41:01 +03:00
levlam
4a1e2ee34c Add animated thumbnail support for animations and videos
GitOrigin-RevId: a9026a32be9a9ddf2597c6244e112fd853d81b1f
2020-05-30 01:48:56 +03:00
levlam
b89034d78b Fix disable_web_page_preview flag of copied messages.
GitOrigin-RevId: 7b4c01436ab4bb8375307e57dd7b702cea5c289f
2020-03-28 02:35:07 +03:00
levlam
8e666c2d7a Add has_message_content_web_page.
GitOrigin-RevId: 3bc382c77754a6a517616235d7b2572cfdfda607
2020-03-28 01:49:59 +03:00
levlam
04a002d9f3 Add source to register_message_content.
GitOrigin-RevId: 035429321a0fa15ea8918c634b19f12c21fc1d61
2020-02-22 19:21:58 +03:00
levlam
c07225c371 Add MessageContentType.cpp/h.
GitOrigin-RevId: 3e9390cea6b566980f7d2d8a7d5efa9b81ec2434
2020-01-27 16:06:00 +03:00
levlam
4293e4bec1 Fix some includes.
GitOrigin-RevId: 760f9d7e09881bfc061a78118008cf7fdf4660f4
2020-01-27 04:54:01 +03:00
levlam
4a1125887a Move update_used_hashtags to MessageContent.cpp.
GitOrigin-RevId: 67b8a3defbc9f2249dff0d57a40bd42ec743cd39
2020-01-27 03:34:23 +03:00
levlam
e666d10c8d Do not include TopDialogManager in MessagesManager.
GitOrigin-RevId: 364ebfc86bc49d8b64a60a82a3383210531774c3
2020-01-27 03:25:23 +03:00
levlam
129f96da69 Send updateMessageContent when WebPage is changed.
GitOrigin-RevId: 8e20fd788a4f5333f686d96241459774319ac8d7
2020-01-27 02:55:18 +03:00
levlam
67e4871ea0 Add reregister_message_content.
GitOrigin-RevId: 53c250a8e805dba37dc4ee255472935762ee609a
2020-01-25 03:50:23 +03:00