Wizou
|
7948dbd8e3
|
Remove deprecated CollectAccessHash system
|
2023-02-14 11:14:17 +01:00 |
|
Wizou
|
66d8b75463
|
deprecate the experimental CollectAccessHash system
|
2023-01-12 01:37:12 +01:00 |
|
Wizou
|
fd42d3e6df
|
Upgrade to layer 148: Topics, Usernames, Sticker keywords...
+ support for flags2 has_fields
|
2022-11-01 19:26:40 +01:00 |
|
Wizou
|
a45cd0f44e
|
various optimizations
|
2022-10-01 13:56:43 +02:00 |
|
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
|
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
|
bdbf17aa07
|
Remove dependencies on Microsoft.Bcl.HashCode & System.Formats.Asn1
|
2022-02-19 03:30:50 +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
|
7570732a3f
|
call CollectField only if CollectAccessHash
|
2022-02-11 18:05:12 +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
|
1b1243a758
|
fix #27: compatibility with Mono/Android
|
2022-02-04 02:51:14 +01:00 |
|
Wizou
|
0ed77ef984
|
Support GZipped array in RpcResult
|
2022-01-17 15:06:29 +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
|
024c5ba705
|
More helpers to generically manage Chats & Channels
|
2021-12-31 08:38:41 +01:00 |
|
Wizou
|
51a89bc6a1
|
change Dictionary of UserBase into Dictionary of User
|
2021-12-25 03:20:22 +01:00 |
|
Wizou
|
8efa248aef
|
Added LastSeenAgo
and other helpers
|
2021-12-10 17:21:39 +01:00 |
|
Wizou
|
f289b9e2e5
|
Correctly handle RPC Error for methods returning bool.
Also don't hang CallAsync on ReadRpcResult deserializing error
|
2021-12-07 16:35:23 +01:00 |
|
Wizou
|
409cf25619
|
Fix 444 trying to download from a media_only DC with unnegociated AuthKey
|
2021-12-05 07:21:30 +01:00 |
|
Wizou
|
934895a81c
|
Gracefully handle a disconnection from an idle secondary DC
(don't reconnect)
|
2021-11-21 00:43:39 +01:00 |
|
Wizou
|
30f20fad0e
|
[rollback] Use records for TL methods
It was a nice idea and it worked but it made the lib 3x larger just for sugar syntax in generated code
|
2021-11-10 02:17:08 +01:00 |
|
Wizou
|
9e4d67ed86
|
Use records for TL methods
|
2021-11-10 01:20:54 +01:00 |
|
Wizou
|
2b95b235f3
|
Added IPeerResolver
|
2021-11-09 23:23:16 +01:00 |
|
Wizou
|
d557b4fc91
|
inheritAfter => inheritBefore (improved perf)
|
2021-11-09 15:01:59 +01:00 |
|
Wizou
|
382e78cccc
|
Added some helpers. SendMessage/Media return the transmitted Message. Fixed minor issues
|
2021-11-09 01:43:27 +01:00 |
|
Wizou
|
dbcb6814ff
|
renamed ITLObject to IObject
|
2021-11-07 16:52:58 +01:00 |
|
Wizou
|
fd9ec2eaed
|
Get rid of ITLFunction lambda writer and use declared ITLMethod<Ret> classes instead
|
2021-11-07 16:50:59 +01:00 |
|
Wizou
|
e7637011e1
|
xmldoc for RpcException possible errors and missing type descriptions
|
2021-11-03 18:20:54 +01:00 |
|
Wizou
|
718e96a763
|
chats and users fields are now serialized as Dictionary for easier access
|
2021-10-20 19:12:50 +02:00 |
|
Wizou
|
4b1ae1c5e0
|
Decode max timestamp (= forever) as DateTime.MaxValue
|
2021-10-17 03:18:36 +02:00 |
|
Wizou
|
d4c373d95f
|
Nullable ctor: Empty classes are now converted into/from a null value. This simplifies the hierarchy
|
2021-09-30 03:40:08 +02:00 |
|
Wizou
|
78a0a47c50
|
Fix serialization issue with null string. DownloadFileAsync for documents now returns the MIME type (more accurate)
|
2021-09-27 03:25:28 +02:00 |
|
Wizou
|
e3b70fda19
|
BREAKING CHANGE: Introducing inheritAfter which allows for better/simplified (but possibly changed) class hierarchy generation.
Also improved layers class generation.
|
2021-09-26 05:07:17 +02:00 |
|
Wizou
|
c570f3d8d0
|
support TL bare vectors
|
2021-09-24 12:29:04 +02:00 |
|
Wizou
|
3918362743
|
Fix "Non-negative number" issue with large bytes fields
|
2021-09-18 02:30:12 +02:00 |
|
Wizou
|
37974c70b7
|
Convert TL functions to extension methods
|
2021-09-17 04:53:02 +02:00 |
|
Wizou
|
b17349bd75
|
Added auto-reconnect system, hoping it will help with connection shutdown issues
README: added Troubleshooting guide
|
2021-09-16 04:47:15 +02:00 |
|
Wizou
|
4174b21a83
|
Experimental collection of id/access_hash pairs
|
2021-08-30 01:31:08 +02:00 |
|
Wizou
|
593463f46b
|
Upgrade to layer 131
not available as JSON on official website https://core.telegram.org/schema
but found as TL files at https://github.com/telegramdesktop/tdesktop/tree/dev/Telegram/Resources/tl
|
2021-08-20 14:45:39 +02:00 |
|
Wizou
|
cc83944985
|
Better handle bare requests. Handle more service messages.
|
2021-08-14 15:15:41 +02:00 |
|
Wizou
|
e01caba162
|
Fix issue with actual RpcResult in MsgContainer ; Parallelize upload of file parts
|
2021-08-13 07:06:44 +02:00 |
|
Wizou
|
897b61747a
|
Reactor system for parallelization of requests
|
2021-08-13 00:28:34 +02:00 |
|
Wizou
|
5e6421d76e
|
simplify ITLFunction<X> into ITLFunction
|
2021-08-12 12:37:56 +02:00 |
|
Wizou
|
674130e079
|
TL Functions are now direct Client methods ; Renamed/rationalized serialization methods
|
2021-08-09 11:41:50 +02:00 |
|
Wizou
|
95870c485d
|
updated README
|
2021-08-07 07:58:08 +02:00 |
|
Wizou
|
4dd03c66a6
|
Move code to src folder
|
2021-08-07 06:25:51 +02:00 |
|