Interface ApproveSuggestedPost

Approves a suggested post in a channel direct messages chat. Request type for Tdjson#approveSuggestedPost.

interface ApproveSuggestedPost {
    @type: "approveSuggestedPost";
    chat_id: number;
    message_id: number;
    send_date: number;
}

Properties

@type: "approveSuggestedPost"
chat_id: number

Chat identifier of the channel direct messages chat.

message_id: number

Identifier of the message with the suggested post. Use messageProperties.can_be_approved to check whether the suggested post can be approved.

send_date: number

Point in time (Unix timestamp) when the post is expected to be published; pass 0 if the date has already been chosen.