aKode 0.3.1: Shift+Tab a tre modalità e topic di Telegram più puliti

- Shift+Tab: default, plan, accesso completo (preset di /permissions,
  saltato se i requisiti non lo permettono; uscendo tornano i permessi
  di prima). Modalità sotto il riquadro di scrittura, a sinistra, e in
  /stato su Telegram.
- Telegram: topic creato al primo turno; sessioni chiuse senza turni
  perdono il topic, le altre diventano «(chiusa)» con nuovi tentativi;
  topic di «Nuova chat» assegnati con i pulsanti, i comandi lì ricevono
  risposta nella chat principale; pulizia all'avvio.
- Versione 0.3.1 e novità nel README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-12 12:46:19 +01:00
parent b04b36fa53
commit 973acc59c9
80 changed files with 1430 additions and 417 deletions

View File

@@ -401,6 +401,12 @@ impl TelegramApi {
self.call_unit("editForumTopic", body).await
}
/// Deletes a topic with all its messages (supergroups and private chats).
pub async fn delete_forum_topic(&self, chat_id: i64, thread: i64) -> Result<(), ApiError> {
let body = json!({ "chat_id": chat_id, "message_thread_id": thread });
self.call_unit("deleteForumTopic", body).await
}
/// Streams a partial message (a temporary preview, replaced by the next message).
pub async fn send_message_draft(
&self,