TodoCompletion

class pyrogram.raw.types.TodoCompletion

A completed todo list » item.

Constructor of TodoCompletion.

Details:
  • Layer: 223

  • ID: 221BB5E4

Parameters:
  • id (int 32-bit) – The ID of the completed item.

  • completed_by (Peer) – ID of the user that completed the item.

  • date (int 32-bit) – When was the item completed.

TL Schema

todoCompletion#221bb5e4
id:int
completed_by:Peer
date:int

= TodoCompletion

Parameter Tree

TodoCompletion
├── idint
├── completed_byPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
└── dateint

Example

TodoCompletion(
    id=0,
    completed_by=PeerUser(user_id=0),
    date=0,
)