Skip to main content
Module

x/mtkruto/mod.ts>SearchMessagesParams

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