levlam
|
cae7ba79ed
|
Add sticker to messagePremiumGiftCode.
|
2023-10-13 16:06:55 +03:00 |
|
levlam
|
a6f0260cf2
|
Add "giveaway_country_count_max" option.
|
2023-10-13 14:06:05 +03:00 |
|
levlam
|
e24f68a4ff
|
Add "giveaway_additional_chat_count_max" option.
|
2023-10-13 13:39:14 +03:00 |
|
levlam
|
129a04b24d
|
Add pushMessageContentPremiumGiveaway.
|
2023-10-13 13:28:01 +03:00 |
|
levlam
|
ce5f63c5aa
|
Add pushMessageContentPremiumGiftCode.
|
2023-10-13 13:11:13 +03:00 |
|
levlam
|
580e856f44
|
Support giveaway forwarding.
|
2023-10-13 12:47:34 +03:00 |
|
levlam
|
4ef53487dc
|
Add creation_date to information about giveaway.
|
2023-10-13 11:57:43 +03:00 |
|
levlam
|
98b14b7326
|
Add premiumGiveawayParticipantStatusDisallowedCountry.
|
2023-10-13 11:48:10 +03:00 |
|
levlam
|
d85182e5d0
|
Improve premiumGiveawayParameters field name.
|
2023-10-13 11:38:22 +03:00 |
|
levlam
|
f31635e9a8
|
Support country code restrictions for giveaways.
|
2023-10-12 18:58:40 +03:00 |
|
levlam
|
5d80e3db72
|
Add td_api::launchPrepaidPremiumGiveaway.
|
2023-10-12 18:19:08 +03:00 |
|
levlam
|
2a46d463e0
|
tg_cli: add PremiumGiveawayParameters.
|
2023-10-12 17:58:48 +03:00 |
|
levlam
|
3dea942078
|
Add td_api::premiumGiveawayParameters.
|
2023-10-12 17:05:03 +03:00 |
|
levlam
|
c2d5ca2d3f
|
Allow to get the list of prepaid Premium giveaways.
|
2023-10-10 14:11:59 +03:00 |
|
levlam
|
9a339166a2
|
Add td_api::getPremiumGiveawayInfo.
|
2023-10-06 18:28:02 +03:00 |
|
levlam
|
3e487253c7
|
Use separate constructors for MessageInputReplyTo.
|
2023-10-06 13:05:50 +03:00 |
|
levlam
|
811a7c60e1
|
Add separate td_api::InputMessageReplyTo.
|
2023-10-06 11:58:05 +03:00 |
|
levlam
|
3e3b4e8aa6
|
Remove legacy supports_settings fields.
|
2023-10-04 17:24:52 +03:00 |
|
levlam
|
a98a9fb971
|
Add td_api::inputInvoiceTelegram.
|
2023-10-03 18:27:56 +03:00 |
|
levlam
|
e608fdca7b
|
Add td_api::textEntityTypeBlockQuote.
|
2023-10-02 23:23:45 +03:00 |
|
levlam
|
84676f04a6
|
Add more colors to themeParameters.
|
2023-10-02 22:31:34 +03:00 |
|
levlam
|
d20ddeb65c
|
Add td_api::messagePremiumGiveaway.
|
2023-09-30 00:32:39 +03:00 |
|
levlam
|
1ebbd360db
|
Add td_api::messagePremiumGiftCode.
|
2023-09-29 17:55:03 +03:00 |
|
levlam
|
b4609e910a
|
Add td_api::internalLinkTypePremiumGiftCode.
|
2023-09-29 16:44:59 +03:00 |
|
levlam
|
acb9da43a7
|
Add td_api::storePaymentPurposePremiumGiveaway.
|
2023-09-29 15:52:23 +03:00 |
|
levlam
|
a926c9dc6a
|
Improve documentation.
|
2023-09-28 22:58:15 +03:00 |
|
levlam
|
c98c778b08
|
Add td_api::applyPremiumGiftCode.
|
2023-09-28 22:35:57 +03:00 |
|
levlam
|
4bd27a1516
|
Add td_api::checkPremiumGiftCode.
|
2023-09-28 22:21:25 +03:00 |
|
levlam
|
ca1ae47242
|
Add td_api::getPremiumGiftCodePaymentOptions.
|
2023-09-28 21:26:33 +03:00 |
|
levlam
|
4be2d8cbe5
|
Add get_boost_input_peer function.
|
2023-09-28 21:09:49 +03:00 |
|
levlam
|
fa04b6f280
|
Add storePaymentPurposePremiumGiftCodes.
|
2023-09-28 17:54:03 +03:00 |
|
levlam
|
bd36f48054
|
Update layer to 166.
|
2023-09-28 16:13:36 +03:00 |
|
levlam
|
9c9c1bb51c
|
Minor improvements.
|
2023-10-28 00:06:56 +03:00 |
|
levlam
|
7097b2bf5b
|
Fix index type.
|
2023-10-27 23:14:52 +03:00 |
|
levlam
|
c031818156
|
Fix available reactions check.
|
2023-10-26 10:30:01 +03:00 |
|
levlam
|
87f7cdd69f
|
Store MessageFullId in replied_yet_unsent_messages_.
|
2023-10-25 03:02:26 +03:00 |
|
levlam
|
f0382d8789
|
Add source to get_chat_member_object.
|
2023-10-24 15:17:18 +03:00 |
|
levlam
|
7152a5c2e1
|
Never change result of is_from_mention_notification_group.
|
2023-10-23 17:02:44 +03:00 |
|
levlam
|
f2345d4fcc
|
Remove redundant actor name from log messages.
|
2023-10-23 15:57:36 +03:00 |
|
levlam
|
9de5b27db2
|
Destroy auth keys in non-inited internal DCs.
|
2023-10-23 15:45:38 +03:00 |
|
levlam
|
f2114f34f5
|
Add DcId::MAX_RAW_DC_ID.
|
2023-10-23 15:40:57 +03:00 |
|
levlam
|
d5f7423b52
|
Add static AuthDataShared::get_auth_key_for_dc().
|
2023-10-23 15:26:52 +03:00 |
|
levlam
|
4786d1a931
|
Forcely disable multiple sessions and PFS while destroying auth key.
|
2023-10-23 14:58:12 +03:00 |
|
levlam
|
9fdc48ac2d
|
Don't use promise emptiness to check that auth keys are being destroyed.
|
2023-10-23 14:12:25 +03:00 |
|
levlam
|
66757e2511
|
Improve field names.
|
2023-10-23 14:10:39 +03:00 |
|
levlam
|
0db2644011
|
Remove unused constructor parameter.
|
2023-10-23 14:05:50 +03:00 |
|
levlam
|
29d7916e4d
|
Disallow unneeded canceling of destroy_auth_key.
|
2023-10-23 14:00:22 +03:00 |
|
levlam
|
8c10e893c0
|
Remove unused functions from SessionConnection::Callback.
|
2023-10-23 13:08:45 +03:00 |
|
levlam
|
b29a2b1ba2
|
Close connection if receive no answer for destroy_auth_key for 60 seconds.
|
2023-10-23 13:02:04 +03:00 |
|
levlam
|
1f66cc7b14
|
Unconditionally return status to recreate connection.
|
2023-10-23 12:51:50 +03:00 |
|
levlam
|
996ad86984
|
Fix reaction showing for anonymous administrators.
|
2023-10-23 11:07:03 +03:00 |
|
levlam
|
605a3af4b2
|
Add and use td::any_of.
|
2023-10-21 20:41:31 +03:00 |
|
levlam
|
687c6c40c2
|
Reload message views more often for newer messages.
|
2023-10-20 22:33:15 +03:00 |
|
levlam
|
deda76beda
|
Poll at most last 25 viewed messages.
|
2023-10-20 21:30:09 +03:00 |
|
levlam
|
74396f65a1
|
Add class StickerListType.
|
2023-10-19 15:12:26 +03:00 |
|
levlam
|
df1e95a57d
|
Mark that td_api::getDefault*Stickers are allowed only for users.
|
2023-10-19 14:16:33 +03:00 |
|
levlam
|
cabdd047b9
|
Don't update pts_diff on PTS initialization.
|
2023-10-19 11:51:33 +03:00 |
|
AYMEN Mohammed
|
50c3bf2e4f
|
Fix typos. (#2641)
|
2023-10-18 19:12:31 +03:00 |
|
levlam
|
6c0722ed2e
|
Mark that td_api::setChatMessageAutoDeleteTime is allowed only for users.
|
2023-10-18 19:08:28 +03:00 |
|
levlam
|
483b9d73c4
|
Remove unneeded (void) for empty parameter list.
|
2023-10-17 23:58:44 +03:00 |
|
levlam
|
f441415da2
|
Allow to react anonymous group creator on behalf of a supergroup.
|
2023-10-16 10:35:47 +03:00 |
|
levlam
|
4c64a7522c
|
Disallow reactions by anonymous administrators.
|
2023-10-16 10:21:21 +03:00 |
|
levlam
|
fab24473ca
|
Fix processing of unexpected DestroyAuthKeyRes.
|
2023-10-15 21:25:07 +03:00 |
|
levlam
|
1c588eda01
|
Minor improvements.
|
2023-10-15 01:20:09 +03:00 |
|
levlam
|
90fd69b202
|
Add UpdatesManager::is_acceptable_message_media.
|
2023-10-14 22:48:16 +03:00 |
|
levlam
|
7a6d6cf492
|
Fix max_proxy_id_ initialization.
|
2023-10-14 03:06:01 +03:00 |
|
levlam
|
8a711b56d9
|
Limit the number of ignored updates before end of the first get difference.
|
2023-10-14 03:00:54 +03:00 |
|
levlam
|
f098853eb5
|
Add descriptions for MessageContentDupType values.
|
2023-10-14 02:49:50 +03:00 |
|
levlam
|
8abe652785
|
Don't allow forward of stories to secret chats.
|
2023-10-14 02:47:49 +03:00 |
|
levlam
|
4ed0b23c9c
|
Update version to 1.8.20.
|
2023-10-13 00:45:38 +03:00 |
|
levlam
|
12ffa253b3
|
Remove empty stored proxy from binlog.
|
2023-10-12 23:48:40 +03:00 |
|
levlam
|
eed6e0bba6
|
Don't try to init proxies if they have never been added.
|
2023-10-12 23:41:46 +03:00 |
|
levlam
|
93ddc9c3db
|
Remove support for dropping old PMC-based chat database.
|
2023-10-12 23:14:17 +03:00 |
|
levlam
|
97a401cd04
|
Don't use slow BinlogKeyValue::erase_by_prefix for bots on each start.
|
2023-10-12 22:53:12 +03:00 |
|
levlam
|
861f0edab4
|
Replace TopDialogManager.is_active_ with !is_bot().
|
2023-10-12 22:30:28 +03:00 |
|
levlam
|
6b576bb2e3
|
Don't postpone updates for bots before first getDifference.
|
2023-10-12 19:26:18 +03:00 |
|
levlam
|
8d2d01abcc
|
Always postpone updateChatLastMessage in getCurrentState.
|
2023-10-11 00:28:56 +03:00 |
|
levlam
|
844e6f2bfb
|
Pass source as pointer to on_update_message_id.
|
2023-10-10 23:47:28 +03:00 |
|
levlam
|
367b2af164
|
Make MessageOrigin fields private.
|
2023-10-09 21:29:23 +03:00 |
|
levlam
|
94f72a026c
|
Inline last usage of MessagesManager::is_forward_info_sender_hidden.
|
2023-10-09 21:27:14 +03:00 |
|
levlam
|
21068870f0
|
Add MessageOrigin::hide_sender_if_needed.
|
2023-10-09 21:24:22 +03:00 |
|
levlam
|
b10220a495
|
Add MessageOrigin::has_sender_signature().
|
2023-10-09 21:16:06 +03:00 |
|
levlam
|
ae6e8b5a91
|
Add MessageOrigin::get_sender_name().
|
2023-10-09 21:10:09 +03:00 |
|
levlam
|
9e82513802
|
Add and use MessageOrigin::get_message_full_id.
|
2023-10-09 20:44:44 +03:00 |
|
levlam
|
7b1408d44e
|
Add and use MessageOrigin::get_sender.
|
2023-10-09 20:06:23 +03:00 |
|
levlam
|
8da2eba168
|
Add MessageOrigin::add_user_ids/add_channel_ids.
|
2023-10-09 19:20:53 +03:00 |
|
levlam
|
c05b5ba3e5
|
Add MessageOrigin::add_dependencies.
|
2023-10-09 18:56:21 +03:00 |
|
levlam
|
c86d4d1036
|
Add class MessageOrigin.
|
2023-10-09 18:48:01 +03:00 |
|
levlam
|
d9d3697987
|
Remove imported check from is_forward_info_sender_hidden.
|
2023-10-09 14:23:22 +03:00 |
|
levlam
|
13d02a8644
|
Add separate class messageImportInfo.
|
2023-10-09 12:20:32 +03:00 |
|
levlam
|
b5bf594662
|
Improve messageBotWriteAccessAllowed class.
|
2023-09-28 15:15:00 +03:00 |
|
levlam
|
e3d89cf90f
|
Add messageReaction.used_sender_id.
|
2023-09-28 14:32:08 +03:00 |
|
levlam
|
0fd3c55547
|
Add addedReaction.is_outgoing.
|
2023-09-28 13:25:33 +03:00 |
|
levlam
|
7d2d0b9f2e
|
Improve names of MessageReaction functions.
|
2023-09-27 17:25:03 +03:00 |
|
levlam
|
4a02f50969
|
Add chatBoostStatus.boost_url.
|
2023-09-25 18:40:55 +03:00 |
|
levlam
|
9a40ea0f10
|
Update layer to 165.
|
2023-09-25 18:16:26 +03:00 |
|
levlam
|
de32750836
|
Use Dependencies to load data for binlog events if appropriate.
|
2023-10-08 23:16:59 +03:00 |
|
|
986f1ab469
|
Fix typo in docs
|
2023-10-07 11:49:40 +03:00 |
|
levlam
|
4eb9020d53
|
Use FlatHashSet for disallowed subdomains.
|
2023-10-07 11:46:47 +03:00 |
|
levlam
|
409dda8d77
|
Add more t.me subdomains to exceptions.
|
2023-10-07 11:42:20 +03:00 |
|
levlam
|
6c88f6dbfe
|
Update list of TLDs.
|
2023-10-06 00:22:43 +03:00 |
|
levlam
|
9289270cd9
|
Close databases and binlog on another thread.
|
2023-10-05 21:50:53 +03:00 |
|
levlam
|
b41a51f2ec
|
Use add_to_top if possible.
|
2023-10-04 16:18:20 +03:00 |
|
levlam
|
14b10c7682
|
Fix my recent chosen reaction chat id also for objects received from the server.
|
2023-10-04 16:02:53 +03:00 |
|
levlam
|
74679944af
|
Remove error-prone server_time_cached.
|
2023-10-04 12:24:58 +03:00 |
|
levlam
|
2a0d757ec6
|
Explicitly pass Unix time to can_get_story_viewers.
|
2023-10-04 11:28:56 +03:00 |
|
levlam
|
51e23dd458
|
Decrease MIN_DELETED_ASYNCHRONOUSLY_MESSAGES.
|
2023-10-02 20:38:59 +03:00 |
|
levlam
|
ceaa37fe0d
|
Simplify set_dialog_is_pinned implementation.
|
2023-10-01 21:49:15 +03:00 |
|
levlam
|
c474942666
|
Use add_to_top.
|
2023-10-01 21:17:30 +03:00 |
|
levlam
|
72b8a29d89
|
Fix documentation misprint.
|
2023-09-30 01:43:43 +03:00 |
|
levlam
|
97ec3eacf4
|
Fix get_percentage_value.
|
2023-09-28 19:54:36 +03:00 |
|
levlam
|
5c93447ade
|
Increase MessageUnsupported version to reget messages with boost links.
|
2023-09-28 19:04:50 +03:00 |
|
levlam
|
5d7f34f659
|
Add StoryManager::has_unexpired_viewers.
|
2023-09-28 16:31:17 +03:00 |
|
levlam
|
5b072215a7
|
Improve media_timestamp documentation.
|
2023-09-28 00:53:10 +03:00 |
|
levlam
|
469f87c2bc
|
Allow to remove media_album_id for yet unsent messages.
|
2023-09-28 00:50:09 +03:00 |
|
levlam
|
32df5ab459
|
Fix documentation misprints.
|
2023-09-28 00:44:35 +03:00 |
|
levlam
|
a65f14fff6
|
Improve log messages.
|
2023-09-27 16:22:16 +03:00 |
|
levlam
|
a6389d3520
|
Recheck active stories if failed to find some of them.
|
2023-09-27 16:15:18 +03:00 |
|
levlam
|
7b9abf3eca
|
Explicitly restart timeout.
|
2023-09-27 15:31:34 +03:00 |
|
levlam
|
93d17802e3
|
Fix saving of active stories.
|
2023-09-27 14:30:44 +03:00 |
|
levlam
|
bb8070ed44
|
Reload chats to send stories once a day.
|
2023-09-27 13:31:09 +03:00 |
|
levlam
|
a4016cef70
|
Add source to update_story_list_sent_total_count.
|
2023-09-27 00:40:36 +03:00 |
|
levlam
|
23683f40f0
|
Send updateChatActiveStories for stories loaded from database in decreasing order.
|
2023-09-27 00:35:47 +03:00 |
|
levlam
|
ab673a959b
|
Add some index checks.
|
2023-09-26 14:03:10 +03:00 |
|
levlam
|
ce5c3f32e7
|
Support alternative boost links.
|
2023-09-26 13:08:54 +03:00 |
|
levlam
|
84f2985154
|
Init boolean message fields closer to their first usage.
|
2023-09-25 22:52:42 +03:00 |
|
levlam
|
83df57a102
|
Remove MessageInfo.flags.
|
2023-09-25 22:48:35 +03:00 |
|
levlam
|
09ced5689b
|
Remove most MESSAGE_FLAG usages.
|
2023-09-25 22:09:31 +03:00 |
|
levlam
|
9a44005187
|
Add UpdatesManager::fix_short_message_flags.
|
2023-09-25 21:56:36 +03:00 |
|
levlam
|
155095dff7
|
Move get_message_public_forwards to StatisticsManager.
|
2023-09-25 21:39:02 +03:00 |
|
levlam
|
7dc1aed0d2
|
Use can_get_message_statistics in send_get_message_public_forwards_query.
|
2023-09-25 21:23:14 +03:00 |
|
levlam
|
235d884593
|
Improve can_manage_chat documentation.
|
2023-09-25 20:27:55 +03:00 |
|
levlam
|
9b4266c0c9
|
Remove now wrong CHECK.
|
2023-09-25 17:11:36 +03:00 |
|
levlam
|
1c758bbade
|
Always send updateAuthorizationState, even the state ID is the same.
|
2023-09-25 16:07:21 +03:00 |
|
levlam
|
0d16085d69
|
Just ignore views of sponsored messages from history preview or unidentified places.
|
2023-09-24 03:09:53 +03:00 |
|
levlam
|
2de39ffffe
|
Fix can_have_input_media for stories.
|
2023-09-23 16:33:34 +03:00 |
|
levlam
|
2589c3fd46
|
Update version to 1.8.19.
|
2023-09-22 16:22:03 +03:00 |
|
levlam
|
7eef4ec47a
|
Add InvalidateSignInCodesOnServerLogEvent.
|
2023-09-22 16:16:14 +03:00 |
|
levlam
|
df3d50b056
|
Add ResetWebAuthorizationsOnServerLogEvent.
|
2023-09-22 16:04:00 +03:00 |
|
levlam
|
86185f3b8e
|
Add ResetWebAuthorizationOnServerLogEvent.
|
2023-09-22 15:58:25 +03:00 |
|
levlam
|
e65059e540
|
Add SetAuthorizationTtlOnServerLogEvent.
|
2023-09-22 15:49:51 +03:00 |
|
levlam
|
fb859209c1
|
Add SetAccountTtlOnServerLogEvent.
|
2023-09-22 15:06:53 +03:00 |
|
levlam
|
6600f9279e
|
Add SetDefaultHistoryTtlOnServerLogEvent.
|
2023-09-22 15:03:02 +03:00 |
|
levlam
|
b222f48d05
|
Add ResetAuthorizationsOnServerLogEvent.
|
2023-09-22 14:50:44 +03:00 |
|
levlam
|
f2b2f01c33
|
Add ResetAuthorizationOnServerLogEvent.
|
2023-09-22 14:40:53 +03:00 |
|
levlam
|
e6fb913798
|
Add ChangeAuthorizationSettingsOnServerLogEvent.
|
2023-09-22 14:22:24 +03:00 |
|
levlam
|
df563e781e
|
Explicitly specify TLObjectStorer's template parameter.
|
2023-09-21 21:31:59 +03:00 |
|
levlam
|
4c8ab2bf29
|
Send at most 1000 queries in a container.
|
2023-09-21 21:22:33 +03:00 |
|
levlam
|
14af252795
|
Improve names of create_*_storer functions.
|
2023-09-21 21:19:18 +03:00 |
|
levlam
|
254a3bfef0
|
Remove useless check.
|
2023-09-21 20:41:11 +03:00 |
|