Commit graph

300 commits

Author SHA1 Message Date
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
Wizou 733d106265 store api_id in session file. optional session_key (=api_hash by default) as encryption key 2022-01-25 16:37:09 +01:00
Wizou 6ff0dc40ed Example for SendAlbumAsync 2022-01-24 22:52:18 +01:00
Wizou 28803412c1 FAQ about "connection shutdown" 2022-01-23 14:42:35 +01:00
Wizou 8e962178f9 Improved session file writes 2022-01-23 01:28:10 +01:00
Wizou 44ee933b03 webdoc "only simple chat" for 4 more methods 2022-01-21 19:04:33 +01:00
Wizou f6e14c7499 Maintain AddressFamily when migrating DCs 2022-01-21 15:22:21 +01:00
Wizou f711948da7 factorize IndirectStream 2022-01-21 01:40:10 +01:00
Wizou 3730cdc7f0 Added helper SendAlbumAsync, and implicit operators/constructors for media 2022-01-20 02:44:43 +01:00
Wizou 411fcad556 Upgrade to layer 137 2022-01-19 21:31:07 +01:00
Wizou 8d70f241ad ChatFull Participants helpers 2022-01-18 15:24:04 +01:00
Wizou 79224551e6 Prevent reactor reconnect if Dispose() was called 2022-01-17 16:54:34 +01:00
Wizou 0ed77ef984 Support GZipped array in RpcResult 2022-01-17 15:06:29 +01:00
Wizou cba347dc89 clone TcpHandler & PingInterval for secondary DCs 2022-01-13 14:22:52 +01:00
Wizou 6882e85fe1 TLS public key must be positive 2022-01-13 03:06:22 +01:00
Wizou 145ade4414 fix issue #21
Exception "An item with the same key has already been added" in Messages_GetHistory
2022-01-12 14:25:32 +01:00
Wizou c93481189a added HtmlToEntities and HtmlText.Escape 2022-01-12 02:54:59 +01:00
Wizou 0dffccc047 adding WinForms_app.zip 2022-01-12 00:37:55 +01:00
Wizou 83b4e8a4e7 clean dispose of TlsStream 2022-01-11 04:42:41 +01:00
Wizou d6d656c8fe Support for TLS MTProxy 2022-01-11 04:14:23 +01:00