mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Add icon
This commit is contained in:
@@ -269,7 +269,10 @@ async fn get_download_keyboard_handler(
|
|||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|item| -> Vec<InlineKeyboardButton> {
|
.map(|item| -> Vec<InlineKeyboardButton> {
|
||||||
vec![InlineKeyboardButton {
|
vec![InlineKeyboardButton {
|
||||||
text: item.clone(),
|
text: {
|
||||||
|
let label = item.clone();
|
||||||
|
format!("📥 {label}")
|
||||||
|
},
|
||||||
kind: InlineKeyboardButtonKind::CallbackData(
|
kind: InlineKeyboardButtonKind::CallbackData(
|
||||||
(DownloadQueryData::DownloadData {
|
(DownloadQueryData::DownloadData {
|
||||||
book_id: book.id,
|
book_id: book.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user