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

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

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

Parameters

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

Returns

Promise<boolean>