Raw.messages.SetDefaultHistoryTTL

Raw.messages.SetDefaultHistoryTTL

Changes the default value of the time-to-live setting, applied to all new chats.

messages.setDefaultHistoryTTL#9eb51445 period:int = Bool;
export namespace Raw {
  export namespace messages {
    export class SetDefaultHistoryTTL {
      constructor(params: { period: number }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x9eb51445

Property

  • period : number

    The new default time-to-live of all messages sent in new chats.

Results

boolean