method ApiMethods.declineSuggestedPost
ApiMethods.declineSuggestedPost(args: { chat_id: number; message_id: number; comment?: string; }): true

Use this method to decline a suggested post in a direct messages chat. The bot must have the 'can_manage_direct_messages' administrator right in the corresponding channel chat. Returns True on success.

Parameters

args: { chat_id: number; message_id: number; comment?: string; }

Return Type

true

Usage

import { type ApiMethods } from "types";