Layer 227
constructor
updatePeerHistoryTTL#bb9bb9a5 flags:# peer:Peer ttl_period:flags.0?int = Update;

Parameters

Name Type Description
Peer Peer The chat
TtlPeriod flags .0? int The new Time-To-Live

Returns

Update

Gogram Example

// Creating UpdatePeerHistoryTtl constructor
obj := &tg.UpdatePeerHistoryTtl{
    Peer: &tg.Peer{},
    TtlPeriod: nil,
}