teleproto - v1.229.0
    Preparing search index...

    Interface MessagesToggleSuggestedPostApprovalParams

    interface MessagesToggleSuggestedPostApprovalParams {
        msgId: MessageIDLike;
        peer: EntityLike;
        reject?: boolean;
        rejectComment?: string;
        scheduleDate?: number;
    }
    Index
    msgId: MessageIDLike

    ID of the suggestion message.

    peer: EntityLike

    Both for users and channels, must contain the ID of the direct messages monoforum » (for channels, the topic ID is extracted automatically from the msg_id ).

    reject?: boolean

    Reject the suggested post.

    rejectComment?: string

    Optional comment for rejections (can only be used if reject is set).

    scheduleDate?: number

    Custom scheduling date.