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

x/grm/src/mod.ts>client.TelegramClient#unpinMessage

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

Parameters

entity: Api.TypeEntityLike
optional
message: undefined
optional
pinMessageParams: types.UpdatePinMessageParams

Returns

Promise<Api.messages.AffectedHistory>

Parameters

entity: Api.TypeEntityLike
message: Api.TypeMessageIDLike
optional
pinMessageParams: types.UpdatePinMessageParams

Returns

Promise<undefined>