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

x/grm/src/mod.ts>message._MessagesIter

MTProto API Client for Deno 🦕
Go to Latest
class message._MessagesIter
extends RequestIter
import { message } from "https://deno.land/x/grm@0.8.0/src/mod.ts";
const { _MessagesIter } = message;

Properties

optional
addOffset: number
optional
entity: Api.TypeInputPeer
optional
lastId: number
optional
maxId: number
optional
minId: number
optional
request:
| Api.messages.SearchGlobal
| Api.messages.GetReplies
| Api.messages.GetHistory
| Api.messages.Search

Methods

_init(unnamed 0: MessageIterParams)
_messageInRange(message: CustomMessage)
_updateOffset(lastMessage: CustomMessage, response: any)
[Symbol.asyncIterator](): AsyncIterator<Api.Message, any, undefined>