Commit graph

30 commits

Author SHA1 Message Date
solarin ce93c766c4 ! fixed conflicts
+ eol
2020-04-06 10:49:19 +04:00
solarin 9623f9d5ac Revert "+ overload for method InviteToChannel"
This reverts commit 45be5f51d3.
2020-04-06 10:45:40 +04:00
solarin 45be5f51d3 + overload for method InviteToChannel
! filter wasn't actually used
! renamed the ParticipantTypes -> ParticipantFilterTypes
2020-04-06 10:22:41 +04:00
solarin c28a41c03f removed unnecessary file 2020-04-05 16:00:25 +04:00
solarin 3721e8cfee added methods to get the participants of a group/channel 2020-04-05 15:50:09 +04:00
solarin 65ff8ccbc1 2020-04-05 15:42:48 +04:00
Andres G. Aragoneses 2d4aa3e8f9 style: more consistent naming removing underscores
There were less places with underscores in field names than
places without them, so we now are consistent with the most
abundant occurrence.
2020-04-03 20:31:24 +04:00
solarin e067688a48 tabs-> 4 spaces
added the csproj
2020-04-03 17:15:53 +04:00
CheshireCaat 7230b9b509 Requests refactoring (#900)
* Remove unused requests.
* Move PingRequest and AckRequest to TLSharp.Core.Network.Requests.
2020-01-25 13:04:50 +08:00
CheshireCaat 8729b7d85b Exceptions moved to separate folders (#899)
Exceptions from MtProtoSender.cs to TLSharp.Core/Network/Exceptions
Exceptions from TelegramClient.cs to TLSharp.Core/Exceptions
2020-01-25 02:28:37 +08:00
Andres G. Aragoneses 60a3c62357 Core: avoid possible infinite loop if switching to same DC
People are reporting that under some circumstances, an infinite
loop could happen when TLSharp tries to handle a reconnection to
a different DC, if the DC instructed to be used is the same as
the one that was used in the last connection.

Not sure how could this happen (although the analysis present in
this github issue [1] might help understand it), but this commit
helps to make TLSharp fail fast (with an exception) instead of an
infinite loop from now on, which will help avoiding people file
issues such as [2] and [3] and instead maybe file a proper bug
report easier to understand, to try to fix the underlying root
cause.

[1] https://github.com/sochix/TLSharp/issues/719
[2] https://github.com/sochix/TLSharp/issues/803
[3] https://github.com/sochix/TLSharp/issues/839
2019-02-10 13:53:46 +01:00
Eugene Timokhov 8b2f227142 Added possibility to do ping request (SendPingAsync method) 2016-11-07 02:40:19 +03:00
Ilya P b823c34078 Move upload helper to helpers 2016-10-23 14:12:34 +03:00
Ilya P f40034ad09 Merge remote-tracking branch 'refs/remotes/origin/master' into pr/250
# Conflicts:
#	TLSharp.Core/TLSharp.Core.csproj
2016-10-23 11:06:00 +03:00
Andres G. Aragoneses b129e655f8 build: switch to lower framework version (4.5.2 -> 4.5)
This change is good because:
a) It's better to target a lower target framework version if
the project doesn't necessarily depend on the new features
of the newer versions (so, bigger target audience).
b) It lets compile the project with implementations of the
.NET Framework that are not compatible with 4.5.2. For example,
after this change I can successfully build TLSharp with the
Mono v4.2.1 that comes in my Ubuntu Linux 16.04.1.
2016-10-21 23:58:21 +08:00
Afshin Arani 79b02b9295 Upload Helper 2016-10-14 11:45:33 +03:30
Afshin Arani 6af7c66a81 Redesign Everything 2016-09-24 17:08:26 +03:30
Afshin Arani 1c2e354967 Update Everything 2016-09-22 17:01:59 +03:30
Ilya Pirozhenko 8411235fe1 Merge branch 'pr/203'
Conflicts:
	README.md
	TLSharp.Core/TelegramClient.cs
	TLSharp.Tests/TLSharpTests.cs
2016-09-13 22:24:00 +03:00
steavy29 1c31794751 Added GetUpdatesDifference and GetUpdatesState functions implementations. 2016-09-13 13:34:32 +03:00
steavy29 ccf2008404 Added implementation of AddChatUser/DeleteChatUser/LeaveChat 2016-09-09 19:56:47 +03:00
David Woakes 089f80fcce Add contacts.GetContacts method to client 2016-07-21 06:57:15 +01:00
eaba ac05172359 Merge pull request #2 from chusothe41/master
UserFullConstructor : UserFull no accepts self id.
2016-05-23 15:07:44 +01:00
Jesus 6365297aaf UserFullConstructor : UserFull no accepts self id.
Added test method to GetUserFull
Added info to README.md
2016-05-18 12:55:22 +02:00
eaba 9d69d4881b Update TLSharp.Core.csproj 2016-05-16 09:28:09 +01:00
Ilya Pirozhneko 103e41fb2b Updates 2016-02-07 13:28:41 +03:00
Ilya Pirozhneko 1dce594e43 - Update layer to 23
- Start implementing get user by userName
2016-02-01 23:39:39 +03:00
ra0o0f 7e18b68d72 UploadFile and SendMediaMessage 2016-01-17 12:46:44 +03:30
Lonami dcdb2405b5 More requests added
More requests added:
- GetDialogsRequest
- GetFileRequest
- GetHistoryRequest
- GetNearestDcRequest
- GetUsersRequest
2015-10-14 18:16:27 +02:00
Ilya Pirozhneko 3bb487a194 TLSharp and Tests 2015-09-28 10:01:17 +08:00