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

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
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{},

    // Optional fields:
    // TtlPeriod: 0,
}