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

x/grm/src/mod.ts>client.TelegramClient#markAsRead

MTProto API Client for Deno 🦕
Go to Latest
method client.TelegramClient.prototype.markAsRead
import { client } from "https://deno.land/x/grm@0.6.0/src/mod.ts";
const { TelegramClient } = client;

Parameters

entity: Api.TypeEntityLike
optional
message: Api.TypeMessageIDLike | Api.TypeMessageIDLike[]
optional
markAsReadParams: types.MarkAsReadParams

Returns

Promise<boolean>