TodoItem

class pyrogram.types.TodoItem

Represents a single item in a to-do list.

Parameters:
  • id (int) – Unique identifier of the to-do item.

  • text (str) – The text content of the to-do item.

  • completed_by (User, optional) – The user who completed this item.

  • completed_date (datetime, optional) – When the item was completed.

  • is_completed (bool, optional) – Whether this item is completed.