7 Commits

Author SHA1 Message Date
Akulij
509f767b1f create CallbackInfo.new_with_literal method
reason: CallbackInfo with literal and without created in completly
differrent usecases, so it will be easier to code with differrent
functions instead of passing Option each time
2025-05-01 14:53:14 +03:00
Akulij
28cffdde16 create literal field in CallbackInfo
reason: to get used literal of button,
for e.g. to edit literals by clicking buttons
2025-05-01 14:50:34 +03:00
Akulij
f3ec4188bb add created_at field to CallbackInfo 2025-04-30 14:37:12 +03:00
Akulij
58a16a5927 make CallbackInfo::store to consume self and return 2025-04-29 19:51:54 +03:00
Akulij
a00c0017bb create CallbackInfo::get_callback method 2025-04-29 19:51:17 +03:00
Akulij
48bb7b133b make DbError a custom error type to handle internal errors 2025-04-29 19:50:42 +03:00
Akulij
078e2fd62a create CallbackInfo and its tests 2025-04-29 17:37:20 +03:00