messages.toggleSuggestedPostApproval

Approve or reject a suggested post ».

 Method schema is available as of layer 206. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
reject flags.1?true Reject the suggested post.
peer InputPeer 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).
msg_id int ID of the suggestion message.
schedule_date flags.0?int Custom scheduling date.
reject_comment flags.2?string Optional comment for rejections (can only be used if reject is set).

Result

Updates

Both users and bots can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Monoforum

Telegram supports direct messages to channels, which can also be used to suggest (even paid) channel posts.

Suggested posts

Telegram offers a powerful monetization feature to channel administrators: suggested posts.