We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a1ec7d commit a3de563Copy full SHA for a3de563
1 file changed
handlers/admin.py
@@ -55,8 +55,8 @@ async def sugerirNoticia(update: Update, context: ContextTypes.DEFAULT_TYPE):
55
noticia_id = noticia.id
56
keyboard = [
57
[
58
- InlineKeyboardButton("Aceptar", callback_data=f"Noticia|{noticia_id}|1"),
59
- InlineKeyboardButton("Rechazar", callback_data=f"Noticia|{noticia_id}|0")
+ InlineKeyboardButton("Aceptar", callback_data=f"Noticia|{noticia_id}|1", style="success"),
+ InlineKeyboardButton("Rechazar", callback_data=f"Noticia|{noticia_id}|0", style="danger")
60
]
61
62
reply_markup = InlineKeyboardMarkup(keyboard)
0 commit comments