telegramx.js

UnpinChatMessageParams

interface

Declaration

interface UnpinChatMessageParams 

Properties

business_connection_id?: string;

Unique identifier of the business connection on behalf of which the message will be unpinned

chat_idproperty#
chat_id: number | string;

Unique identifier for the target chat or username of the target channel in the format

message_idproperty#
message_id?: number;

Identifier of the message to unpin. Required if business_connection_id is specified. If not specified, the most recent pinned message (by sending date) will be unpinned.