Commit graph

416 commits

Author SHA1 Message Date
Wizou e8b0bb9245 ActiveUsernames helpers
Github action telegram-api
2023-05-17 11:45:06 +02:00
Wizou 98f6a26b09 api doc 2023-05-11 12:46:34 +02:00
Wizou 30fc1cad8d Support chats cache in AnalyzeInviteLink/GetMessageByLink
(closes #148)
2023-05-04 17:07:47 +02:00
Wizou c052ac2e2c fix issue with Channels_GetAdminLog helper 2023-05-03 14:24:52 +02:00
Wizou 30618cb316 Implement Future Salts mecanism to prevent replay attacks 2023-05-02 22:49:38 +02:00
Wizou 753ac12eb1 OnUpdate is now only for updates. OnOther is used for other notifications 2023-05-01 18:21:03 +02:00
Wizou 5adde27f88 new TLS client hello generation 2023-04-29 16:45:03 +02:00
Wizou 35c492de4f moved IsGroup IsChannel up to ChatBase 2023-04-25 20:47:57 +02:00
Wizou e33184fabb improved api doc for Flags 2023-04-25 16:51:39 +02:00
Wizou 6a75f0a9d8 Fix progressCallback abort/exception handling during DownloadFileAsync 2023-04-25 13:19:15 +02:00
Wizou 7c7a2a0625 Telegram suddenly removed Messages_GetAllChats method 🤦🏻‍♂ So here it is back, as a helper based on GetAllDialogs 2023-04-24 22:03:03 +02:00
Wizou ee2f0bfee1 added Document.GetAttribute<> helpers, setters on Input* classes and more 2023-04-23 14:35:08 +02:00
Wizou acb7ff1d74 Layer 158: chat wallpapers, enhanced chat folders/lists & switch-inline, edit bot infos, ... 2023-04-21 18:02:13 +02:00
Wizou 24a46206e1 api doc 2023-04-21 16:33:04 +02:00
Wizou 22e64ea3ee added some helpers 2023-04-21 16:31:57 +02:00
Wizou d53dc5f07c Support IDictionary in CollectUsersChats (#137) 2023-04-09 14:14:56 +02:00
Wizou 2f79411fce Support IDictionary in CollectUsersChats (closes #137)
Renamed UserID => UserId due to discrepancy
2023-04-08 16:32:19 +02:00
Wizou ddfa095f1a api doc 2023-04-08 16:26:33 +02:00
Wizou 9af6404eff Now throwing WTException. Class hierarchy is TL.RpcException : WTelegram.WTException : ApplicationException 2023-04-02 13:44:23 +02:00
Wizou 621a88bb9f Fix cache_time type 2023-04-02 00:06:26 +02:00
Wizou 81870b2de1 API Layer 156: some email login stuff 2023-03-26 17:59:15 +02:00
Wizou b307534078 api doc 2023-03-24 16:57:54 +01:00
Wizou 2f3106fe69 MainUsername property on IPeerInfo 2023-03-16 13:43:18 +01:00
Wizou fd9177f805 API Layer 155: timestamp of reactions 2023-03-09 22:41:07 +01:00
Wizou b63829393e Don't raise ReactorError for alt DCs 2023-03-09 22:32:57 +01:00
Wizou c646cac738 API Layer 154: bot app/webview stuff, modifying stickers... 2023-03-08 20:47:10 +01:00
Wizou 22ea4c6de8 update doc 2023-03-08 20:10:09 +01:00
Wizou 86796ebf0c Correctly dispose session store on ctor exception (#128) 2023-02-26 17:09:45 +01:00
Wizou 5d0fd6452f Added helpers AnalyzeInviteLink & GetMessageByLink 2023-02-17 19:31:01 +01:00
Wizou 514015639d ToString use MainUsername rather than username 2023-02-15 18:42:52 +01:00
Wizou 7948dbd8e3 Remove deprecated CollectAccessHash system 2023-02-14 11:14:17 +01:00
Wizou b5d7ef311d Small change to support Firebase SMS 2023-02-13 11:29:02 +01:00
Wizou bf7207fa7d Support for Firebase SMS 2023-02-05 15:43:49 +01:00
Wizou f86291117f API Layer 152: emoji pfp, autosave medias, auto-translations, media permissions, Firebase... 2023-02-04 10:36:19 +01:00
Wizou 66d8b75463 deprecate the experimental CollectAccessHash system 2023-01-12 01:37:12 +01:00
Wizou 8f10df8849 made Peer.UserOrChat as protected internal to be user-overridable 2023-01-09 13:22:35 +01:00
Wizou 014f563b89 added Channel.MainUsername helper | simplified GetAllChats example 2023-01-07 13:22:40 +01:00
Wizou 750dbef33b default value for offset_topic arg 2023-01-06 13:29:33 +01:00
Wizou 8098f36932 API Layer 151: media spoiler flag, personal profile photo, UpdateUser... 2022-12-29 22:33:28 +01:00
Wizou 7fa4051e99 Changed the ordering of optional parameters: Moved bool parameters to the end of parameter list 2022-12-29 22:28:58 +01:00
Wizou 389f110cfb Helper simplified method for Channels_GetAdminLog 2022-12-19 14:14:17 +01:00
Wizou e7ec282ac1 Signal wrong use of some params[] methods 2022-12-12 10:07:31 +01:00
Wizou aa9c4b532c Improved documentation 2022-12-12 10:07:07 +01:00
Wizou eb2577beed Upgrade to layer 150: Anti-Spam, web/contact tokens, chat TTL, hide topics, Fragment login 2022-12-07 13:36:49 +01:00
Wizou 231bf632e2 Custom emoji Markdown/Html syntax updated for tdlib compatibility
- Markdown: ![x](tg://emoji?id=...)
- Html: <tg-emoji emoji-id="...">
Previous syntaxes are still accepted
Also, changed Github examples links with ts=4
2022-12-05 20:32:32 +01:00
Wizou 42be950896 Alt DC disconnection logged as simple warning 2022-12-02 01:42:39 +01:00
Wizou 76d75a6035 implicit Input* operators for Wallpaper, EncryptedChat, PhoneCall, Theme, GroupCall 2022-11-26 23:10:06 +01:00
Wizou a8d6656c05 Using Github pages. Added User.IsBot helper 2022-11-26 14:16:52 +01:00
Wizou 898523346b build fix | Upgrade to layer 149: More Topics stuff 2022-11-23 14:28:25 +01:00
Wizou 11238550d3 Upgrade to layer 149: More Topics stuff 2022-11-23 14:18:07 +01:00
Wizou fd593b429a InputPeer.ID & MessageBase.ToString helpers.
Publish pre-releases on nuget now
2022-11-20 17:15:57 +01:00
Wizou adf6134911 Doc/Rationalize user/chat generic helpers 2022-11-19 02:03:48 +01:00
Wizou 2047154d26 doc 2022-11-15 16:20:00 +01:00
Wizou 61510465d2 Fix immediate crash 🤦🏻‍♂️ 2022-11-13 00:25:56 +01:00
Wizou fe5773ce29 Add release notes in Description too 2022-11-12 20:02:46 +01:00
Wizou ba523f7d21 Releasing 3.1.1 2022-11-12 19:40:34 +01:00
Wizou 6b3fcdb967 Trying to add ReleaseNotes in nuget package 2022-11-11 01:47:37 +01:00
Wizou a038be87af Improved Secret Chats:
Support layer 144 : big documents, silent
(layer not yet supported by other clients)
List of ISecretChat with detailed properties
Fix PFS issue losing a message...
2022-11-11 00:33:29 +01:00
Wizou 8fa00a8cc6 Support for bare methods in session 2022-11-08 17:06:16 +01:00
Wizou d9b137d41c added User.MainUsername to help with multiple usernames 2022-11-05 23:01:38 +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 b902b33558 updated docs (and reordered Examples.md) 2022-11-01 18:44:01 +01:00
Wizou d64c5c0c1e closes #103: files incorrectly padded to nearest 16 bytes 2022-10-26 17:33:06 +02:00
Wizou 49969e46cf xmldoc 2022-10-26 15:14:29 +02:00
Wizou 1a3cde4241 Replaced *Default & *None structures with null 2022-10-26 14:26:22 +02:00
Wizou cc9cf16f8a ToInputChatPhoto helper 2022-10-25 20:07:43 +02:00
Wizou 517fab89bb ReadHistory helper 2022-10-25 10:34:53 +02:00
Wizou b9587e3997 Added SecretChats.DownloadFile and media.MimeType to simplify download & decryption 2022-10-20 23:12:43 +02:00
Wizou 82d852e071 optimized PQFactorize 2022-10-16 11:49:16 +02:00
Wizou d18b3853e1 Various minor improvements 2022-10-14 11:20:21 +02:00
Wizou 2e84061b4d Login: warning on phone_number mismatch 2022-10-13 10:07:46 +02:00
Wizou 88d54eb5a6 make SendAlbumAsync accept list too 2022-10-12 23:25:15 +02:00
Wizou fdc05e5514 Login failed: CancelCode but don't make things worse 2022-10-10 21:55:56 +02:00
Wizou e4b2cdd2c1 Fix ReactorError during InvokeBare 2022-10-08 15:06:36 +02:00
Wizou e51ea2441e DownloadFileAsync support for !CanSeek streams (like AES_IGE_Stream) 2022-10-07 11:24:08 +02:00
Wizou f22990cb58 Support for Encrypted Files/Medias 2022-10-07 03:00:57 +02:00
Wizou c6adeb1f31 Secret Chats example 2022-10-05 18:36:43 +02:00
Wizou b05d238c94 Secret Chats protocol implementation 2022-10-05 02:17:04 +02:00
Wizou 79097cdf8d some more optimizations 2022-10-04 00:52:44 +02:00
Wizou a45cd0f44e various optimizations 2022-10-01 13:56:43 +02:00
Wizou 3784ad00ad TL abstract => virtual props 2022-09-29 11:53:41 +02:00
Wizou ec0285077e xmldoc of recent layers 2022-09-25 19:21:00 +02:00
Wizou f3f1b37b85 _saltChangeCounter is now in seconds 2022-09-24 15:34:31 +02:00
Wizou 10c159b2d3 implicit operator InputDialogPeer from InputPeer 2022-09-24 15:30:43 +02:00
Wizou 280bc3c411 Alternative/simplified constructor & login method 2022-09-20 17:30:32 +02:00
Wizou 9523ca4036 Support premium emojies in Html/Markdown helpers 2022-09-19 22:28:12 +02:00
Wizou faf8ab3fd0 Upgrade to layer 146: Invoice extended media 2022-09-14 18:33:33 +02:00
Wizou 1ed10d99af Support for login email registration (still experimental) 2022-09-14 18:29:07 +02:00
Wizou 11a9ca8631 more 'params' arguments 2022-09-14 18:22:52 +02:00
Wizou b1649839d9 Support multiple Test DC connections 2022-09-11 15:34:38 +02:00
Wizou 26942d33f2 No changes, documentation 2022-09-10 18:23:01 +02:00
Wizou a071c993d5 MessageMedia.ToInputMedia helper 2022-09-04 15:24:59 +02:00
Wizou 3f3ff4cb9b Upgrade to layer 145: Emoji/reactions/stickerset stuff, email verification 2022-09-02 23:47:51 +02:00
Wizou 222d24c9a6 updated Intellisense / doc 2022-09-02 23:02:44 +02:00
Wizou 983c9a4c6b Safety check on bareRpc <-> unencrypted 2022-08-30 15:15:43 +02:00
Wizou ace31a3213 Reset _bareRpc too 2022-08-29 02:37:30 +02:00
Wizou 97bd76cf0f Minor code cleaning 2022-08-13 01:20:53 +02:00
Wizou f1448ac517 minor documentation update 2022-08-12 21:19:10 +02:00
Wizou 9b7e4293d8 Removed compatibility with legacy (pre-2.0.0) session files 2022-08-11 19:39:18 +02:00
Wizou 46c3cf3d9a Fix crash on null OnUpdate 2022-08-06 13:06:46 +02:00