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
Vyacheslav
dd77e4628f
Strong typed API for synchronous TDLib method execution in Java interface
...
`Client.execute` in Java interface is now strongly typed: returned TDLib object type depends on the return type defined in the corresponding Function class.
When TDLib error is occurred, method now throws `Client.ExecutionError`.
This change adds compile-time protection against return type change and allows using this pattern:
```
try {
TdApi.SpecificReturnType result = Client.execute(function);
// work with strongly typed resultl without casting and type checks
} catch (Client.ExecutionError error) {
// Handle error
}
```
2023-10-26 13:15:37 +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
87aff1320b
Add any_of benchmark.
2023-10-22 01:10:28 +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
AYMEN Mohammed
522d54483c
Remove outdated ENVIROMENT variable from tdweb worker.
2023-10-19 11:57:14 +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
cf423903a0
Add new entities to the fix_formatted_text test.
2023-10-18 13:14:07 +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
81d14838c4
Return unordered_map from prefix_get.
2023-10-16 10:11:09 +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
9fa5c685f6
Fix split between TdTargets and TdStaticTargets.
2023-10-15 00:57:35 +03:00
levlam
91b57ccceb
Suppress logging if failed to find Crc32c, Readline or Git.
2023-10-15 00:23:01 +03:00
Zephyr Lykos
ebd77d5152
Export static targets in a separate file
2023-10-14 23:56:00 +03:00
Zephyr Lykos
5881dde135
Fix finding CRC32C
2023-10-14 23:56:00 +03:00
levlam
90fd69b202
Add UpdatesManager::is_acceptable_message_media.
2023-10-14 22:48:16 +03:00