Raw.UpdatePeerHistoryTTL
The time-to-live for messages sent by the current user in a specific chat has changed
updatePeerHistoryTTL#bb9bb9a5 flags:# peer:Peer ttl_period:flags.0?int = Update;
export namespace Raw {
export class UpdatePeerHistoryTTL {
constructor(params: { peer: Raw.TypePeer; ttlPeriod?: number }) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xbb9bb9a5
Property
peer
: Raw.TypePeerThe chat
ttlPeriod
: number or undefinedThe new time-to-live