Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method tgClient.AbstractTelegramClient.prototype.markAsRead
import { tgClient } from "https://deno.land/x/grm@0.5.4/mod.ts";
const { AbstractTelegramClient } = tgClient;

Parameters

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

Returns

Promise<boolean>