Raw.updates.GetDifference

Raw.updates.GetDifference

Get new updates.

updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
export namespace Raw {
  export namespace updates {
    export class GetDifference {
      constructor(params: {
        pts: number;
        ptsLimit?: number;
        ptsTotalLimit?: number;
        date: number;
        qts: number;
        qtsLimit?: number;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x19c2f763

Property

  • pts : number

    Pts, see updates.

  • ptsLimit : number or undefined

    Pts limit

  • ptsTotalLimit : number or undefined

    For fast updating: if provided and pts + ptsTotalLimit < remote pts, updates.differencetoolong will be returned.simply tells the server to not return the difference if it is bigger than ptsTotalLimitif the remote pts is too big (> ~4000000), this field will default to 1000000

  • date : number

    Date, see updates.

  • qts : number

    Qts, see updates.

  • qtsLimit : number or undefined

    Qts limit

Results

Raw.updates.TypeDifference

Bots can use