Raw.updates.GetChannelDifference
Returns the difference between the current state of updates of a certain channel and transmitted.
updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
export namespace Raw {
export namespace updates {
export class GetChannelDifference {
constructor(params: {
force?: boolean;
channel: Raw.TypeInputChannel;
filter: Raw.TypeChannelMessagesFilter;
pts: number;
limit: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x3173d78
Property
force
: boolean or undefinedSet to true to skip some possibly unneeded updates and reduce server-side load
channel
: Raw.TypeInputChannelThe channel
filter
: Raw.TypeChannelMessagesFilterMesssage filter
pts
: numberPersistent timestamp (see updates)
limit
: numberHow many updates to fetch, max 100000ordinary (non-bot) users are supposed to pass 10-100
Results
Raw.updates.TypeChannelDifference