Layer 220
UpdatePeerHistoryTtl
The Time-To-Live for messages sent by the current user in a specific chat has changed
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
UpdateGogram Example
// Creating UpdatePeerHistoryTtl constructor obj := &tg.UpdatePeerHistoryTtl{ Peer: &tg.Peer{}, // Optional fields: // TtlPeriod: 0, }