Layer 224
constructor
todoCompletion#221bb5e4 id:int completed_by:Peer date:int = TodoCompletion;

Parameters

Name Type Description
Id int The ID of the completed item.
CompletedBy Peer ID of the user that completed the item.
Date int When was the item completed.

Returns

TodoCompletion

Gogram Example

// Creating TodoCompletionObj constructor
obj := &tg.TodoCompletionObj{
    Id: 42,
    CompletedBy: &tg.Peer{},
    Date: 42,
}