Commit graph

89 commits

Author SHA1 Message Date
steavy29
c48109eee3 Added SignUp implementation. 2016-09-06 18:37:05 +03:00
steavy29
f98540bd7f Changed session store to return null when couldn't load instead of exception. 2016-09-06 18:20:06 +03:00
David Woakes
089f80fcce Add contacts.GetContacts method to client 2016-07-21 06:57:15 +01:00
David Woakes
397f20298e Fix spelling of Receive 2016-07-20 08:15:28 +01:00
David Woakes
15a51818f9 Fix spelling of Receive 2016-07-20 08:09:27 +01:00
David Woakes
7c8d5e089e Make line endings consistent (LF) 2016-07-20 07:26:55 +01:00
David Woakes
8026bd79dc Fix issues with GetDialogs
Default value of max_id = 0 returns all dialogs
Should return a class with lists of dialog, messages, chats and users.
Add UserForeignConstructor to list of constructors
Add missing detail to DialogConstructor (PeerNotifySettings)
Unpack datastream completely to avoid issue with Ionic exception causing
problems in userForeign parsing
Use more recent code for Dialog construction
2016-07-19 14:47:08 +01:00
Ilya Pirozhenko
b869a4f617 Merge pull request #156 from Starli0n/master
Add GetFile() method
2016-06-27 17:23:37 +03: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
Starli0n
ee4fbef8a9 Add GetFile() method 2016-05-17 14:22:14 +02:00
eaba
a2669bfe1a Add files via upload 2016-05-16 09:28:42 +01:00
eaba
9d69d4881b Update TLSharp.Core.csproj 2016-05-16 09:28:09 +01:00
eaba
ad94224fb5 Add files via upload 2016-05-16 09:25:07 +01:00
Jesus
5120b77b81 All classes that inherit from User and need "username" property have it.
UserFullConstructor Read changed to not to parse User (by default it parses a UserSelfConstructor, now uses UserRequestConstructor).
In Dictionary UserContactConstructor was signed with 0xf2fb8319 now 0xcab35e18 (That is the real one given by Telegram)
2016-05-13 10:58:25 +02:00
ahmadali shafiee
23404f751d argument change
it looks better
2016-04-21 15:30:40 +04:30
ahmadali shafiee
4a44709150 get apiHash and apiId in the constructor 2016-04-18 15:35:30 +04:30
ahmadali shafiee
504b63a6d7 formatting code (ctrl + k + d) 2016-04-18 15:20:57 +04:30
Ilya Pirozhneko
103e41fb2b Updates 2016-02-07 13:28:41 +03:00
Ilya Pirozhneko
84cbe0afc8 Updated readme 2016-02-04 17:05:48 +03:00
Ilya Pirozhneko
69700fdad0 Small improvements 2016-02-04 16:04:31 +03:00
Ilya Pirozhneko
9cc6942088 Added tests and fixes to SendMediaFunctionality and GetHistory 2016-02-03 22:36:39 +03:00
Ilya Pirozhneko
c77cfc064d Add by userName 2016-02-01 23:58:51 +03:00
Ilya Pirozhneko
1dce594e43 - Update layer to 23
- Start implementing get user by userName
2016-02-01 23:39:39 +03:00
Ilya Pirozhneko
e281f281dd Improved import contact method 2016-02-01 23:06:15 +03:00
Ilya Pirozhneko
824ba77e12 Added auto dc switching 2016-01-27 14:02:18 +03:00
Ilya Pirozhenko
f56ffc7c6f Merge pull request #65 from siml173/master
new completed method.
2016-01-21 11:51:00 +03:00
ra0o0f
7e18b68d72 UploadFile and SendMediaMessage 2016-01-17 12:46:44 +03:30
mohammad ahmady
7236cf4286 Create ImportContactRequest 2016-01-16 12:23:15 +03:30
mohammad ahmady
c7dbaaca73 Create GetContactRequest 2016-01-16 12:21:52 +03:30
mohammad ahmady
a7893c6d0d Create DeleteChatUserRequest 2016-01-16 12:20:32 +03:30
mohammad ahmady
25e1015e82 Merge pull request #1 from siml173/siml173-patch-1
Create AddChatUserRequest
2016-01-16 12:19:43 +03:30
mohammad ahmady
8df066aadc Create CreateChatRequest 2016-01-16 12:18:59 +03:30
mohammad ahmady
02d6e2b3af Create AddChatUserRequest 2016-01-16 12:13:24 +03:30
ra0o0f
dbe369b26d change how client receive tcp packets 2016-01-09 14:35:00 +03:30
Zero Dwide
79399df6fc bug fixed: users list size set wrong
var result was vector length, but again in next two lines, users_len used to set vector lenght, which was part of bytes related to parsing users.
according to https://core.telegram.org/method/users.getUsers :

first read => vector signature
second read => vector length
third + read  => loop for parsing users
2015-11-06 20:42:13 +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
b0a824988d Add proper exception messages 2015-10-01 20:55:02 +08:00
Ilya Pirozhneko
3bb487a194 TLSharp and Tests 2015-09-28 10:01:17 +08:00