Commit Graph

240 Commits

Author SHA1 Message Date
levlam
d6f3d9f08a Use error code 400 instead of small error codes. 2021-09-24 10:59:51 +03:00
levlam
fbd2309b37 Don't remove emoji modifiers in chat action emojis. 2021-09-23 17:16:59 +03:00
levlam
b6bde1e4c5 Move remove_emoji_modifiers to emoji.h. 2021-09-21 06:32:34 +03:00
levlam
53f9b0438e Optimize remove_emoji_modifiers usages. 2021-09-20 13:45:49 +03:00
levlam
057cee8674 Improve name of the chatActionWatchingAnimations chat action. 2021-09-19 21:40:07 +03:00
levlam
3883ffcc75 Check emoji in incoming chatActionEnjoyingAnimations. 2021-09-19 01:52:56 +03:00
levlam
b15244f59d Ensure delay of 0.2 seconds between updateAnimatedEmojiMessageClicked animations. 2021-09-17 19:59:31 +03:00
levlam
5de53e09eb Add updateAnimatedEmojiMessageClicked. 2021-09-17 15:51:42 +03:00
levlam
f0c2f8f124 Prepare sendMessageEmojiInteraction. 2021-09-16 23:22:34 +03:00
levlam
5fd11e4b7a Add td_api::clickAnimatedEmojiMessage. 2021-09-16 00:41:40 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
c03621d72c Add CHECK debug. 2021-09-13 16:03:21 +03:00
levlam
73290dcda8 Reopen closed polls when copying them. 2021-09-05 23:11:25 +03:00
levlam
6fad8e897f Improve Game constructor. 2021-09-02 16:49:57 +03:00
levlam
895d7f68d8 Improve Game::is_empty method name. 2021-09-02 16:35:56 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
5cfabdd589 Add chat.theme_name. 2021-08-23 18:47:32 +03:00
levlam
31a4a97ec1 Add messageChatSetTheme. 2021-08-18 16:03:10 +03:00
levlam
aaff89a6c3 Make get_document_object methods const. 2021-08-28 14:16:29 +03:00
levlam
cf7c14fb59 Remove unneeded document.is_changed. 2021-08-26 18:50:28 +03:00
levlam
ec55ca1d5c Improve logging. 2021-08-13 13:03:55 +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
45bf232417 Fimd media timestamp entities in find_entities. 2021-08-04 04:26:41 +03:00
levlam
389e92f1f4 Add skip_media_timestamps parameter to get_formatted_text. 2021-07-26 22:48:33 +03:00
levlam
0dc42e4410 Add source to get_message_sender_object. 2021-08-03 01:58:02 +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
5d579af30a Return duration of web page in get_message_content_duration. 2021-07-26 04:33:56 +03:00
levlam
e0c9efc26b Skip bot command entities if needed. 2021-07-22 05:39:16 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
9628668def Minor improvements. 2021-06-23 03:22:23 +03:00
levlam
9440925711 Move some classes inside corresponding managers. 2021-06-18 03:06:20 +03:00
levlam
a04a481fd4 Remove unused variable. 2021-06-10 02:42:30 +03:00
levlam
d80b613b55 Remove support for secret chat layers before 73. 2021-06-08 18:31:29 +03:00
levlam
4bb76a7b6f Update layer to 128. Remove photo volume_id/local_id. 2021-04-16 17:43:51 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
6b0637f402 Disallow messageInvoice copying. 2021-04-13 17:40:09 +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
969b52cc82 Minor improvements. 2021-04-09 02:35:50 +03:00
levlam
fbb15a9925 Remove invoice_chat_id/invoice_message_id from messagePaymentSuccessfulBot, because they are incompatible with inline mode. 2021-04-07 22:58:40 +03:00
levlam
bb1b82731e Add messageVoiceChatScheduled. 2021-04-06 00:24:05 +03:00
levlam
3f1e91e7f4 Support invoice receipts in another chats. 2021-03-31 15:36:25 +03:00
levlam
32a5fc6855 Support sending messageInvoice via inline mode. 2021-03-31 02:38:16 +03:00
levlam
d7afe3d3e2 Simplify variable names in create_inline_message_content. 2021-03-31 02:02:53 +03:00
levlam
2379735d9b Support sending Invoice as result of any inline query. 2021-03-31 01:55:12 +03:00
levlam
b9bc86fb5a Add class InputInvoice. 2021-03-31 01:20:40 +03:00