import { messages_search_ } from "https://deno.land/x/mtkruto@0.1.157/tl/3_functions.ts";
Search for messages.
Constructors
new
messages_search_(params: { peer: enums.InputPeer; q: string; from_id?: enums.InputPeer; saved_peer_id?: enums.InputPeer; saved_reaction?: Array<enums.Reaction>; top_msg_id?: number; filter: enums.MessagesFilter; min_date: number; max_date: number; offset_id: number; add_offset: number; limit: number; max_id: number; min_id: number; hash: bigint; })Properties
protected
readonly
[params]: ParamsIf a positive value was transferred, only messages with a sending date smaller than the transferred one will be returned
If a positive value was transferred, only messages with a sending date bigger than the transferred one will be returned
User or chat, histories with which are searched, or (inputPeerEmpty) constructor to search in all private chats and normal groups (not channels) ». Use messages.searchGlobal to search globally in all chats, groups, supergroups and channels.
Search within the saved message dialog » with this ID.
Static Properties
__F: (params: { peer: enums.InputPeer; q: string; from_id?: enums.InputPeer; saved_peer_id?: enums.InputPeer; saved_reaction?: Array<enums.Reaction>; top_msg_id?: number; filter: enums.MessagesFilter; min_date: number; max_date: number; offset_id: number; add_offset: number; limit: number; max_id: number; min_id: number; hash: bigint; }) => enums.messages.Messages
readonly
[paramDesc]: ParamDesc