FlorianDahn
4336ff1681
Session Updates
2020-12-04 17:19:11 +01:00
FlorianDahn
c2e33da277
Adding SaveSessionState to SessionBase
...
Feature request: https://github.com/MajMcCloud/TelegramBotFramework/issues/2
2020-11-22 23:15:31 +01:00
FlorianDahn
259fa54236
Update ModalDialog.cs
...
- Adding await keyword
2020-11-03 23:52:35 +01:00
FlorianDahn
97fea333f7
Update ConfirmDialog.cs
...
- adding additional checks to ConfirmDialog
- adding AutoCloseOnClick property, to close this modal form after button click
2020-11-03 20:38:36 +01:00
FlorianDahn
e1b31b0b9a
Update PromptDialog.cs
...
- adding additional checks to promptdialog
2020-11-03 20:38:07 +01:00
FlorianDahn
f24c309f63
Update DeviceSession.cs
...
- adding ParseMode to Edit functions
- adding a Send method which the parameter of the DeviceId
2020-10-22 22:14:40 +02:00
FlorianDahn
ba9fd8062c
Update PromptDialog.cs
...
- added ReceivedMessage for further use
2020-10-20 19:11:04 +02:00
FlorianDahn
b37c31f2bd
Update BotBase.cs
...
- Bugfix, Unhandled actions has been producing a loop
2020-10-20 19:10:30 +02:00
FlorianDahn
2c34a178ee
Update DeviceSession.cs
...
- adding caption parameter
2020-10-12 23:16:42 +02:00
FlorianDahn
2f030f3c12
Updates to ButtonGrid
...
- adding IsNavigationBarVisible property to ButtonGrid
- adding SubHeadLayout row for column "descriptions" like a table design
- uses FilterDuplicate with ByRow enabled to keep the full row on matches
2020-10-05 14:24:34 +02:00
FlorianDahn
a364562fd3
Update ButtonForm.cs
...
- Modifying FilterDuplicate to allow full row filter or not
This will keep only the matches, or the full row where it matches.
2020-10-05 14:22:47 +02:00
FlorianDahn
8ef8733a2b
Update DeviceSession.cs
...
- Adding the name parameter to SendPhoto methods
- Adding caption parameter to SendVideo methods
2020-10-05 14:21:57 +02:00
FlorianDahn
049b2081ec
Update SessionBase.cs
...
Use of Fallback form has been missed in Session loading. Added now.
2020-09-15 23:46:30 +02:00
FlorianDahn
48b76a84be
Update SessionBase.cs
...
- improving handling for Sessions loading with no default constructors available.
2020-09-15 16:42:40 +02:00
FlorianDahn
31c8231b2d
Adding NavigationBarVisibility property to hide/show navigation buttons auto/never/always
2020-09-15 16:38:36 +02:00
FlorianDahn
e9504f3b36
Update ButtonForm.cs
...
- adding method for adding one single button row
- fix for ToList method if no buttons are available
2020-09-15 16:36:54 +02:00
FlorianDahn
8592f4279d
Update ButtonGrid.cs
...
Fix "Page 1 of 0" when no rows are existing.
2020-09-08 15:32:04 +02:00
FlorianDahn
46e65faf31
Adding Enum deserialization
...
Fixing issue in SessionBase where it does not correctly deserialize Enum's
2020-09-05 02:08:19 +02:00
FlorianDahn
193a4811bf
Simplifiy AutoCleanForm
...
Improving serialization by replacing the message with just the ID
2020-09-05 02:07:48 +02:00
FlorianDahn
82469cff70
- Adding not about search feature
2020-08-30 20:48:44 +02:00
Florian Dahn
81eafe1219
Merge pull request #1 from JTOne123/master
...
[PR] The proj files have been updated to enable SourceLink
2020-08-09 17:25:00 +02:00
FlorianDahn
183e89c36f
Adding paging/search example
2020-08-09 17:22:19 +02:00
FlorianDahn
ad6cf9539c
Adding filter functionality to ButtonGrid
...
Adding filter functionality
2020-08-09 17:00:04 +02:00
FlorianDahn
46576eb819
Update ButtonForm.cs
...
adding method to create a ButtonForm duplicate and filter the single buttons, used for ButtonGrid
2020-08-09 16:59:25 +02:00
FlorianDahn
cf9e2285f1
Adding DynamicButton for Button with dynamic Text updates
...
For use, call the ButtonGrid.Updated() method
2020-07-25 15:11:15 +02:00
FlorianDahn
ecfacdadbb
Update AssemblyInfo.cs
2020-07-25 15:09:01 +02:00
FlorianDahn
c00c2e8d8f
Update DeviceSession.cs
...
- adding Unban method
2020-07-25 15:08:55 +02:00
FlorianDahn
bfd905d590
Update TelegramBotBase.csproj
2020-07-25 15:08:41 +02:00
FlorianDahn
7b1bf75dde
Update ToggleButton
...
- adding ChangedString variable for custom message
2020-07-25 15:08:22 +02:00
FlorianDahn
7a7a65c3a7
Update FormBase.cs
...
- adding RemoveAllControls method
2020-07-25 15:07:36 +02:00
Pavlo Datsiuk
8a42a861cf
[COMMIT] The proj files have been updated to enable SourceLink [TelegramBotBase.csproj]
2020-06-25 15:54:40 +03:00
FlorianDahn
47876681e0
IgnoreState and SaveState addings for better session serialization
...
- adding IgnoreState to all ModalDialogs to prevent them get saved.
- adding SaveState to AutoCleanForm to keep state
- change OldMessages property of AutoCleanForm to public
2020-05-07 23:49:08 +02:00
FlorianDahn
9314b4c0e5
Update ButtonGrid.cs
...
- Fix for async event timings, button click got sometimes fired after Render event
2020-05-06 20:56:38 +02:00
FlorianDahn
dfa479d409
Fix in StateMachines
2020-05-04 15:18:48 +02:00
FlorianDahn
07dec0dc9d
Small fixes and clarifications
2020-05-04 02:20:16 +02:00
FlorianDahn
2fc16b18da
DefaultStateForm
...
- adding DefaultStateForm to redirect Sessions after reloading Sessions to a different Form instead of "restart" the session (i.e. on an in Bot wizard you just want to let the user continue on the main menu)
- adding to SaveSessions to save the "main menu" instead of skipping the ignored form
2020-05-04 02:12:50 +02:00
FlorianDahn
5e87d00c58
Localization updates
...
- small localization updates
- correction in enumration from safe to save
2020-04-21 21:50:59 +02:00
FlorianDahn
efe5fef7d0
Adding setting for automated session serialization on shutdown
...
- adding automated session serialization on application ending (console or shutdown/logoff)
- adding console class for managing system events
2020-04-21 21:45:21 +02:00
FlorianDahn
eebb5cb6f5
Create eSettings.cs
...
- adding eSettings enumeration
2020-04-21 21:44:01 +02:00
FlorianDahn
992065d289
Update BotBase.cs
...
- improving system settings for bot
2020-04-21 21:43:25 +02:00
FlorianDahn
1acfeb873f
Buttongrid Paging support and Localization updates
...
- adding Paging functionality to ButtonGrid
- adding localization for ButtonGrid
2020-04-21 21:40:47 +02:00
FlorianDahn
2c3e707673
Session serialization update
...
- updating Session serialization for using new method GetChatTitle() to get the chat title for debugging purposes
- removing unncessary use of getting the chat title at every call (improving performance)
2020-04-15 20:30:42 +02:00
FlorianDahn
ef667d12d8
Update DeviceSession.cs
...
- adding EditReplyMarkup to Device methods
- adding GetChatTitle method to get easier the name of a chat/group/channel
- some cleanup
2020-04-15 20:27:46 +02:00
FlorianDahn
d24f8e7ac5
Localizations
...
- adding localizations in english and german for default controls
- updating default controls
2020-04-15 20:26:39 +02:00
FlorianDahn
e5dc3fd2bc
Update ButtonForm.cs
...
- adding a Duplicate function
- improving Count property
- adding InsertButtonRow methods
- adding a dictionary property to get all buttons in a specific row
2020-04-15 20:23:39 +02:00
FlorianDahn
a1b3b9246b
Update BotBase.cs
...
fixing new command handling
2020-04-11 19:42:24 +02:00
FlorianDahn
25a0ff2e3e
Update BotCommandEventArgs.cs
...
updating documentation
2020-04-11 19:41:56 +02:00
FlorianDahn
b74233d66d
Update BotBase.cs
...
Small fix
2020-04-11 19:24:31 +02:00
FlorianDahn
fb7b624ad8
BotCommands and refactoring
...
- refactoring SystemCalls to BotCommand (due new Telegram Bot update)
- Adding UploadBotCommands method to BotBase
- refactoring and simplifying BotBase constructors
- adding getBotCommands and SetBotCommands to MessageClient
2020-04-11 19:12:34 +02:00
FlorianDahn
eb61d40a38
-Projectfile update
2020-04-09 15:32:48 +02:00