handlers.file_view module

File View Handler Module

מודול לניהול תצוגת קבצים וקוד בבוט טלגרם.

מודול זה מספק פונקציונליות ל: - הצגת קבצי קוד - עריכת קבצים - ניהול גרסאות - ייצוא קבצים

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

מציג תפריט פעולות עבור קובץ נבחר.

פרמטרים:
  • update – אובייקט Update מטלגרם

  • context (DEFAULT_TYPE) – הקונטקסט של השיחה

Returns:

מצב השיחה החדש

Return type:

int

הערה

מציג אפשרויות כמו הצגה, עריכה, מחיקה ושיתוף

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

Display file content with actions (edit, history, download).

Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_edit_code(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.receive_new_code(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_edit_name(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_edit_note(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.receive_new_name(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_versions_history(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_download_file(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_delete_confirmation(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_delete_file(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_file_info(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_view_direct_file(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_edit_code_direct(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_edit_name_direct(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_edit_note_direct(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_clone(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async handlers.file_view.handle_clone_direct(update, context)[מקור]
Return type:

int

פרמטרים:

context (telegram.ext.ContextTypes.DEFAULT_TYPE)