messages.toggleSuggestedPostApproval
Approve or reject a suggested post ».
Approve or reject a [suggested post »](https://core.telegram.org/api/suggested-posts.md).
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
reject | true | لأ | Reject the suggested post. |
peer | InputPeer | أيوه | Both for users and channels, must contain the ID of the [direct messages monoforum »](https://core.telegram.org/api/monoforum.md) (for channels, the topic ID is extracted automatically from the `msg_id`). |
msg_id | int | أيوه | ID of the suggestion message. |
schedule_date | int | لأ | Custom scheduling date. |
reject_comment | string | لأ | Optional comment for rejections (can only be used if `reject` is set). |
الردود
Updates
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.