Documentation - v0.32.2
    Preparing search index...

    Function approveSuggestedPost

    • Approve a post suggested to a channel via its direct messages chat

      Parameters

      • client: ITelegramClient
      • params: InputMessageId & { scheduleDate?: number | Date; shouldDispatch?: true }
        • OptionalscheduleDate?: number | Date

          Date when the post should be published, if it wasn't chosen by the suggester. Must be between stars_suggested_post_future_min and stars_suggested_post_future_max seconds in the future (see client.appConfig). When passing a number, a UNIX time in ms is expected.

        • OptionalshouldDispatch?: true

          Whether to dispatch the updates caused by this action to the client's update handler.

      Returns Promise<void>