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.