Commit Graph

286 Commits

Author SHA1 Message Date
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
levlam
c3ff8539db Support tip amount in Invoice. 2021-03-30 18:05:20 +03:00
levlam
26dc0ad930 Update layer to 127. 2021-03-26 18:15:21 +03:00
levlam
268dd2cf12 Increase MessageUnsupported version. 2021-04-06 00:40:31 +03:00
levlam
8039660cfe Reload objects from server if failed to resolve their dependencies. 2021-04-04 03:23:22 +03:00
levlam
1bbcc01091 Fix MessagePaymentSuccessful storing. 2021-04-02 17:04:51 +03:00
levlam
b5655ddab6 Pass UserId to Contact::Contact. 2021-03-29 08:20:54 +03:00
levlam
c733f8ed34 Minor improvements. 2021-02-25 15:56:26 +03:00
levlam
f92339de85 Support telegram_api::messageActionSetMessagesTTL. 2021-02-16 15:15:45 +03:00
levlam
15fe7f7a04 Rename suggested_name to suggested_path. 2021-01-26 02:39:48 +03:00
levlam
f307200ddc Support attachment upload in importMessages. 2021-01-22 17:09:08 +03:00
levlam
6e20aaa428 Add source to get_dimensions. 2021-01-23 22:04:35 +03:00
levlam
82f0386e73 Move some functions from misc.h to algorithm.h. 2021-01-01 16:01:03 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
865009fffc Include improvements. 2021-01-01 01:52:01 +03:00
levlam
bbde4f32c6 Allow to specify emoji for sent stickers. 2020-12-19 14:31:42 +03:00
levlam
4b9eabc668 Separate message contents for started and ended boice chats. 2020-12-14 22:22:20 +03:00
levlam
6fdf68bad4 Store DialogId in information about group call. 2020-12-13 14:52:07 +03:00
levlam
52c79bae75 Update documentation and improve type names. 2020-12-09 14:26:22 +03:00
levlam
6e3e129b13 Improve group call method and field names. 2020-12-08 18:01:06 +03:00
levlam
eb9abbb9ab Save voice chat channel_id. 2020-12-04 12:40:51 +03:00
levlam
34e05375c1 Add GroupCallId class. 2020-12-03 19:52:50 +03:00
levlam
7f9681313a Update layer 122. 2020-11-29 15:41:03 +03:00
levlam
cc47f9b63f Support updateGroupCall. 2020-11-25 17:04:32 +03:00
levlam
3c9cd41776 Add GroupCallId. 2020-11-24 17:29:09 +03:00
levlam
ce4054c5d4 Add messageGroupCall and messageInviteToGroupCall. 2020-11-24 14:33:16 +03:00
levlam
d22dabfdaf Update layer to 121. 2020-11-09 23:41:23 +03:00
levlam
c1de6a7d8d Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
2020-11-02 00:43:57 +03:00
levlam
1fcd6b54ed Improve messageProximityAlertTriggered field names.
GitOrigin-RevId: b67708794a18ee954455871cce1084ca047f7f35
2020-10-31 01:38:11 +03:00
levlam
6f4c4adcc8 Improve field names.
GitOrigin-RevId: ded67301be27af1f3b7c8f7e11b2172bb92934c7
2020-10-30 15:51:20 +03:00
levlam
86c80e652e Improve field names.
GitOrigin-RevId: 3c30190dc75bd5dc812078f33bbf9dcaaeba1a1a
2020-10-29 22:25:58 +03:00
levlam
38fe050dba Update layer 120. New live location approaching API.
GitOrigin-RevId: 98e984a3c84deee3552eb01b53963a6a998c7eda
2020-10-25 00:49:41 +03:00
levlam
de1e5e0bd4 Add new message content type MessageLiveLocationApproached.
GitOrigin-RevId: 6bf5ac6b3320d0b6da9c27bf5258105ccd958396
2020-10-19 20:44:09 +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
9558b06021 Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
2020-10-17 22:47:47 +03:00
levlam
6e3eda2aa1 Add live location heading support.
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
2020-10-16 23:08:28 +03:00
levlam
fd9732dcfa Add slot machine support.
GitOrigin-RevId: e0c3c5d9b2cff2870162f11983bd546aba101caf
2020-10-15 15:59:51 +03:00
levlam
f59a11706c Use unique location for outgoing photos.
GitOrigin-RevId: ac3a0eed1847ee7b96d463758ee33b85c6797ac5
2020-10-22 02:11:32 +03:00
levlam
143a4961b6 Improve inputMessageDocument.disable_content_type_detection field name.
GitOrigin-RevId: b2155f743635437e11d4c346bad641427cb737fa
2020-09-14 15:40:34 +03:00
levlam
1a4a834b2d Add progressive JPEG support.
GitOrigin-RevId: 48c56c3c2575da76df5e9237f6fb043e374bf30d
2020-08-25 15:09:24 +03:00
levlam
1c6f778e8d Fix message handling during logging out.
GitOrigin-RevId: 6542058eb0fcec8e2693db5f5f8abf725c4d4ed7
2020-08-24 13:43:54 +03:00
levlam
46f42d80b6 Move MessageSearchFilter to separate files.
GitOrigin-RevId: 07b7df009b4e74a145b5ebc1966190630545baef
2020-08-22 10:27:13 +03:00
levlam
7d6546b27a Rename SearchMessagesFilter to MessageSearchFilter.
GitOrigin-RevId: ac477d22eae9382c6e9d63e184f10490c1bf4292
2020-08-22 10:05:51 +03:00
levlam
8fb53c6ec2 Allow to replace caption when message is copied.
GitOrigin-RevId: 6e190830d66916de2deb0b371185b7db6ea42b00
2020-08-11 10:35:19 +03:00
levlam
a404948707 Add MessageCopyOptions.
GitOrigin-RevId: a61b93c3c215c42c9a7f30195cc637187472751e
2020-08-09 14:18:08 +03:00
levlam
95ac56215b Add call.is_video flags to td_api.
GitOrigin-RevId: cba87e4aeeb32ac177dd69416592193056c2f8b1
2020-08-05 22:10:33 +03:00
levlam
e7ebc22929 Remove FE0F from MessageDice emoji.
GitOrigin-RevId: b0eab642499ade40a17d9f5f475c73c7de71724e
2020-07-21 01:35:35 +03:00
levlam
3fefdb6462 Add td_api::animatedChatPhoto.
GitOrigin-RevId: 430f3b6bcb0bcfaffdcc6f26a4ee017518a64162
2020-07-07 11:41:01 +03:00
levlam
004e1dcc8d Add userProfilePhoto.animation.
GitOrigin-RevId: 69760b287f8c9bd304db7789e503dda478cf9c59
2020-06-24 14:13:33 +03:00
levlam
193c7c6293 Rename chatPhotoFullInfo to chatPhoto.
GitOrigin-RevId: f97da057f1f74ccce283d21d1cfdd827bf51c871
2020-07-07 13:48:56 +03:00
levlam
9a92f6d571 Simplify get_photo_object.
GitOrigin-RevId: 08c8fb7fe4eadb4bff56198d5834c708e032979b
2020-07-06 18:45:43 +03:00
levlam
c56f2a8c1d Use chatPhotoFullInfo where appropriate.
GitOrigin-RevId: ffde532a24735ddac2536a448100ac8884adba83
2020-07-06 15:34:07 +03:00
levlam
a7bd0c3932 Add photo to *FullInfo.
GitOrigin-RevId: 21346a0880239abe428799fa58b9132abded6f13
2020-07-06 15:26:29 +03:00
levlam
c865f6a42e Increase poll question length limit for bots to 300.
GitOrigin-RevId: 9ab822c385923e1a46642ad6dfffb97697f68a8b
2020-07-04 02:19:38 +03:00
levlam
4acf82c506 Add Photo.is_empty().
GitOrigin-RevId: 6dd6aeaaaa703f9cd865598d52b97eb64523fea0
2020-06-23 21:04:26 +03:00