Commit graph

286 commits

Author SHA1 Message Date
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
Wizou 16258cb5ba minor doc 2022-01-07 23:10:18 +01:00
Wizou 6bdb0b9cc7 reduce allocations for encryption 2022-01-07 01:14:16 +01:00
Wizou 0c1785596d various minor stuff 2022-01-07 00:24:47 +01:00
Wizou e6f1087c54 minor doc 2022-01-05 09:44:47 +01:00
Wizou 7967f9a16c layer doc about reactions 2022-01-03 19:18:40 +01:00
Wizou 5addcea0a2 MTProxy example 2022-01-03 18:50:16 +01:00
Wizou 28f099ed1e Transport obfuscation and MTProxy support 2022-01-03 18:15:32 +01:00
Wizou 88d2491db9 MarkdownToEntities: spoiler with ||
see https://core.telegram.org/bots/api/#markdownv2-style
2021-12-31 12:10:28 +01:00
Wizou 024c5ba705 More helpers to generically manage Chats & Channels 2021-12-31 08:38:41 +01:00
Wizou e3b7d17d2b Handle BadMsgNotification 16/17 by resynchronizing server time 2021-12-30 23:45:28 +01:00
Wizou 4739c9f539 Fix risk of having only WTelegram.session.tmp if killing the program in the middle of Delete/Move
(that's what File.Replace was trying to avoid!!)
2021-12-30 23:43:00 +01:00
Wizou a7fcbf60fa MarkdownToEntities allows spoiler with ~~ 2021-12-30 17:50:43 +01:00
Wizou 6df9f76cae Examples for changing 2FA password, and sending a message reaction 2021-12-30 17:38:07 +01:00
Wizou e91c20ba8e Added GetFullChat helper 2021-12-30 17:37:25 +01:00