telegramx.js

PinChatMessageParams

interface

Declaration

interface PinChatMessageParams 

Properties

business_connection_id?: string;

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

chat_idproperty#
chat_id: number | string;

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

disable_notification?: boolean;

Pass True if it is not necessary to send a notification to all chat members about the new pinned message. Notifications are always disabled in channels and private chats.

message_idproperty#
message_id: number;

Identifier of a message to pin