Commit graph

67 commits

Author SHA1 Message Date
Wizou fb8d1c2d07 Some more implicit Input conversions 2023-10-09 15:19:03 +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 e8b0bb9245 ActiveUsernames helpers
Github action telegram-api
2023-05-17 11:45:06 +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 35c492de4f moved IsGroup IsChannel up to ChatBase 2023-04-25 20:47:57 +02:00
Wizou ee2f0bfee1 added Document.GetAttribute<> helpers, setters on Input* classes and more 2023-04-23 14:35:08 +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 2f3106fe69 MainUsername property on IPeerInfo 2023-03-16 13:43:18 +01:00
Wizou 514015639d ToString use MainUsername rather than username 2023-02-15 18:42:52 +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 389f110cfb Helper simplified method for Channels_GetAdminLog 2022-12-19 14:14:17 +01:00
Wizou aa9c4b532c Improved documentation 2022-12-12 10:07:07 +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 fd593b429a InputPeer.ID & MessageBase.ToString helpers.
Publish pre-releases on nuget now
2022-11-20 17:15:57 +01:00
Wizou d9b137d41c added User.MainUsername to help with multiple usernames 2022-11-05 23:01:38 +01: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 b9587e3997 Added SecretChats.DownloadFile and media.MimeType to simplify download & decryption 2022-10-20 23:12:43 +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 10c159b2d3 implicit operator InputDialogPeer from InputPeer 2022-09-24 15:30:43 +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 1ffbca1b51 coherent null behaviour for UserOrChat helpers 2022-06-25 17:05:27 +02:00
Wizou b1c8d225f2 implicit InputStickerSet from string shortName 2022-06-17 15:12:50 +02:00
Wizou 8898308d9c Upgrade to layer 143: Premium features (long file_size, transcribed audio, chat mgmt...), advanced invoice/purchase, bot attach menu... 2022-06-15 01:58:44 +02:00
Wizou 2a250ab39f added GetMessages helper and InputMessageID implicit operator 2022-05-20 14:54:07 +02:00
Wizou 9753b2b385 UpdateShortMessage.UpdateList correctly handle Flags.out_ 2022-05-13 23:16:48 +02:00
Wizou 9aa97d341a Upgrade to layer 140: Ringtones/Sounds, Custom bot menu, ... 2022-04-13 16:02:02 +02:00
Wizou a54cc92618 ctor for Input User/Channel with mandatory access_hash parameter 2022-03-27 22:26:57 +02:00
Wizou c2f228f7de ctor for Input User/Channel with mandatory access_hash parameter 2022-03-27 12:18:43 +02:00
Wizou 073056c079 added InputUserBase.UserId helper property 2022-03-23 13:50:43 +01:00
Wizou b31c9b4366 Split TL.Schema.cs and TL.Helpers.cs 2022-03-21 21:25:30 +01:00
Wizou a178d4be6f easier access to Document filename 2022-02-24 17:12:52 +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 6646e85e78 more optional parameters. Messages_Search<> helper 2022-02-13 02:50:10 +01:00
Wizou e1023ecae6 renamed longitude long_ to lon. UserOrChat now returns null instead of throwing if peer unknown (shouldn't happen anyway). UserOrChat on UpdatesBase 2022-01-29 16:47:47 +01:00
Wizou 12850182ff fix #25: possible NullReferenceException with Document.LargestThumbSize
fix undisposed FileStream on broken session file.
2022-01-26 11:08:33 +01:00
Wizou 3730cdc7f0 Added helper SendAlbumAsync, and implicit operators/constructors for media 2022-01-20 02:44:43 +01:00
Wizou 8d70f241ad ChatFull Participants helpers 2022-01-18 15:24:04 +01:00
Wizou c93481189a added HtmlToEntities and HtmlText.Escape 2022-01-12 02:54:59 +01:00
Wizou d6d656c8fe Support for TLS MTProxy 2022-01-11 04:14:23 +01:00
Wizou 0c1785596d various minor stuff 2022-01-07 00:24:47 +01:00
Wizou 88d2491db9 MarkdownToEntities: spoiler with ||
see https://core.telegram.org/bots/api/#markdownv2-style
2021-12-31 12:10:28 +01:00