Commit graph

717 commits

Author SHA1 Message Date
Wizou e923d65d53 Clamp TL stamps to 0..int.MaxValue, mapping edge to DateTime.Min/MaxValueaa 2025-11-15 18:21:15 +01:00
Wizou 4ad2f0a212 Fix incorrect bare type for DestroyAuthKey, RpcDropAnswer, DestroySession
Some checks failed
Dev build / build (push) Has been cancelled
2025-11-13 07:45:57 +01:00
Wizou 30bc536ebc Removed annoying Peer implicit long operator (reverts #229)
Some checks failed
Dev build / build (push) Has been cancelled
2025-11-09 22:32:47 +01:00
Wizou d6fdcab440 ToBytes TL.Serialization helper.
Warning: do not use for long-term storage because TL structures can change in future layers and may not be deserializable
2025-11-05 15:00:48 +01:00
Wizou 9ec2f31f72 Delete alt-session on AUTH_KEY_UNREGISTERED for renegociation 2025-10-31 18:21:11 +01:00
Wizou 4ccfddd22e Collect: Fix Channel losing participants_count 2025-10-31 00:36:24 +01:00
Wizou 9693037ef2 Added missing DownloadFileAsync(doc, videoSize) 2025-10-31 00:31:30 +01:00
Wizou 40bcf69bfb Change UserStatusOffline.was_online to a DateTime 2025-10-31 00:30:02 +01:00
Wizou 4875f75774 API Layer 216: topics methods/updates moved to prefix Messages_* (to support topics for bots), contact notes, groupcall comments, profile color, stargifts stuff 2025-10-31 00:27:32 +01:00
Wizou 2e95576be5 Encryption class public + TL Methods/Helpers 2025-10-31 00:14:48 +01:00
Wizou 48d005b605 Encryption class public + Methods table
Some checks failed
Dev build / build (push) Has been cancelled
2025-10-10 20:27:42 +02:00
Wizou a5323eaa86 api doc 2025-10-06 18:34:25 +02:00
Wizou 610d059b4c Fix: Messages_Search helper parameter name
Some checks failed
Dev build / build (push) Has been cancelled
2025-10-03 13:09:33 +02:00
Wizou 3f1036a559 Fix #335 GetAllDialogs infinite loop when last dialogs' messages are unavailable
Some checks failed
Dev build / build (push) Has been cancelled
2025-09-26 13:34:58 +02:00
Wizou 4578dea3a3 HtmlToEntities tolerate unclosed &.. html entities 2025-09-21 01:55:11 +02:00
Wizou 253249e06a API Layer 214: ChatTheme, main ProfileTab, user saved music, some StarGift & Store Payment stuff...
(that might not be the most recent API layer. check https://patreon.com/wizou for the latest layers)
2025-09-01 13:37:41 +02:00
Wizou eb52dccfa7 Helper OpenChat to monitor a group/channel without joining (#333)
Some checks failed
Dev build / build (push) Has been cancelled
2025-08-27 00:18:34 +02:00
Wizou a9bbdb9fc4 Try to improve diagnostics/handling of weird email login case (#331) 2025-08-27 00:06:30 +02:00
Wizou 5f411d45f9 API Layer 211.2: StarsTransaction flag posts_search 2025-08-16 13:01:43 +02:00
Wizou e16e39bfba Avoid using obsolete DataCenter info on alt-DC connect 2025-08-09 02:43:43 +02:00
Wizou 7faa3873f8 API Layer 211: Stories Albums, user's pending Stars Rating, SearchPosts + Check Flood, ...
(that might not be the most recent API layer. check https://patreon.com/wizou for the latest layers)
2025-08-02 02:05:49 +02:00
Wizou d9e4b7cc0f CollectUsersChats: don't update usernames from min info
Some checks failed
Dev build / build (push) Has been cancelled
(thx @riniba)
2025-08-01 00:17:12 +02:00
Wizou 30a982b0ac API Layer 210: user's Stars Rating, StarGift collections management & more characteristics...
(that might not be the most recent layer. check https://patreon.com/wizou for the latest layers)
2025-07-25 17:01:58 +02:00
Wizou e9543a690b Examples for download abort, and uploading streamable video (fix #325, thx @patelriki13)
Some checks failed
Dev build / build (push) Has been cancelled
2025-07-25 01:03:30 +02:00
Wizou a8fa32dfd5 Support single-quote arguments in HTML 2025-07-18 02:28:43 +02:00
Wizou 56ba15bc13 API Layer 209: Reply-to specific ToDo item
(that might not be the most recent layer. check https://patreon.com/wizou for the latest layers)
2025-07-14 22:38:51 +02:00
Wizou a3f41330b5 API Layer 207: StarGift.ReleaseBy
Some checks failed
Dev build / build (push) Has been cancelled
(that might not be the most recent layer. check https://patreon.com/wizou for the latest layers)
2025-07-10 01:50:09 +02:00
Wizou 52d948af2a Fix DateTime type of *_at fields
Some checks failed
Dev build / build (push) Has been cancelled
2025-07-10 01:49:25 +02:00
Wizou bdcf389ed2 API Layer 206: ToDo lists, suggested posts, choose TON vs Stars for gifts/transactions, ...
(for the very latest layers, go to https://patreon.com/wizou)
2025-07-08 19:47:44 +02:00
Wizou 4f7954db61 API Layer 204: Channel DMs (MonoForum), Forum Tabs, Saved peer/dialog stuff...
(for the very latest layers, go to https://patreon.com/wizou)
2025-07-08 19:47:35 +02:00
Wizou fa90e236e7 Helpers to download animated photos (DownloadFileAsync + photo.LargestVideoSize) 2025-06-29 16:42:27 +02:00
Wizou 25990a8477 Fix Salts management 2025-06-29 16:01:05 +02:00
Wizou 3ff1200068 Use signed DcId values (improved logs) 2025-06-26 22:02:26 +02:00
Wizou 04e043222e ParallelTransfers property can configure how many parallel download/upload of file chunks can occur at the same time. Default is 2 (optimal for non-premium accounts), was 10 in previous versions. 2025-06-24 19:11:14 +02:00
Wizou d49d620edd Fixed possible concurrency issue on msgId/seqno, that could freeze protocol or cause BadMsgNotification (during downloads for example)
Thanks goes to @Deeps00009
2025-06-24 19:01:52 +02:00
Wizou 5358471574 Fix fields serialization order on KeyboardButtonSimpleWebView 2025-06-02 02:41:06 +02:00
Wizou 8836f8372b API Layer 203: Stargift resale, auto-translation... 2025-05-14 18:18:20 +02:00
Wizou 6fb59286bd API Layer 202: E2E group calls
https://core.telegram.org/api/end-to-end/group-calls
2025-05-01 12:17:06 +02:00
Wizou eaea2d051a API Layer 201.2: business bot stars 2025-04-20 03:23:43 +02:00
Wizou 6d238dc528 Store less stuff in session data and reduce save frequency for better performance. 2025-04-06 19:48:43 +02:00
Wizou f495f59bc8 Use media DC for uploads 2025-04-02 05:58:04 +02:00
Wizou 3f1d4eba92 API Layer 201: Paid msg service messages, Gifts settings, Business bot rights, sentCodePayment, sponsored peers ... 2025-03-27 00:59:57 +01:00
Wizou e6a4b802e7 Html/Markdown: prune entities of length=0 (fix wiz0u/WTelegramBot#6) 2025-03-23 03:10:04 +01:00
Wizou 0867c044fa Handle CONNECTION_NOT_INITED 2025-03-12 02:17:36 +01:00
Wizou 1ecd7047ef API Layer 200: Paid messages, details on chat partner, ... 2025-03-08 00:21:50 +01:00
Wizou e67a688baa Building with Github Actions 2025-03-03 02:02:06 +01:00
Wizou b626c6c644 API Layer 199: reCAPTCHA, PaidReactionPrivacy 2025-02-13 14:12:04 +01:00
Wizou 1fab219ef6 Added EmojiStatusBase.DocumentId helper 2025-01-31 20:39:42 +01:00
Wizou edc6019f2e Better support for HTML &entities; in HtmlText 2025-01-30 02:22:05 +01:00
Wizou e6dde32538 Fix Messages_GetAllChats to include only your chats 2025-01-28 13:46:06 +01:00