Raw.messages.GetSavedHistory
Returns saved messages forwarded from a specific peer
messages.getSavedHistory#3d9a414d peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
export namespace Raw {
export namespace messages {
export class GetSavedHistory {
constructor(params: {
peer: Raw.TypeInputPeer;
offsetId: number;
offsetDate: number;
addOffset: number;
limit: number;
maxId: number;
minId: number;
hash: bigint;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x3d9a414d
Property
peer
: Raw.TypeInputPeerTarget peer
offsetId
: numberOnly return messages starting from the specified message id
offsetDate
: numberOnly return messages sent before the specified date
addOffset
: numberNumber of list elements to be skipped, negative values are also accepted.
limit
: numberNumber of results to return
maxId
: numberIf a positive value was transferred, the method will return only messages with ids less than maxId
minId
: numberIf a positive value was transferred, the method will return only messages with ids more than minId
hash
: bigintResult hash