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

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

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

Parameters

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

Returns

Promise<boolean>