messages.GetSavedHistory#
- class pyrogram.raw.functions.messages.GetSavedHistory#
Returns saved messages forwarded from a specific peer
- Details:
Layer:
214ID:
998AB009
- Parameters:
peer (
InputPeer) – Target peeroffset_id (
int32-bit) – Only return messages starting from the specified message IDoffset_date (
int32-bit) – Only return messages sent before the specified dateadd_offset (
int32-bit) – Number of list elements to be skipped, negative values are also accepted.limit (
int32-bit) – Number of results to returnmax_id (
int32-bit) – If a positive value was transferred, the method will return only messages with IDs less than max_idmin_id (
int32-bit) – If a positive value was transferred, the method will return only messages with IDs more than min_idhash (
int64-bit) – Result hashparent_peer (
InputPeer, optional)
- Returns: