Akulij
|
a905325a52
|
update user in db from telegram user info
|
2025-04-27 23:55:45 +03:00 |
|
Akulij
|
345ea66f8e
|
fix cargo warnings
|
2025-04-27 23:04:58 +03:00 |
|
Akulij
|
82045a39a9
|
create BotController
|
2025-04-27 23:01:40 +03:00 |
|
Akulij
|
b318e3ec8e
|
use DB::init function instead of manual connection and migration
|
2025-04-27 21:04:34 +03:00 |
|
Akulij
|
403e06f542
|
call db migration on init
|
2025-04-26 00:28:47 +03:00 |
|
Akulij
|
a765dce328
|
use MongodbStorage
|
2025-04-26 00:28:19 +03:00 |
|
Akulij
|
08167143aa
|
migrate db to mongodb from diesel(postgres)
|
2025-04-25 22:44:50 +03:00 |
|
Akulij
|
e2d2cebed8
|
cargo fmt
|
2025-04-25 21:05:54 +03:00 |
|
Akulij
|
a940ef5e83
|
move towards generefication of DB implementation
|
2025-04-22 22:51:54 +03:00 |
|
Akulij
|
b6ae5170a4
|
add support for media group in user configurable messages
|
2025-04-21 22:45:30 +03:00 |
|
Akulij
|
a2f135ccda
|
feature: add support for video in user configurable messages
|
2025-04-21 20:23:09 +03:00 |
|
Akulij
|
5492beec41
|
add support for photo in message
|
2025-04-18 14:51:22 +03:00 |
|
Akulij
|
ffb2b8b7fe
|
fix warnings of unused dependencies
|
2025-04-18 12:56:54 +03:00 |
|
Akulij
|
412a54d647
|
cargo fmt
|
2025-04-10 20:55:32 +09:00 |
|
Akulij
|
1006fbe5c1
|
fix: request first_name in user creation db function
it is required column in table
|
2025-04-10 20:46:23 +09:00 |
|
Akulij
|
a9919a9307
|
handle edit command in any case
|
2025-04-10 20:12:15 +09:00 |
|
Akulij
|
4a37792c0c
|
change edit_msg_handler logic for more extensibility
|
2025-04-10 20:06:52 +09:00 |
|
Akulij
|
2bac30e711
|
create callback_handler
|
2025-04-10 19:27:31 +09:00 |
|
Akulij
|
a58fca01f9
|
fix: ask only for chat_id instead of whole message in answer_message in
case of generalization
|
2025-04-10 02:34:41 +09:00 |
|
Akulij
|
089ef3218c
|
move out message answer into function
|
2025-04-10 02:18:28 +09:00 |
|
Akulij
|
cca87da403
|
cargo fmt
|
2025-04-08 01:13:49 +09:00 |
|
Akulij
|
98be2b0f7d
|
display event buttons
|
2025-04-08 01:12:35 +09:00 |
|
Akulij
|
e9a44a221d
|
add test events on init
|
2025-04-08 01:11:45 +09:00 |
|
Akulij
|
2bad5d79c7
|
cargo add chrono_tz
|
2025-04-08 00:47:13 +09:00 |
|
Akulij
|
8e3ebc936c
|
cargo fmt
|
2025-04-06 17:58:29 +09:00 |
|
Akulij
|
d74e691009
|
implement bot message editing feature
|
2025-04-06 17:58:05 +09:00 |
|
Akulij
|
c977500ee4
|
rustfmt
|
2025-04-03 22:51:32 +09:00 |
|
Akulij
|
7777aadf6a
|
create edit msg handler
|
2025-04-03 22:06:58 +09:00 |
|
Akulij
|
d7d67536ce
|
remove unused import
|
2025-04-03 05:05:15 +09:00 |
|
Akulij
|
d886a2459f
|
move out command handler to separate function
|
2025-04-03 05:03:04 +09:00 |
|
Akulij
|
5cadb2bd76
|
rustfmt
|
2025-04-03 04:57:46 +09:00 |
|
Akulij
|
30117624c4
|
move out secret command to admin file
|
2025-04-03 04:56:08 +09:00 |
|
Akulij
|
9e95935ddc
|
move out admin commands to admin file
|
2025-04-03 04:53:16 +09:00 |
|
Akulij
|
87601f172a
|
create deop command
|
2025-04-03 04:47:43 +09:00 |
|
Akulij
|
e2e42c8676
|
rename make_admin function into set_admin with flag
|
2025-04-03 04:37:44 +09:00 |
|
Akulij
|
cc6d13136a
|
test pin message feature
|
2025-04-03 04:34:29 +09:00 |
|
Akulij
|
b858b802fd
|
add secret command handler
|
2025-04-03 04:33:02 +09:00 |
|
Akulij
|
66ac460d80
|
use async db connection
|
2025-04-03 03:24:00 +09:00 |
|
Akulij
|
51bc75c8a0
|
extend message handling
|
2025-04-03 02:31:16 +09:00 |
|
Akulij
|
8692e88d2c
|
make simple echo with message format support
|
2025-04-02 22:43:31 +09:00 |
|
Akulij
|
d53c00a943
|
use bot token from config
|
2025-03-30 18:17:03 +08:00 |
|
Akulij
|
668e6c53e6
|
init config from env
|
2025-03-30 18:15:56 +08:00 |
|
Akulij
|
30fe746bfd
|
add env config
|
2025-03-30 18:15:45 +08:00 |
|
Akulij
|
0d0225741f
|
init dotenv
|
2025-03-30 18:12:58 +08:00 |
|
Akulij
|
1ef73af37b
|
return result error on main function
|
2025-03-30 18:04:26 +08:00 |
|
Akulij
|
13d66bc41a
|
create basic telegram bot
|
2025-03-30 18:01:05 +08:00 |
|
Akulij
|
cd3bd52d9d
|
Init rust project
|
2025-03-30 17:46:40 +08:00 |
|