updates.GetDifference
- class pyrogram.raw.functions.updates.GetDifference
Get new updates.
- Details:
Layer:
223ID:
19C2F763
- Parameters:
pts (
int32-bit) – PTS, see updates.date (
int32-bit) – date, see updates.qts (
int32-bit) – QTS, see updates.pts_limit (
int32-bit, optional) – PTS limitpts_total_limit (
int32-bit, optional) – For fast updating: if provided and pts + pts_total_limit < remote pts, updates.differenceTooLong will be returned.Simply tells the server to not return the difference if it is bigger than pts_total_limitIf the remote pts is too big (> ~4000000), this field will default to 1000000qts_limit (
int32-bit, optional) – QTS limit
- Returns:
TL Schema
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
Parameter Tree
GetDifference
├── pts →
int├── pts_limit →
int (optional)├── pts_total_limit →
int (optional)├── date →
int├── qts →
int└── qts_limit →
int (optional)Example
await app.invoke(
GetDifference(
pts=0,
pts_limit=0,
pts_total_limit=0,
date=0,
qts=0,
qts_limit=0,
)
)