Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>messages_getSavedHistory_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_getSavedHistory_
extends Function_<enums.messages.Messages>
import { messages_getSavedHistory_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Returns saved messages » forwarded from a specific peer

Constructors

new
messages_getSavedHistory_(params: { peer: enums.InputPeer; offset_id: number; offset_date: number; add_offset: number; limit: number; max_id: number; min_id: number; hash: bigint; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
add_offset: number

Number of list elements to be skipped, negative values are also accepted.

hash: bigint
limit: number

Number of results to return

max_id: number

If a positive value was transferred, the method will return only messages with IDs less than max_id

min_id: number

If a positive value was transferred, the method will return only messages with IDs more than min_id

offset_date: number

Only return messages sent before the specified date

offset_id: number

Only return messages starting from the specified message ID

peer: enums.InputPeer

Target peer

Static Properties

__F: (params: { peer: enums.InputPeer; offset_id: number; offset_date: number; add_offset: number; limit: number; max_id: number; min_id: number; hash: bigint; }) => enums.messages.Messages
readonly
[name]: string
readonly
[paramDesc]: ParamDesc