Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/client/0_params.ts>GetChatsParams

Cross-runtime JavaScript library for building Telegram clients
Latest
interface GetChatsParams
import { type GetChatsParams } from "https://deno.land/x/mtkruto@0.6.3/client/0_params.ts";

Properties

optional
from: "main" | "archived"

The chat list to get the chats from. Defaults to main.

optional
after: ChatListItem

The last chat to get chats after.

optional
limit: number

The maximum number of results to return. Must be in the range of 1-100. Defaults to 100.