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
: numberPts, see updates.
ptsLimit
: number or undefinedPts limit
ptsTotalLimit
: number or undefinedFor 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
: numberDate, see updates.
qts
: numberQts, see updates.
qtsLimit
: number or undefinedQts limit