Commit graph

419 commits

Author SHA1 Message Date
Wizou 796b49546e Provide X number (if any) and generic message in RpcException. Retry only once on -503 error. 2022-04-11 12:08:17 +02:00
Wizou e6a1dbb24d No code change. Just moving methods around 2022-04-06 18:38:54 +02:00
Wizou 05752863bd Various minor stuff 2022-04-01 21:48:28 +02:00
Wizou 10e0e08bbb Examples for EntitiesTo* helpers 2022-03-30 15:17:28 +02:00
Wizou 2af9763a81 moved VPS doc to FAQ 2022-03-29 17:04:58 +02:00
Wizou 63faf9a070 updated EXAMPLES.md for Program_Heroku 2022-03-28 13:24:37 +02:00
Wizou 74f22a2f5c added Heroku examples with database store 2022-03-28 12:41:28 +02:00
Wizou 5c5b8032b9 Fix race condition on pendingRpcs adding/pulling 2022-03-27 22:29:48 +02:00
Wizou a54cc92618 ctor for Input User/Channel with mandatory access_hash parameter 2022-03-27 22:26:57 +02:00
Wizou c2f228f7de ctor for Input User/Channel with mandatory access_hash parameter 2022-03-27 12:18:43 +02:00
Wizou 67da1da8c0 added xmldoc for these helpers 2022-03-23 17:33:23 +01:00
Wizou 8c5fe45c44 added EntitiesToMarkdown & EntitiesToHtml helpers 2022-03-23 17:04:17 +01:00
Wizou 073056c079 added InputUserBase.UserId helper property 2022-03-23 13:50:43 +01:00
Wizou b31c9b4366 Split TL.Schema.cs and TL.Helpers.cs 2022-03-21 21:25:30 +01:00
Wizou f339fe1160 lock sessionStore while updating/writing buffer to store
(useful to avoid buffer copy for custom stores)
2022-03-20 13:09:25 +01:00
Wizou b31aa55c34 updated API docs 2022-03-18 03:53:19 +01:00
Wizou 8fbd564c11 explain 2FA in ReadMe 2022-03-10 14:55:32 +01:00
Wizou d0d63547b4 cancellationToken for Channels_GetAllParticipants 2022-03-10 14:39:44 +01:00
Wizou 07fcb2d9e4 Upgrade to layer 139 : RTMP groupcalls, video stickerset, ... 2022-03-10 14:35:42 +01:00
Wizou 78d7e250f3 added Messages_GetAllDialogs. UserOrChat(null) returns null 2022-02-27 22:06:13 +01:00
Wizou f3a55385ab updated web doc + FAQ TLSharp 2022-02-26 05:22:41 +01:00
Wizou a178d4be6f easier access to Document filename 2022-02-24 17:12:52 +01:00
Wizou f282d270ae Retry API call once on error -503 Timeout 2022-02-24 16:44:27 +01:00
Wizou 722a8313b0 Updated XML doc comments from corefork 2022-02-23 23:50:52 +01:00
Wizou 902a37443f Remove dependencies on Microsoft.Bcl.HashCode & System.Formats.Asn1 2022-02-22 11:50:55 +01:00
Wizou bdbf17aa07 Remove dependencies on Microsoft.Bcl.HashCode & System.Formats.Asn1 2022-02-19 03:30:50 +01:00
Wizou 74bba5721e Updated docs. Negative PingInterval 2022-02-14 15:17:15 +01:00
Wizou 4e07c03a0b CollectUsersChats helper for your dictionaries (min-aware). CollectAccessHash won't collect 'min' access_hash. 2022-02-14 02:02:13 +01:00
Wizou 0667d36ed8 updated example Programs.cs 2022-02-13 03:15:23 +01:00
Wizou 34f05f5947 releasing 2.1.1 2022-02-13 03:00:17 +01:00
Wizou 6646e85e78 more optional parameters. Messages_Search<> helper 2022-02-13 02:50:10 +01:00
Wizou 7570732a3f call CollectField only if CollectAccessHash 2022-02-11 18:05:12 +01:00
Wizou 3fe9002f2e Remove OLDKEY/MTPROTO1 code 2022-02-11 02:43:48 +01:00
Wizou 2982e09c9b use static variables in Program_ListenUpdates 2022-02-10 02:28:32 +01:00
Wizou 9b52cad74d Channels_GetAllParticipants: added logs 2022-02-09 23:20:21 +01:00
Wizou 4ebddba95d Channels_GetAllParticipants: restore original name 2022-02-09 22:58:26 +01:00
Wizou 08484fff41 optimized Channels_GetAllParticipantsSlow. Because of Telegram FLOOD_WAITs, no need for parallel queries 2022-02-09 22:27:55 +01:00
Wizou 5e5e51102f renamed Channels_GetAllParticipantsSlow. use clever alphabet and detect lying subcounts to fetch more entries. (WIP) 2022-02-09 22:17:19 +01:00
Wizou e36ea252fb adding ASPnet_webapp.zip 2022-02-08 18:49:39 +01:00
Wizou 403969356f Fix InvalidCast when reading an enum vector 2022-02-07 22:06:10 +01:00
Wizou 8bbb753c32 fix (uint) unboxing on fields "int flags" (improved) 2022-02-06 23:22:51 +01:00
Wizou bedb44582e fix (uint) unboxing on fields "int flags" 2022-02-06 14:16:00 +01:00
Wizou 272a89f562 Released 2.0.2 2022-02-04 22:33:05 +01:00
Wizou 1b1243a758 fix #27: compatibility with Mono/Android 2022-02-04 02:51:14 +01:00
Wizou 72fba55407 Upgrade to layer 138 2022-02-03 16:55:16 +01:00
Wizou e1023ecae6 renamed longitude long_ to lon. UserOrChat now returns null instead of throwing if peer unknown (shouldn't happen anyway). UserOrChat on UpdatesBase 2022-01-29 16:47:47 +01:00
Wizou cdba0f7088 optimize session writes 2022-01-27 17:34:16 +01:00
Wizou 176809a5be Support for custom sessionStore 2022-01-26 22:00:52 +01:00
Wizou 12850182ff fix #25: possible NullReferenceException with Document.LargestThumbSize
fix undisposed FileStream on broken session file.
2022-01-26 11:08:33 +01:00
Wizou 582027e800 some renaming 2022-01-25 23:16:28 +01:00