Commit graph

46 commits

Author SHA1 Message Date
70846dbe22 Rebranding. 2023-10-22 20:41:01 +03:00
32ec32e8c9 feat: added Update function to the MessageCompo. 2023-10-13 23:27:20 +03:00
0a6e1d4d70 fix: now command description and name cannot be empty making the program
panicing before the bot starts.
2023-10-11 14:45:35 +03:00
6324599eed feat: now the API provides ability to send location on the API itself
level.
2023-10-11 14:20:25 +03:00
dd549d5350 fix: changed implementation of interface Sendable for the file type. 2023-10-11 13:41:08 +03:00
84419940e3 Implemented the escaping function for the Markdown2. 2023-10-05 17:51:24 +03:00
223f8a5b29 Implemented path history to make easier movement between screens. 2023-10-03 14:49:56 +03:00
37cd1d37fd Small fixes and a bit of refactoring. 2023-09-30 09:55:45 +03:00
b39e63cbaa Implemented updating inline keyboards. 2023-09-29 14:53:52 +03:00
47b7c59469 Small fixes to use more intuitive MessageCompo instead of the Compo method for Inline and Reply keyboards. 2023-09-29 13:36:37 +03:00
0aaabff503 Finally implemented at least not stable but working version. 2023-09-27 14:09:49 +03:00
abf080164a Keep implementing the new UI system. 2023-09-26 17:13:31 +03:00
1f52474082 KEEP IMPLEMENTING THE NEW COMPONENT SYSTEM INSTEAD OF OLD WIDGETS. 2023-09-25 23:43:22 +03:00
3913979bc9 ... 2023-09-22 12:59:39 +03:00
4737464273 Added the better reading ability. 2023-09-22 11:17:18 +03:00
908d235cad Added the Go function for the Command structure. 2023-09-21 15:28:06 +03:00
7d149558f9 Finished the node approach to the screens. 2023-09-21 14:54:31 +03:00
061add76a8 Added the Node notation to define paths to screens.. 2023-09-21 12:03:54 +03:00
c96c2a7559 Keep implementing the path-like way for the screens. Should think about renaming the ScreenId to the Path or ScreenPath. 2023-09-21 00:24:42 +03:00
88d4310db5 Implemented the new way of thinking about ScreenIds. As PATHS. 2023-09-20 23:38:29 +03:00
1fc2acbbd6 Great refactoring and rethinking of the Context. 2023-09-20 22:48:35 +03:00
d99ea68198 Fixed location button problems. 2023-09-19 15:21:33 +03:00
5a590a3cd0 Better keyboard definition way with less code. 2023-09-19 14:38:57 +03:00
57f85fdacc Making the widgets more modulable. Needs to be finished. 2023-09-16 14:34:17 +03:00
5e1faf0c44 Added arguments to screen change making it easier to define widget behaviour both for screens and commands. 2023-09-13 12:52:23 +03:00
1d543bf444 Made the root Widget a separate entity. 2023-09-11 16:01:15 +03:00
6c6b041133 Now can automatically set the commands on the user side. 2023-09-11 13:00:38 +03:00
8326ccae1e Rename Value -> Data for the sake of generalisity. 2023-09-11 10:23:04 +03:00
b2ce5fe2ea Re-implemented the customizing by the Widget interface. 2023-09-09 07:28:06 +03:00
5b00189ea2 Great refactoring. Should put more of the handling into the Actions. 2023-09-08 17:37:32 +03:00
b2748a8cee Implemented the PreStart handler. 2023-09-07 15:45:38 +03:00
fc91490c18 Added a global bot value to make it usable with databases etc. 2023-08-19 13:34:21 +03:00
9a1202d777 Globlal refactoring. Less embedded structures making everything more clear. 2023-08-19 12:47:33 +03:00
522b9ada02 A bit more of refactoring and added way to send image files. 2023-08-19 10:19:31 +03:00
b5fbdac972 Renamed tx => tg . 2023-08-19 09:12:26 +03:00
34faec2f8b Fixed "act" declaration outside the handling loop so it is nil on every cycle of the loop. 2023-08-18 14:28:02 +03:00
3f26d2f916 Fixed naming. We do not need the "Arg" thing. 2023-08-18 13:46:10 +03:00
94d8c38dd5 Finally implemented JSON-ing of behaviours. 2023-08-16 17:25:56 +03:00
772adb7b8b Got rid off map of keyboards. 2023-08-15 16:02:14 +03:00
c2562cc54c Implemented basic group behaviour. 2023-08-13 15:37:36 +03:00
bbe076f29a Simplified the NewButton call and implemented location sending handling. 2023-08-12 15:54:05 +03:00
44185e92af Implemented basic command handling. 2023-08-12 14:35:33 +03:00
ee28fcf2f7 Fixed lack of checks for nil. 2023-08-11 11:04:28 +03:00
cd965fd811 Implemented synchronous reading from the client letting us read messages. 2023-08-11 10:41:17 +03:00
fbfa0ec388 Simplified behaviour definition functions. 2023-08-10 15:49:25 +03:00
03a2f60436 Make it public. 2023-08-09 23:20:30 +03:00