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

x/mtkruto/mod.ts>SearchMessagesParams

Cross-runtime JavaScript library for building Telegram clients
Latest
interface SearchMessagesParams
Re-export
import { type SearchMessagesParams } from "https://deno.land/x/mtkruto@0.6.3/mod.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.