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

x/grm/src/client/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.5.1/src/client/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

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