levlam
|
1e1191fcfc
|
Move InputInvoice to InputInvoice.h.
|
2022-09-22 19:08:06 +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
|
ee381ecbb5
|
Avoid force_reuse even for message photos.
|
2022-09-20 00:26:22 +03:00 |
|
levlam
|
ce1292ea32
|
Allow to always reuse photos from inputMessagePhoto.
|
2022-09-15 16:08:19 +03:00 |
|
levlam
|
e087521b01
|
Fix compilation error.
|
2022-09-14 19:02:49 +03:00 |
|
levlam
|
ce9175a00b
|
Always use "must be non-empty".
|
2022-09-10 22:48:34 +03:00 |
|
levlam
|
c5040d9fcd
|
Locally move sticker set to top.
|
2022-09-04 21:35:11 +03:00 |
|
levlam
|
96cca84a60
|
Remove source from next_utf8_unsafe.
|
2022-08-19 16:37:44 +03:00 |
|
levlam
|
a8b3573a00
|
Always pass non-null pointer to next_utf8_unsafe.
|
2022-08-19 16:19:58 +03:00 |
|
levlam
|
04b98aa385
|
Use OptionManager directly if possible.
|
2022-08-18 17:00:18 +03:00 |
|
levlam
|
3318ffdb20
|
Proxy all option-related requests through G.
|
2022-08-17 16:11:13 +03:00 |
|
levlam
|
f0a89c3dbe
|
Remove process_input_caption in favor of get_formatted_text.
|
2022-08-15 16:26:51 +03:00 |
|
levlam
|
b1e43bfbd5
|
Pass FormattedText to get_first_url.
|
2022-08-15 15:55:48 +03:00 |
|
levlam
|
a045e8a528
|
Avoid expected error logging.
|
2022-08-08 16:42:26 +03:00 |
|
levlam
|
2867fe3637
|
Improve get_message_content_file_ids implementation.
|
2022-08-05 22:59:39 +03:00 |
|
levlam
|
3c863517ba
|
Return messageAnimatedEmoji for single custom emoji.
|
2022-08-05 17:58:16 +03:00 |
|
levlam
|
33623f9818
|
Remove unused can_delete_old parameter.
|
2022-08-03 21:38:03 +03:00 |
|
levlam
|
a67155a145
|
Add source to get_message_content.
|
2022-08-01 14:45:44 +03:00 |
|
levlam
|
2c9e1767dd
|
Ignore empty entities loaded from database.
|
2022-07-31 00:34:30 +03:00 |
|
levlam
|
e40fbde299
|
Check currency amounts received from server.
|
2022-07-30 03:58:46 +03:00 |
|
levlam
|
a5da79327d
|
Preload and check all custom emoji in secret chats.
|
2022-07-27 23:47:16 +03:00 |
|
levlam
|
e601012e9f
|
Remove known premium emoji from secret chat messages from non-premium users.
|
2022-07-27 21:52:42 +03:00 |
|
levlam
|
6383e7f1b1
|
Improve remove_unallowed_entities.
|
2022-07-27 20:35:40 +03:00 |
|
levlam
|
97ab564e07
|
Prepare for removing premium custom emoji if have no premium.
|
2022-07-22 18:11:55 +03:00 |
|
levlam
|
833dfcc9db
|
Remove spoiler and custom emoji entities from messages forwarded to secret chats.
|
2022-07-22 16:47:58 +03:00 |
|
levlam
|
03773d01fd
|
Disallow emoji stickers in secret chats.
|
2022-07-22 16:11:33 +03:00 |
|
levlam
|
a81740892d
|
Add messageGiftedPremium.sticker.
|
2022-07-22 15:01:44 +03:00 |
|
levlam
|
61fe5d0df5
|
Register GiftPremium messages.
|
2022-07-22 13:30:24 +03:00 |
|
levlam
|
da7d302dec
|
Increase MessageUnsupported version to reload messages with custom emoji.
|
2022-07-22 12:15:21 +03:00 |
|
levlam
|
52214f37bc
|
Don't warn when server deletes a custom emoji entity.
|
2022-07-21 14:10:26 +03:00 |
|
levlam
|
ba3f24ed8d
|
Rename stickerTypeEmoji to stickerTypeCustomEmoji.
|
2022-07-19 14:51:29 +03:00 |
|
levlam
|
fd6684ab9d
|
Disallow sending, adding to favorite and recent for emoji stickers.
|
2022-07-18 14:51:37 +03:00 |
|
levlam
|
1f2e8d7c57
|
Check voice_messages_forbidden for private chats before sending messages.
|
2022-07-17 17:15:48 +03:00 |
|
levlam
|
ea8f81187e
|
Support documentAttributeCustomEmoji.
|
2022-07-14 17:11:36 +03:00 |
|
levlam
|
4f7113395b
|
Add td_api::messageGiftedPremium.
|
2022-07-01 15:28:22 +03:00 |
|
levlam
|
e38615b71e
|
Update layer to 144.
|
2022-07-01 14:33:59 +03:00 |
|
levlam
|
b8bd39dc6f
|
Fix PaymentSuccessful comparison.
|
2022-07-14 00:13:52 +03:00 |
|
levlam
|
c01dd0d461
|
Increase MessageUnsupported version.
|
2022-07-12 22:50:28 +03:00 |
|
levlam
|
dd89d46a27
|
Unify message media type variable names.
|
2022-07-01 15:04:11 +03:00 |
|
levlam
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
levlam
|
f48fd19e98
|
Fix is_premium flag.
|
2022-06-07 17:21:45 +03:00 |
|
levlam
|
157878f47e
|
Fix reply_in_dialog_id.
|
2022-06-06 18:01:44 +03:00 |
|
levlam
|
fc2a95cac6
|
Avoid expected error logging.
|
2022-06-06 17:44:38 +03:00 |
|
levlam
|
8fae960e43
|
Support premium stickers in secret chats.
|
2022-06-03 17:31:48 +03:00 |
|
levlam
|
8b9bed6a0b
|
Add messageSticker.is_premium.
|
2022-06-03 16:33:49 +03:00 |
|
levlam
|
6d0e57a8c5
|
Add is_recurring flags to messagePaymentSuccessful.
|
2022-05-30 16:35:25 +03:00 |
|
levlam
|
de4d3e7620
|
Register voice note messages.
|
2022-05-25 19:39:15 +03:00 |
|
levlam
|
4ef4933536
|
Add optional invoice name to messagePaymentSuccessful.
|
2022-05-11 18:52:45 +03:00 |
|
levlam
|
0909f88bc3
|
Use int53 for file size in TDLib API.
|
2022-05-11 17:17:20 +03:00 |
|
levlam
|
880a582959
|
Add layer 143 to secret chats.
|
2022-05-11 07:46:06 +03:00 |
|
levlam
|
447cfbfb1d
|
Support premium stickers.
|
2022-04-26 16:01:29 +03:00 |
|
levlam
|
1cace9e666
|
Ensure that message chat photo is not null.
|
2022-06-05 22:51:13 +03:00 |
|
levlam
|
82c9d538ce
|
Ensure that photo is not null.
|
2022-06-05 22:39:03 +03:00 |
|
levlam
|
014b458425
|
Add Dimensions.h.
|
2022-06-02 17:52:12 +03:00 |
|
levlam
|
63a4027ab2
|
Add source to on_get_poll.
|
2022-05-29 19:31:36 +03:00 |
|
levlam
|
a90dd653af
|
Avoid logging to error if invalid dimensions were provided by app.
|
2022-05-26 17:13:31 +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
|
7fcd92a622
|
Move is_document_file_type to FileType.cpp.
|
2022-04-21 21:54:33 +03:00 |
|
levlam
|
b17a05f3fc
|
Increase MessageUnsupported version to reload web_app buttons.
|
2022-04-15 16:32:12 +03:00 |
|
levlam
|
ff50eec3ee
|
Add notificationSound.date.
|
2022-04-15 15:30:51 +03:00 |
|
levlam
|
bb8c4ca42c
|
Fix updating of Dialog.available_reactions_generation.
|
2022-04-11 16:01:30 +03:00 |
|
levlam
|
88b9f35b91
|
Add PhotoSize.h.
|
2022-04-10 01:15:49 +03:00 |
|
levlam
|
05c0833525
|
Add PhotoFormat.h.
|
2022-04-09 23:21:07 +03:00 |
|
levlam
|
1d6488ab09
|
Add ContactsManager::is_broadcast_channel/is_megagroup_channel helpers.
|
2022-04-04 15:48:33 +03:00 |
|
levlam
|
a8a343704a
|
Add ChannelType.h.
|
2022-04-04 15:35:09 +03:00 |
|
levlam
|
e54fac174a
|
Rename web view to web app.
|
2022-03-31 16:42:59 +03:00 |
|
levlam
|
e8a82f9e70
|
Add td_api::messageWebViewDataSent/messageWebViewDataReceived.
|
2022-03-28 10:01:39 +03:00 |
|
levlam
|
479667dd1a
|
Update layer to 140.
|
2022-03-18 14:46:01 +03:00 |
|
levlam
|
d913e6ec0e
|
Add get_effective_restricted_rights.
|
2022-03-18 17:50:55 +03:00 |
|
levlam
|
8b16cf7271
|
Make all fields in Dependencies class private.
|
2022-03-11 15:31:28 +03:00 |
|
levlam
|
a136a9d22b
|
Move methods inside Dependencies class.
|
2022-03-11 15:10:24 +03:00 |
|
levlam
|
19daec8ca1
|
Increase MessageUnsupported version.
|
2022-02-01 13:26:23 +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
|
be2678ce94
|
Add enum StickerFormat.
|
2022-01-18 19:20:43 +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
|
c038507831
|
Increase MessageUnsupported version.
|
2021-12-30 18:04:50 +03:00 |
|
levlam
|
2afdbfc629
|
Fix merge_message_contents for photos.
|
2021-12-23 22:54:20 +03:00 |
|
levlam
|
2ea1d9e977
|
Increase MessageUnsupported version.
|
2021-12-13 16:43:52 +03:00 |
|
levlam
|
5a76413990
|
Minor improvements.
|
2021-12-10 00:07:59 +03:00 |
|
levlam
|
fe4efa3e5b
|
Allow messageMediaEmpty before authorizartion.
|
2021-12-04 21:57:44 +03:00 |
|
levlam
|
340e0f0b85
|
Fix has/have spelling.
|
2021-12-02 14:15:37 +03:00 |
|
levlam
|
bb0f7e012d
|
Fix can_get_message_viewers for anonymous polls.
|
2021-11-19 16:15:37 +03:00 |
|
levlam
|
a56c34c4dd
|
Move get_message_sender_object to MessageSender.cpp.
|
2021-11-15 01:18:47 +03:00 |
|
levlam
|
e52508bdc1
|
Add source to PhotoSizeSource::get_type.
|
2021-11-14 10:47:02 +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
|
0c1e268706
|
Don't generate MASK for parsed True fields.
|
2021-11-01 21:53:23 +03:00 |
|
levlam
|
4533f79338
|
Don't generate MASK for parsed object/vector fields.
|
2021-11-01 20:48:06 +03:00 |
|
levlam
|
a4592bd522
|
Add messageChatJoinByRequest.
|
2021-11-01 17:22:42 +03:00 |
|
levlam
|
6f34c5c6a1
|
Make PhotoSizeSource constructors named.
|
2021-10-27 16:52:22 +03:00 |
|
levlam
|
9addfaf6fe
|
Add class td_api::animatedEmoji.
|
2021-10-26 16:15:01 +03:00 |
|
levlam
|
c69293e1cc
|
Rename voice chats to video chats.
|
2021-10-14 15:44:21 +03:00 |
|
levlam
|
6b511f277b
|
Add messageChatJoinByLink.is_approved.
|
2021-10-09 15:04:17 +03:00 |
|
levlam
|
23775700ac
|
Update layer to 134.
|
2021-10-08 13:45:10 +03:00 |
|
levlam
|
77158cd7a5
|
Register emoji messages.
|
2021-10-04 16:08:51 +03:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|
levlam
|
db7aa28bdf
|
A lot more minor improvements.
|
2021-10-19 18:11:16 +03:00 |
|
levlam
|
9b7957c9c6
|
Minor warning fixes.
|
2021-10-17 13:07:20 +03:00 |
|
levlam
|
2f4524a949
|
Return WebPageId through promise.
|
2021-10-07 12:49:46 +03:00 |
|
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 |
|