conversation_handlers module

async conversation_handlers.start_command(update, context)[מקור]

Handle /start and show the main menu.

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_help_page(update, context, page=1)[מקור]

מציג עמוד עזרה עם כפתורי ניווט

Return type:

int

פרמטרים:
async conversation_handlers.start_repo_zip_import(update, context)[מקור]

מצב ייבוא ZIP של ריפו: מבקש לשלוח ZIP ומכין את ה-upload_mode.

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.start_zip_create_flow(update, context)[מקור]

מתחיל מצב יצירת ZIP: המשתמש שולח כמה קבצים ואז לוחץ »סיום«.

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_by_repo_menu(update, context)[מקור]

מציג תפריט קבוצות לפי תגיות ריפו ומאפשר בחירה.

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_by_repo_menu_callback(update, context)[מקור]

גרסת callback להצגת תפריט ריפו (עריכת ההודעה הנוכחית).

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_all_files(update, context)[מקור]

מציג את כל הקבצים השמורים עם ממשק אינטראקטיבי מתקדם

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_large_files_direct(update, context)[מקור]

הצגת קבצים גדולים ישירות מהתפריט הראשי

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_github_menu(update, context)[מקור]

הצגת תפריט GitHub

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_all_files_callback(update, context)[מקור]

גרסת callback של show_all_files - מציגה תפריט בחירה בין סוגי קבצים

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_regular_files_callback(update, context)[מקור]

הצגת קבצים רגילים בלבד

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_regular_files_page_callback(update, context)[מקור]

מעבר בין עמודים בתצוגת »הקבצים השמורים שלך«

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.share_single_by_id(update, context, service, file_id)[מקור]

שיתוף קובץ יחיד לפי ObjectId בשירות מבוקש (gist/pastebin).

Return type:

int

פרמטרים:
async conversation_handlers.handle_duplicate_callback(update, context)[מקור]

טיפול בכפתורי הכפילות

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_file_menu(update, context)[מקור]

תפריט קובץ מתקדם עם אפשרויות רבות

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_view_file(update, context)[מקור]

הצגת קוד עם אפשרויות מתקדמות

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_edit_code(update, context)[מקור]

התחלת עריכת קוד

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.receive_new_code(update, context)[מקור]

קבלת הקוד החדש לעריכה

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_edit_name(update, context)[מקור]

התחלת עריכת שם קובץ

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_edit_note(update, context)[מקור]

התחלת עריכת הערה (description) מתצוגת רשימה עם אינדקס

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.receive_new_name(update, context)[מקור]

קבלת השם החדש לקובץ

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_versions_history(update, context)[מקור]

הצגת היסטוריית גרסאות

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_download_file(update, context)[מקור]

הורדת קובץ

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_delete_confirmation(update, context)[מקור]

אישור מחיקת קובץ

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_delete_file(update, context)[מקור]

מחיקת קובץ סופית

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_file_info(update, context)[מקור]

הצגת מידע מפורט על קובץ

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_view_direct_file(update, context)[מקור]

הצגת קובץ באמצעות שם קובץ ישיר

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_edit_code_direct(update, context)[מקור]

התחלת עריכת קוד באמצעות שם קובץ ישיר

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_edit_name_direct(update, context)[מקור]

התחלת עריכת שם קובץ באמצעות שם קובץ ישיר

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_edit_note_direct(update, context)[מקור]

עריכת הערה (description) עבור קובץ בשמו הישיר

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_callback_query(update, context)[מקור]

מרכז בקרה מתקדם לכל הכפתורים

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.cancel(update, context)[מקור]

ביטול מתקדם

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

conversation_handlers.get_save_conversation_handler(db)[מקור]

יוצר ConversationHandler מתקדם וחכם

Return type:

ConversationHandler

פרמטרים:

db (DatabaseManager)

async conversation_handlers.handle_view_version(update, context)[מקור]

הצגת קוד של גרסה מסוימת

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_revert_version(update, context)[מקור]

שחזור הקובץ לגרסה מסוימת על ידי יצירת גרסה חדשה עם תוכן ישן

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_preview_button(update, context)[מקור]

טיפול בכפתור »תצוגה מקדימה«

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_autocomplete_button(update, context)[מקור]

טיפול בכפתור »אוטו-השלמה«

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.handle_batch_button(update, context)[מקור]

טיפול בכפתור »עיבוד Batch« - מציג תפריט בחירת קטגוריה

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_batch_menu(update, context)[מקור]

תפריט בחירת קטגוריה עבור עיבוד Batch

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_batch_repos_menu(update, context)[מקור]

תפריט בחירת ריפו לעיבוד Batch

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.show_batch_files_menu(update, context, page=1)[מקור]

מציג רשימת קבצים בהתאם לקטגוריה שנבחרה לבחירה (הכל או בודד)

Return type:

int

פרמטרים:
async conversation_handlers.show_batch_zips_menu(update, context, page=1)[מקור]

מציג רשימת קבצי ZIP שמורים (גיבויים/ארכיונים) עבור Batch

Return type:

int

פרמטרים:
async conversation_handlers.show_batch_actions_menu(update, context)[מקור]

תפריט פעולות לאחר בחירת קטגוריה/ריפו

Return type:

int

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async conversation_handlers.execute_batch_on_current_selection(update, context, action)[מקור]

מבצע את פעולת ה-Batch על קבוצת היעד שנבחרה

Return type:

int

פרמטרים: