Commit graph

73 commits

Author SHA1 Message Date
Wizou 9693037ef2 Added missing DownloadFileAsync(doc, videoSize) 2025-10-31 00:31:30 +01:00
Wizou 4875f75774 API Layer 216: topics methods/updates moved to prefix Messages_* (to support topics for bots), contact notes, groupcall comments, profile color, stargifts stuff 2025-10-31 00:27:32 +01:00
Wizou 610d059b4c Fix: Messages_Search helper parameter name
Some checks failed
Dev build / build (push) Has been cancelled
2025-10-03 13:09:33 +02:00
Wizou 3f1036a559 Fix #335 GetAllDialogs infinite loop when last dialogs' messages are unavailable
Some checks failed
Dev build / build (push) Has been cancelled
2025-09-26 13:34:58 +02:00
Wizou eb52dccfa7 Helper OpenChat to monitor a group/channel without joining (#333)
Some checks failed
Dev build / build (push) Has been cancelled
2025-08-27 00:18:34 +02:00
Wizou a9bbdb9fc4 Try to improve diagnostics/handling of weird email login case (#331) 2025-08-27 00:06:30 +02:00
Wizou fa90e236e7 Helpers to download animated photos (DownloadFileAsync + photo.LargestVideoSize) 2025-06-29 16:42:27 +02:00
Wizou f495f59bc8 Use media DC for uploads 2025-04-02 05:58:04 +02:00
Wizou e6dde32538 Fix Messages_GetAllChats to include only your chats 2025-01-28 13:46:06 +01:00
Wizou d8f7304067 Fix broken SendAlbumAsync+InputMediaDocumentExternal 2025-01-02 00:20:16 +01:00
Wizou f1c1d0a6a2 Added helpers Message.ReplyHeader .TopicID. Fix duplicate pinned in Channels_GetAllForumTopics 2024-11-02 22:54:20 +01:00
Wizou 3d0de9ef9f added helper method Channels_GetAllForumTopics 2024-11-02 00:14:23 +01:00
Wizou e758e9136c Fix issue with incomplete ForwardMessagesAsync 2024-10-26 17:32:40 +02:00
Wizou cb8bcb5b8b Fix MTProxy broken since HTTP support 2024-10-25 01:35:17 +02:00
Wizou 9a4643ecef added helper method ForwardMessagesAsync 2024-10-24 23:57:26 +02:00
Wizou a19db86c1d Support for connecting to Telegram via on-demand HTTP requests instead of permanent TCP connection: client.HttpMode (experimental) 2024-09-30 02:15:10 +02:00
Wizou 4f9accdfc8 SendAlbumAsync: For bots, upload external url natively instead of fetching via HttpClient 2024-09-23 00:21:14 +02:00
Wizou dcfd89c2a8 AnalyzeInviteLink: hacky detection of request_needed/join_request for basic chat links 2024-09-21 19:39:41 +02:00
Wizou 9712233c00 Process Downloads really on media DCs, including for the main dc_id (fix #261) 2024-07-20 02:13:56 +02:00
Wizou c8a0882587 Fix: ReactorError wasn't always triggered correctly on connection lost 2024-05-28 00:37:58 +02:00
Wizou 1a4b606216 API Layer 177: more business stuff, new profile infos, revenue stats 2024-04-05 14:14:39 +02:00
Wizou 1d00dc2f9b minor change 2024-03-19 11:48:45 +01:00
Wizou 8eb5b29d97 using primary constructors, and more [] syntax 2024-03-08 12:07:37 +01:00
Wizou b5ca3fcc0e Fix SendAlbumAsync videoUrlAsFile. using [] syntax 2024-03-08 11:52:30 +01:00
Wizou 33f239fc8e Improved GetMessageByLink (topics, cache) 2024-02-25 03:09:49 +01:00
Wizou 0ad7d696a5 DownloadFileAsync: don't use stream.Position if !CanSeek 2024-02-01 21:24:49 +01:00
Wizou 7c65ce70ec api doc 2023-12-05 01:13:19 +01:00
Wizou b6c98658db OnOwnUpdate handler can be used to intercept Updates replies to your API calls 2023-11-30 16:06:37 +01:00
Wizou 35fab21493 SendAlbumAsync now sets caption on first media instead of last 2023-11-26 23:33:09 +01:00
Wizou 9209d792a5 - InputMediaUploadedDocument ctor accept attributes
- SendMediaAsync: MP4 file or "video" mime type is now sent as streamable video
- SendAlbumAsync: External videos URL are now sent as streamable videos by default

(streamable videos might lack thumbnail if too big for client auto-download)
2023-11-25 19:16:51 +01:00
Wizou 35f2f2530a SendMessageAsync preview param changed to support above/below/disabled 2023-11-17 18:37:22 +01:00
Wizou df2b2a7907 API Layer 166: colors/emoji, new quotes, new link previews, distant replies, invert_media, premium boosts/giveaway/gifts...
see https://t.me/tginfoen/1760
2023-10-28 23:47:04 +02:00
Wizou 136df62b8f UploadFileAsync: just get rid of MD5 altogether. It works just fine 🤷🏻‍♂️ 2023-10-24 17:33:25 +02:00
Wizou 4a1b2f5f91 Fix #197: wrong MD5 encoding in UploadFileAsync 2023-10-24 17:05:39 +02:00
Wizou c059ebf208 UploadFileAsync now supports Stream with unknown Length (!CanSeek) 2023-10-19 23:57:45 +02:00
Wizou fb8d1c2d07 Some more implicit Input conversions 2023-10-09 15:19:03 +02:00
Wizou 88e2f5d71e detect wrong usage of GetMessages 2023-10-04 19:17:49 +02:00
Wizou 38efb05923 API Layer 162: more stories & blocking stuff... 2023-09-06 18:29:50 +02:00
Wizou c872a51a31 API Layer 160: Stories & more... 2023-07-21 10:52:46 +02:00
Wizou d50ac0ba51 - Fix Messages_GetAllDialogs (MessageEmpty)
- Fix AnalyzeInviteLink (public channel with join request)
- Added Contacts_ResolvedPeer.Channel property
closes #166
2023-06-27 16:00:55 +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 5adde27f88 new TLS client hello generation 2023-04-29 16:45:03 +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 2f79411fce Support IDictionary in CollectUsersChats (closes #137)
Renamed UserID => UserId due to discrepancy
2023-04-08 16:32:19 +02:00
Wizou 9af6404eff Now throwing WTException. Class hierarchy is TL.RpcException : WTelegram.WTException : ApplicationException 2023-04-02 13:44:23 +02:00
Wizou 5d0fd6452f Added helpers AnalyzeInviteLink & GetMessageByLink 2023-02-17 19:31:01 +01:00
Wizou 7948dbd8e3 Remove deprecated CollectAccessHash system 2023-02-14 11:14:17 +01:00