decline_suggested_post()¶
- Client.decline_suggested_post()¶
Use this method to decline a suggested post in a direct messages chat.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat.message_id (
int) – Identifier of a suggested post message to decline.comment (
str, optional) – Comment for the creator of the suggested post, 0-128 characters.
- Returns:
bool– True on success.
Example
await app.decline_suggested_post(chat_id, message_id, "I don't like this picture!")