Switched to teloxide 0.13

This commit is contained in:
2024-08-17 12:48:50 +03:00
parent 14b858808d
commit 374a9d91c7
29 changed files with 163 additions and 108 deletions

View File

@@ -6,7 +6,7 @@ pub async fn menu(
db: Pool,
locale: LocaleRef,
) -> crate::Result<()> {
let user_id = msg.from().ok_or(NoUserInfo)?.id.0;
let user_id = msg.from.as_ref().ok_or(NoUserInfo)?.id.0;
let markup = menu_markup("get", user_id, &db).await?;