method ApiMethods.approveSuggestedPost
ApiMethods.approveSuggestedPost(args: { chat_id: number; message_id: number; send_date?: number; }): true

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

Parameters

args: { chat_id: number; message_id: number; send_date?: number; }

Return Type

true

Usage

import { type ApiMethods } from "types";