Commit graph

32 commits

Author SHA1 Message Date
Wizou 345f10971b using [] syntax 2024-03-08 11:33:18 +01:00
Wizou 7feb4a40ec updated "Program_ListenUpdates" example 2023-05-27 18:05:24 +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 8098f36932 API Layer 151: media spoiler flag, personal profile photo, UpdateUser... 2022-12-29 22:33:28 +01:00
Wizou 8fa00a8cc6 Support for bare methods in session 2022-11-08 17:06:16 +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 f1448ac517 minor documentation update 2022-08-12 21:19:10 +02:00
Wizou 3e1506d0a7 Throw exception if calling API without connecting first. 2022-08-01 19:06:31 +02:00
Wizou 668b19e3e8 Renamed Update event to OnUpdate, returning Task
(to gracefully handle async exceptions)
2022-07-29 15:24:18 +02:00
Wizou 33a2fb02c1 minor changes 2022-06-14 00:58:51 +02:00
Wizou 74f22a2f5c added Heroku examples with database store 2022-03-28 12:41:28 +02:00
Wizou 78d7e250f3 added Messages_GetAllDialogs. UserOrChat(null) returns null 2022-02-27 22:06:13 +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 0667d36ed8 updated example Programs.cs 2022-02-13 03:15:23 +01:00
Wizou 2982e09c9b use static variables in Program_ListenUpdates 2022-02-10 02:28:32 +01:00
Wizou 51a89bc6a1 change Dictionary of UserBase into Dictionary of User 2021-12-25 03:20:22 +01:00
Wizou bafe3c56bd make example programs static 2021-12-03 10:16:01 +01:00
Wizou f0ae44c088 More helpers that simplify the handling of Updates 2021-11-09 03:00:03 +01:00
Wizou dbcb6814ff renamed ITLObject to IObject 2021-11-07 16:52:58 +01:00
Wizou c9ccaf2d17 More helpers (reordered), notably UserOrChat 2021-10-23 01:37:50 +02:00
Wizou af79bfa873 IPeerInfo, IsActive and Dialogs helpers 2021-10-22 15:26:46 +02:00
Wizou 718e96a763 chats and users fields are now serialized as Dictionary for easier access 2021-10-20 19:12:50 +02:00
Wizou 80edb184bc Removed DisplayName in favor of ToString() for User classes 2021-10-17 03:16:51 +02:00
Wizou 98a95376f3 Improved examples documentation 2021-10-13 00:27:40 +02:00
Wizou 4f9fbfc12c A null config value for "verification_code" will show a console prompt. This allows Environment.GetEnvironmentVariable to be used directly as config callback. 2021-10-11 14:44:49 +02:00
Wizou 2520a57f20 ToString for SendMessageAction 2021-10-06 02:41:54 +02:00
Wizou d4c373d95f Nullable ctor: Empty classes are now converted into/from a null value. This simplifies the hierarchy 2021-09-30 03:40:08 +02:00
Wizou 2ff0de667d More class inheritance 2021-09-27 00:39:30 +02:00
Wizou e3b70fda19 BREAKING CHANGE: Introducing inheritAfter which allows for better/simplified (but possibly changed) class hierarchy generation.
Also improved layers class generation.
2021-09-26 05:07:17 +02:00
Wizou ca1c1ce8de TL Helpers for MessageBase + Example of use of Messages_GetDialogs 2021-09-25 02:13:06 +02:00
Wizou 77a44a86a6 Upgrade to layer 133 2021-09-17 04:38:42 +02:00
Wizou dcd384ed27 Update callback is now void (or async void)
Added ListenUpdates example
2021-09-05 01:08:16 +02:00