Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method AbstractTelegramClient.prototype.markAsRead
import { AbstractTelegramClient } from "https://deno.land/x/grm@0.5.2/src/client/abstract_telegram_client.ts";

Parameters

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

Returns

Promise<boolean>