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

x/grm/client/mod.ts>message.markAsRead

MTProto API Client for Deno 🦕
Latest
function message.markAsRead
import { message } from "https://deno.land/x/grm@0.8.2/client/mod.ts";
const { markAsRead } = message;

Parameters

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

Returns

Promise<boolean>