Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2.24/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
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.