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

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

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

Properties

optional
from: ID

If set, only messages sent by from are returned.

optional
filter: MessageSearchFilter

A search filter to apply.

optional
after: number

A message identifier to start searching after.

optional
threadId: number

The identifier of a message thread to search in.

optional
limit: number

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