Layer 227
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 |
|---|---|---|
| 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{}, TtlPeriod: nil, }